i have postfix.
when i'm trying send email unexisting address postfix generate notification bounce.
i found postfix dsn support: says "what notifications sent: success, failure, delay, or none. normally, postfix informs sender when mail delivery delayed or when delivery fails."
how can enable success notifications?
updated
i found solution (here)
delivery status notification: how work?
sendmail 8.7 has no hook request dsn commandline, can done in esmtp dialogue. quite reasonable, since options (as introduced in sendmail 8.8), barely flexible enough allow (slightly modified rfc):
the key is
rcpt to: notify=success,delay orcpt=rfc822;bob@big-bucks.com
here example of smtp session via telnet:
r: 220 pure-heart.org smtp server here s: ehlo pure-heart.org r: 250-pure-heart.org r: 250-dsn r: 250 size s: mail from:<alice@pure-heart.org> ret=hdrs envid=qq314159 r: 250 <alice@pure-heart.org> sender ok s: rcpt to:<bob@big-bucks.com> notify=success,delay orcpt=rfc822;bob@big-bucks.com r: 250 <bob@big-bucks.com> recipient ok s: rcpt to:<carol@ivory.edu> notify=failure orcpt=rfc822;carol@ivory.edu r: 250 <carol@ivory.edu> recipient ok s: rcpt to:<dana@ivory.edu> notify=success,failure orcpt=rfc822;dana@ivory.edu r: 250 <eric@bombs.af.mil> recipient ok s: rcpt to:<fred@bombs.af.mil> notify=never r: 250 <fred@bombs.af.mil> recipient ok
Comments
Post a Comment