32 |
+#move($original_file, $new_file) or warn "The move operation failed: $!"; |
+#move($original_file, $new_file) or warn "The move operation failed: $!"; |
33 |
+system("/usr/bin/mv $original_file $new_file") == 0 or warn "The move operation failed: $!"; |
+system("/usr/bin/mv $original_file $new_file") == 0 or warn "The move operation failed: $!"; |
34 |
+system("/usr/bin/systemctl start fetchmail.service") if ( $status eq "active"); |
+system("/usr/bin/systemctl start fetchmail.service") if ( $status eq "active"); |
35 |
|
diff -Nur --no-dereference smeserver-fetchmail-1.6.old/root/etc/e-smith/templates/etc/fetchmail/90fetchmail smeserver-fetchmail-1.6/root/etc/e-smith/templates/etc/fetchmail/90fetchmail |
36 |
|
--- smeserver-fetchmail-1.6.old/root/etc/e-smith/templates/etc/fetchmail/90fetchmail 2022-07-28 10:33:25.177000000 -0400 |
37 |
|
+++ smeserver-fetchmail-1.6/root/etc/e-smith/templates/etc/fetchmail/90fetchmail 2022-07-28 11:17:18.575000000 -0400 |
38 |
|
@@ -322,6 +322,7 @@ |
39 |
|
my $size = $db->get_prop('qmail','MaxMessageSize') || '0'; |
40 |
|
my $mdbg='-l' . $size . ' -d0 --silent --syslog'; |
41 |
|
if($Debug eq "YES") { $mdbg='-l' . $size . ' -d0 --verbose --syslog'; } |
42 |
|
+ $mdbg .= " -i /var/lib/fetchmail/.fetchids "; # fix SME: 11979 |
43 |
|
|
44 |
|
my $staticvalue = "/usr/bin/fetchmail $mdbg --fetchmailrc - <<EOF\n" ; |
45 |
|
$staticvalue .= "set postmaster \"postmaster\@$dom\"\n" ; |