email content filter double mail send

piaoling  2018-02-27 16:59:39
add -o receive_override_options=no_address_mappings
smtp      inet  n       -       -       -       -       smtpd
        -o content_filter=spamassassin
	-o receive_override_options=no_address_mappings

https://serverfault.com/questions/18707/postfix-send-double-mail-when-mail-is-forwarded


Most likely you have a content filter and the always_bcc is being called both before and after the content filter. Customise the smtpd either before or after the content filter to include

-o receive_override_options=no_address_mappings

(Note that options in master.cf can't contain spaces).

answered Jun 19 '09 at 4:38
Rob Chanter
42748

For me 'enable_original_recipient = No' in main.cf did the trick.:-)


类别 :  默认(739)  |  浏览(7664)  |  评论(0)
发表评论(评论将通过邮件发给作者):

Email: