-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 9 May 2007, Timo Sirainen wrote:
Oh, right, return_address = NULL also if the address isn't valid. In those cases I think it should return 0, because there just isn't anything to be done. So EX_TEMPFAIL should only be returned if the whole Return-Path: is missing I think.
I don't. Some Postmasters may want to inspect failed DSNs and have set the MTA to do something with bounces. When you return "0" here, the MTA believes that the delivery is _successful_ although it is not. Hence, both the mail and the DSN is lost.
BTW: Would it be possible to return the errno of the failed system call to the MTA via the main() return value? I believe that any MTA will act upon these codes and the postmaster can setup the preferred way handling bounces.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRkGhkS9SORjhbDpvAQKj/ggAxVC1AG8X70+tzFNleWpzpAUd6s7vA6I6 G+A0yWSZt8MUATLqrtLd+kRtvpz3NDb1NhJQrHEd1+ThKBzdiUMPM118/O9sNPku r9BQ4l4Dza51tpexuOVrGxmjyyEC/OJZYaX6f0h/Mbvcsg5Sx7/6wRr8msmjqApi RYR1/CEavfZBroLh5Oa+OT1921Hx8ARDm/k6N2lssUUiC4b6aLx7fhS9RSe9xHUU SLHDAC4Dy/g5A7l0oVTdubwqxC9amft4UofW8XUowBm2zrgBCtwwyaISZhiXHfyu N4GMdbxSsIpNBjkYMfdTemiOwhL/Qhpx/nI/aKMkT7INI/MaHz1xyw== =TiiS -----END PGP SIGNATURE-----