Michael Monnerie wrote:

>>> Can dbmail- smtp loose messages?
>> Only if the disks are full. Remember, dbmail-smtp (pipe) doesn't have
>> a mechanism for telling the MTA what errors might have occurred
>> during delivery.
> 
> Would it write that to syslog or somewhere? I got about 80 errors on 
> stderr which would explain that no e-mails are sent for that messages, 
> but I'm missing a lot more. There's a "-r" option to dbmail-smtp, but 
> that would only send me the 80 messages instead of on stderr, right?

It would report errors in the logs. Reporting to the return-path address 
can only be done if delivery triggers an internal dbmail bounce, which 
may not be the case. If delivery to dbmail-smtp returns a EX_TEMPFAIL or 
EX_UNAVAILABLE value postfix will keep the message in the queue, but any 
other return value will make postfix assume delivery was succesfull.

You should probably fix your script to return either error or simply the 
return value of dbmail-smtp.

Take a look at README_FILTER from the postfix documentation for an 
example for making robust email handling scripts.


-- 
   ________________________________________________________________
   Paul Stevens                                      paul at nfg.nl
   NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
   The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to