----- Original Message ----- 

> From: "Wietse Venema" <wie...@porcupine.org>
> To: "Postfix users" <postfix-users@postfix.org>
> Sent: Monday, July 20, 2015 4:57:43 PM
> Subject: Re: Send a DSN report only to one specified email address


> Postfix implements DSN as specified in RFC 3464. The Postfix
> command-line interface and interaction with VERP are described at
> http://www.postfix.org/DSN_README.html

> You can also use the smtpd_command_filter to force SUCCESS
> notification. The following is based on the examples in
> http://www.postfix.org/postconf.5.html#smtpd_command_filter

> /etc/postfix/main.cf:
> smtpd_command_filter = pcre:/etc/postfix/command_filter

> /etc/postfix/command_filter:
> # Forced success notification
> /^(RCPT\s+TO:\s*<.*>.*)\s+(NOTIFY=NEVER.*)/ $1 $2
> /^(RCPT\s+TO:\s*<.*>.*)\s+NOTIFY=(\S+.*)/ $1 NOTIFY=SUCCESS,$2
> /^(RCPT\s+TO:.*)/ $1 NOTIFY=SUCCESS,FAILURE

Ah, OK, I saw that in some other mailing post from around 2012 
(http://postfix.1071664.n5.nabble.com/Forcing-DSN-generation-without-sendmail-td49270.html#a49273),
 in this post viktor said that if this feature is popular enough, it would 
warrant a parameter on it's own. 

I thought it would be that popular but I guess I was wrong :-). Could you 
consider implementing this feature, it would be more convenient than messing 
with command filters.

Thank you,
Best
Ray


-- 

Reply via email to