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 |
- |