/[smecontribs]/rpms/smeserver-fetchmail/contribs10/smeserver-fetchmail-1.6-bz10289-force_spamcheck_revert.patch
ViewVC logotype

Contents of /rpms/smeserver-fetchmail/contribs10/smeserver-fetchmail-1.6-bz10289-force_spamcheck_revert.patch

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


Revision 1.1 - (show annotations) (download)
Wed Oct 20 23:27:56 2021 UTC (2 years, 6 months ago) by terryfage
Branch: MAIN
CVS Tags: smeserver-fetchmail-1_6-24_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-23_el7_sme, HEAD
* Thu Oct 21 2021 Terry Fage <terry@fage.id.au> 1.6-21.sme
- fix template 60fetchmail force spamcheck [SME: 10289]

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

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