Hello, I am using postfix-2.10.1-6.el7 and set "double_bounce_sender = double - bounce".
Let me question about single bounce and double bounce. · About single bounce Sending to a mail address that does not exist results in a single bounce. The single bounce was recorded in the mail log as shown below. The sender address is empty ("from = <>"), I realize this is a specification, is it correct? Do you want to discard single bounce by default? ------------------------------------ Feb 20 15:59:34 hoge postfix / pickup [3714]: A75EF28D536: uid = 0 from = <root> Feb 20 15:59:34 hoge postfix / cleanup [4098]: A75EF28D536: message-id = < 20190220065934.a75ef28d...@hoge1.example.com> Feb 20 15:59:34 hoge postfix / qmgr [3715]: A75EF28D536: from = < r...@example.com>, size = 464, nrcpt = 1 (queue active) Feb 20 15:59:34 hoge postfix / smtp [4100]: A75EF28D536: to = < bananah...@hoge2.example.com>, relay = hoge2.example.com [xx.xxxxx]: 25, delay = 0.1, delays = 0.04 / 0.01 / 0.03 / 0.02, dsn = 5.1.1, status = bounced (host hoge2.example.com [xx.xxxxx] said: 550 5.1.1 < bananah...@hoge2.example.com>: Recipient address rejected : User unknown in local recipient table (in reply to RCPT TO command)) Feb 20 15:59:34 hoge postfix / cleanup [4098]: B9B 3628 D 539: message-id = <20190220065934.b9b3628d...@hoge1.example.com> Feb 20 15:59:34 hoge postfix / qmgr [3715]: B 9 B 3628 D 539: from = <>, size = 2614, nrcpt = 1 (queue active) Feb 20 15:59:34 hoge postfix / bounce [4101]: A 75 EF 28 D 536: sender non-delivery notification: B 9 B 3628 D 539 Feb 20 15: 59: 34 hoge postfix / qmgr [3715]: A 75 EF 28 D 536: removed Feb 20 15:59:34 hoge postfix / local [4102]: B 9 B 3628 D 539: to = < r...@example.com>, relay = local, delay = 0.02, delays = 0 / 0.01 / 0 / 0.01, dsn = 2.0.0 , status = sent (delivered to maildir) Feb 20 15: 59: 34 hoge postfix / qmgr [3715]: B 9 B 3628 D 539: removed ------------------------------------ · About double bounce I thought that double bounce would be generated by sending mail with a mail address that does not exist as a sender and destination, but the following log was output. ---------------------------------- # vi mail_body HELLO # cat mail_body | sendmail -oi -f hog...@hoge1.example.com hog...@hoge2.example.com Feb 20 16:21:01 hoge postfix/pickup[3714]: 023B228D536: uid=0 from=< hog...@hoge1.example.com> Feb 20 16:21:01 hoge postfix/cleanup[4336]: 023B228D536: message-id=< 20190220072101.023b228d...@hoge1.example.com> Feb 20 16:21:01 hoge postfix/qmgr[3715]: 023B228D536: from=< hog...@hoge1.example.com>, size=303, nrcpt=1 (queue active) Feb 20 16:21:01 hoge postfix/smtp[4338]: 023B228D536: to=< hog...@hoge2.example.com>, relay=hoge2.example.com[xx.x.x.xxx]:25, delay=0.01, delays=0.01/0/0/0, dsn=5.1.1, status=bounced (host hoge2.example.com[xx.x.x.xxx] said: 550 5.1.1 <hog...@hoge2.example.com>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command)) Feb 20 16:21:01 hoge postfix/cleanup[4336]: 0581728D539: message-id=< 20190220072101.0581728d...@hoge1.example.com> Feb 20 16:21:01 hoge postfix/qmgr[3715]: 0581728D539: from=<>, size=2497, nrcpt=1 (queue active) Feb 20 16:21:01 hoge postfix/bounce[4339]: 023B228D536: sender non-delivery notification: 0581728D539 Feb 20 16:21:01 hoge postfix/qmgr[3715]: 023B228D536: removed Feb 20 16:21:01 hoge postfix/local[4340]: 0581728D539: to=< hog...@hoge1.example.com>, relay=local, delay=0, delays=0/0/0/0, dsn=5.1.1, status=bounced (unknown user: "hoge11") Feb 20 16:21:01 hoge postfix/qmgr[3715]: 0581728D539: removed ---------------------------------- When double bounce occurred, I thought that "from = <double- bou...@xxxx.com>" would be output, but as far as I confirmed it was "from = <>". If double bounce occurs, will not "from = <double-bou...@xxxx.com>" appear? Or should I set something? I am waiting for reply. Thank you.