From: Juergen E. <fli...@te...> - 2018-09-29 17:27:36
|
Hi Gene, > I was subjected to a phishing attack yesterday and again today, and it > would have been a lot easier to correlate the messages if fetchmail was > logging the time, preferably the date/time at the end of fetching of > fetching each mail. Something it is not now, and never has done. And I > just reread the man pages without finding a clue. > > How do I enable this so a date/time exists in the fetchmail.log? I'm using the following two commands to log the start and end of request cyle: preconnect "echo 'fetchmail: awakened at '`date +'%a, %d %b %G %H:%M:%S (%Z)'`" postconnect "echo 'fetchmail: sleeping at '`date +'%a, %d %b %G %H:%M:%S (%Z)'` for xxx seconds Further details can be found here: http://www.fetchmail.info/fetchmail-man.html Regards Juergen -- Mail: fli...@te... |