--- rpms/smeserver-fetchmail/contribs10/smeserver-fetchmail-1.6-bz11979-ids.patch 2022/07/28 15:13:34 1.1 +++ rpms/smeserver-fetchmail/contribs10/smeserver-fetchmail-1.6-bz11979-ids.patch 2022/07/28 15:21:50 1.2 @@ -32,3 +32,14 @@ diff -Nur --no-dereference smeserver-fet +#move($original_file, $new_file) or warn "The move operation failed: $!"; +system("/usr/bin/mv $original_file $new_file") == 0 or warn "The move operation failed: $!"; +system("/usr/bin/systemctl start fetchmail.service") if ( $status eq "active"); +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 +--- smeserver-fetchmail-1.6.old/root/etc/e-smith/templates/etc/fetchmail/90fetchmail 2022-07-28 10:33:25.177000000 -0400 ++++ smeserver-fetchmail-1.6/root/etc/e-smith/templates/etc/fetchmail/90fetchmail 2022-07-28 11:17:18.575000000 -0400 +@@ -322,6 +322,7 @@ + my $size = $db->get_prop('qmail','MaxMessageSize') || '0'; + my $mdbg='-l' . $size . ' -d0 --silent --syslog'; + if($Debug eq "YES") { $mdbg='-l' . $size . ' -d0 --verbose --syslog'; } ++ $mdbg .= " -i /var/lib/fetchmail/.fetchids "; # fix SME: 11979 + + my $staticvalue = "/usr/bin/fetchmail $mdbg --fetchmailrc - <