I have fetchmail daemon set to 60 seconds in the fetchmailrc file. However it takes up to 8 minutes and sometimes even more to start fetching.
Here is my fetchmailrc:
set daemon 60 set postmaster "root" set syslog set logfile "/var/log/fetchmail.log" set no bouncemail set spambounce poll pop.gmail.com with proto pop3 user "[email protected]" there with password "mypassword" is root here fetchall no keep no rewrite ssl mda "/usr/bin/procmail -f %F -d %T"; The reason I have to have the time to 60 seconds is because we collect telemetry data (pressure and temperature) from different sites around Africa. The mails are piped to procmail and then sent to MySql. A "realtime" graph is then created and available to our maintenance team.
Waiting longer than a minute or 2 for fetchmail is not really desireable.
Any pointers?