Re: How getmail deals with delivery errors and with bounce e-mails
Charles Cazabon <[email protected]> Thu, 5 Nov 2020 09:37:54 -0600
| Newsgroups | gmane.mail.getmail.user |
|---|---|
| Message-ID | <[email protected]> |
R. Diez <[email protected]> wrote: > > > [...] The common UNIX software practice is to have error messages sent to > > stderr and use a non-zero exit status to alert other programs of issues. > > You did say "and" above, but that is not what getmail does. It writes errors > to stderr and exits with a zero exit status, indicating no trouble, yet it > did not process some e-mails because they failed. getmail should already be exiting nonzero when a delivery error happens. Did you already test this and find differently? Charles -- ----------------------------------------------------------------------- Charles Cazabon GPL'ed software available at: http://pyropus.ca/software/ -----------------------------------------------------------------------