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/ -----------------------------------------------------------------------