From 78174d8f6713cfc7765e9cd23c2e57a274db92da Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Sun, 13 Nov 2022 18:58:29 +0000 Subject: [PATCH] fix fetchmail using wrong arg for pidfile and mixing up state file (-i vs --pidfile) - see https://github.com/postfixadmin/postfixadmin/issues/681 --- ADDITIONS/fetchmail.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADDITIONS/fetchmail.pl b/ADDITIONS/fetchmail.pl index 820cc09a..5711564e 100755 --- a/ADDITIONS/fetchmail.pl +++ b/ADDITIONS/fetchmail.pl @@ -148,7 +148,7 @@ TXT print $file_handler $text; close $file_handler; - $ret=`/usr/bin/fetchmail -f $filename -i $run_dir/fetchmail.pid`; + $ret=`/usr/bin/fetchmail -f $filename --pidfile $run_dir/fetchmail.pid`; unlink $filename;