On Sat, Oct 04, 2003 at 02:48:10PM +1200, Volker Kuhlmann wrote:

> Ah, running fetchmail as root in daemon mode.

Running fetchmail as root scares me.

> Personally, I like some more fine-control over some of the options.

> Running fetchmail via cron has the downside that it doesn't warn if
> mails haven't been retrieved because they were larger than allowed (had
> 2 sitting at the ISP for 2 months before I noticed). Studying the man
> page gives that fetchmail uses the same exit code for "no mail
> retrieved because there wasn't any" and "some mail not retrieved
> because it was too big". This is seriously deficient.

Well, you do have source.  I've had a poke around in the fetchmail
source before[0], and I don't think it would be particularly difficult make
fetchmail return a useful return code on exit.

[0]  The IMAP implementation that Orcon is using (dbmail IMAP v0.9) is
     fairly buggy and some messages cause the IMAP server to report 
     huge (15-16 exabyte) message sizes.  Unfortunately, fetchmail
     itself is full of integer overflows, and the interaction between
     the two causes mail delivery to hang.  I've asked Orcon to upgrade
     to dbmail v1.1, but their helpdesk appears to completely ignore
     users.  I've also tried to send patches to the fetchmail developers
     without much luck.  Time to find a POP/IMAP to SMTP gateway that
     sucks less.

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                [EMAIL PROTECTED]

Reply via email to