> user 'user1' pass 'password1' is rob fetchlimit 3
Sorry, I meant limit - fetchlimit means no more than 3 mails will be
retrieved per poll. You probably want a higher number.
> clearnet webmail and found that the first four messages were spam
> received ages ago but never flushed. Fetchmail must have been ignoring
> these for a while. I deleted them through webmail and fetchmail
> proceeded to download the remaining messages.
>
> I guess this is a trap for using fetchlimit. I'm going to write a script
In daemon mode, fetchmail is supposed to mail warnings about these
things (but I haven't checked whether it indeed does).
-l <maxbytes> | --limit <maxbytes>
rates. In daemon mode, oversize notifications are
mailed to the calling user (see the --warnings
option).
-w <interval> | --warnings <interval>
When you call fetchmail with a `limit' option in
daemon mode, this controls the interval at which
warnings about oversized messages are mailed to the
calling user (or the user specified by the `post�
master' option). One such notification is always
mailed at the end of the the first poll that the
oversized message is detected.
This however only covers oversized msgs. The warning mechanism should be
applied whenever there's mail which can't be retrieved permanently, i.e.
it might not be so good to mail a warning when fetchlimit is reached. If
you happen to check the warning mechanism, please post whether it also
works for other error conditions. fetchmail should generate warnings by
itself, one shouldn't need to have to go through the syslog to find out.
Volker
--
Volker Kuhlmann is possibly list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.