/[smecontribs]/rpms/smeserver-fetchmail/contribs10/smeserver-fetchmail-1.6-bz10538-force_spamcheck_fix.patch
ViewVC logotype

Contents of /rpms/smeserver-fetchmail/contribs10/smeserver-fetchmail-1.6-bz10538-force_spamcheck_fix.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Oct 12 11:01:18 2021 UTC (3 years, 1 month ago) by terryfage
Branch: MAIN
CVS Tags: smeserver-fetchmail-1_6-24_el7_sme, smeserver-fetchmail-1_6-27_el7_sme, smeserver-fetchmail-1_6-22_el7_sme, smeserver-fetchmail-1_6-21_el7_sme, smeserver-fetchmail-1_6-26_el7_sme, smeserver-fetchmail-1_6-25_el7_sme, smeserver-fetchmail-1_6-20_el7_sme, smeserver-fetchmail-1_6-23_el7_sme, HEAD
* Tue Oct 12 2021 Terry Fage <terry@fage.id.au> 1.6-20.sme
- fix template 60fetchmail force spamcheck [SME: 10538]

1 diff -urN smeserver-fetchmail-1.6.old/root/etc/e-smith/templates/var/service/qpsmtpd/config/forcespamcheck/60fetchmail smeserver-fetchmail-1.6/root/etc/e-smith/templates/var/service/qpsmtpd/config/forcespamcheck/60fetchmail
2 --- smeserver-fetchmail-1.6.old/root/etc/e-smith/templates/var/service/qpsmtpd/config/forcespamcheck/60fetchmail 2021-10-12 02:10:13.353193939 -0400
3 +++ smeserver-fetchmail-1.6/root/etc/e-smith/templates/var/service/qpsmtpd/config/forcespamcheck/60fetchmail 2021-10-12 02:12:40.000000000 -0400
4 @@ -1,7 +1,9 @@
5 {
6 - # vim: ft=perl ts=4 sw=4 et:
7 - if ( ( $FetchMails{ status } || "disabled" ) eq "enabled" ) {
8 - $OUT = "\n127.0.0.200\n" ;
9 - }
10 + $OUT = '';
11 + my $status = $fetchmail{status} || 'enabled';
12 + unless ($status eq 'disabled')
13 + {
14 + $OUT = "\n127.0.0.200\n" ;
15 + return;
16 + }
17 }
18 -

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed