Re: SOLVED: getmail 5.6: No deletion of getmail-ed emails anymore

Charles Cazabon <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
[email protected] <[email protected]> wrote:
> 
> solved on my own:
[...] 
> As dovecot-lda send these warnings to STDERR, getmails seems to treat them
> as error and DOES NOT DELETE the getmail-ed msgs anymore.
> 
> Maybe this works as desired/designed, as getmail couldn't be able to
> distinguish an error and a warning, coming from STDERR.

Yes, this is by design.  There are MDAs out there that can fail to deliver a
message but still exit 0 (success), which can cause lost mail.  So getmail is
conservative, and treats an MDA writing to stderr as an error condition, and
won't delete the message.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.