[pkg-fetchmail-maint] Bug#632479: Bug#632479: fetchmail: accept -f and --pidfile option even when background running

Matthias Andree matthias.andree at gmx.de
Sat Jul 2 21:58:55 UTC 2011


Am 02.07.2011 19:52, schrieb Samuel Thibault:
> Package: fetchmail
> Version: 6.3.19-1
> Severity: normal
> 
> Hello,
> 
> I run two fetchmail daemones, one using idle mode for one imap account,
> and one in batch mode for all the other ones.  I'm thus using the -f and
> --pidfile option so that they don't interfere with each other. However,
> I can't trigger the batch one to proceed:
> 
> $ fetchmail -f .fetchmailrc-all --pidfile .fetchmail.pid-all
> fetchmail: can't accept options while a background fetchmail is running.
> 
> Fetchmail should at least accept -f and --pidfile in this case.

Probably.  Meanwhile, you can do this to work around this obstacle:

1. to just wake up the sleeping fetchmail daemon, send a SIGUSR1 signal.
(Documented.)

2. separate the fetchmail configurations into their own directories, and
run at least one with the FETCHMAILHOME variable set.





More information about the pkg-fetchmail-maint mailing list