From: James M. <ji...@so...> - 2020-09-10 20:43:49
|
On 9/10/20 10:36 AM, Dennis Putnam wrote: > Has anyone figured out how to add a timestamp on the fetchmail log > messages to the maillog? TIA > Not that I ever found. My configuration file has these entries as a workaround: set logfile "/path/to/fetchmail.log" poll example.com interval 1 protocol imap username "account_name_of_interest" password "secret" preconnect "echo `date +%Y-%m-%dT%H:%M:%S` <account_name_of_interest> >> /path/to/fetchmail.log ... other stuff ... It does result in an entry for every time fetchmail connects to a server to check for mail even if no mail is available. -- James Moe moe dot james at sohnen-moe dot com 520.743.3936 Think. |