On Wed, Feb 04, 2004 at 01:15:48PM -0000, Aaron Stone wrote: > Based on my reading, I think that DBMail should not generate bounces at all. > Rather, appropriate temporary-failure and permanent-failure return codes > should come from dbmail-smtp and DSN codes from dbmail-lmtpd, along with > additional descriptive text in both cases, and the MTA will do the rest.
I agree that the MTA should handle undeliverable messages. The only problem arises when dbmail-smtp is passed multiple recipients and only some are undeliverable, or, if after alias expansion, some recipients are undeliverable. > If this is the case, I can remove the bounce call from pipe.c right now; I'm > working on refining the delivery chain to produce appropriate error codes for > various failure conditions. Making sure to emit bounce codes for situations > which would have called the bounce() function won't be too hard.