Re: How getmail deals with delivery errors and with bounce e-mails

"Gary R. Schmidt" <[email protected]> Thu, 5 Nov 2020 18:56:50 +1100
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
On 05/11/2020 18:32, R. Diez wrote:
> 
>> I run Getmail from cron (via a timeout controller, because I don't 
>> want multiple instances of Getmail running), it fires up every 15 
>> minutes, if there's a failure I get an email.
>  > [...…]
> 
> Instead of unfairly denigrating me for looking at alternatives and 
> trying to find out what their problems would be, you could do something 
> useful instead, and tell me how you implemented getting an e-mail when 
> getmail fails.
> 
> Because getmail does not do it, it just prints to stderr.
> 
> Specifically, when the /path/to/mymda process fails here:
> 
> [destination]
> type = MDA_external
> path = /path/to/mymda
> 
> Most advice I have seen on the Internet runs something like 
> /usr/lib/dovecot/deliver there. But that is not enough to get an e-mail 
> if delivery fails.
> 
> But I guess it's easier to say I'm Microsoft, right?
> I don't know where you are looking,. but the Getmail documentation on 
MDA_External: 
<http://pyropus.ca/software/getmail/configuration.html#destination-mdaexternal> 
doesn't stop there, the first example is:
	A basic invocation of an external MDA might look like this:

	[destination]
	type = MDA_external
	path = /path/to/mymda
	arguments = ("--log-errors", )

If you don't considerer the Getmail documentation to be canonical for 
Getmail, well, we can't help you.

	Cheers,
		Gary	B-)