fetchmail-friends
[Top] [All Lists]

Re: [fetchmail] how do I timestamp local logfile?

2003-07-12 06:24:00
All we typically see in the logs is:
fetchmail: No mail for cgraigy11 at pop.vip.sc5.yahoo.com
every 5 mins

or:
fetchmail: 1 message for cgraigy11 at pop.vip.sc5.yahoo.com (70522 octets).
fetchmail: reading message cgraigy11(_at_)pop(_dot_)vip(_dot_)sc5(_dot_)yahoo(_dot_)com:1 of 1 (70522 octets) fetchmail: flushed

Here is the fetchmailrc:
defaults
 smtpaddress "dstutz.com"

set postmaster "cgraig"
set bouncemail
set logfile /home/cgraig/fetchmaillog
poll pop.mail.yahoo.com proto pop3
 user "XXXXX" pass "XXXXX" is cgraig
 nokeep
 fetchall

Fetchmail version output:
This is fetchmail release 6.2.2+NLS
Fallback MDA: (none)
Linux erma 2.4.18-27.7.x #1 Fri Mar 14 05:51:23 EST 2003 i686 unknown
Taking options from command line
No mailservers set up -- perhaps /root/.fetchmailrc is missing?

I already see one answer to my question...to use daemon mode. That's the difference between your and his configs. How do you guys kick off the initial fetchmail daemon mode process for the user when the box is started up?

Thanks,
Dave

Ralph Seichter wrote:

This is an excerpt of my log (fetchmail 6.2.2):

fetchmail: awakened at Sat Jul 12 10:08:24 2003
fetchmail: 1 message for foobar at pop.provider.com (5929 octets).
fetchmail: reading message foobar(_at_)pop(_dot_)provider(_dot_)com:1 of 1 (5929 octets) fetchmail: flushed
fetchmail: sleeping at Sat Jul 12 10:09:03 2003

As you can see, date/time stamps are present. What version of
fetchmail are you using and what is in your .fetchmailrc?