about single bounce and double bounce.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

about single bounce and double bounce.

natsu

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 = <[hidden email]>
Feb 20 15:59:34 hoge postfix / qmgr [3715]: A75EF28D536: from = <[hidden email]>, size = 464, nrcpt = 1 (queue active)
Feb 20 15:59:34 hoge postfix / smtp [4100]: A75EF28D536: to = <[hidden email]>, 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 <[hidden email]>: 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 = <[hidden email]>
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 = <[hidden email]>, 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 [hidden email] [hidden email]

Feb 20 16:21:01 hoge postfix/pickup[3714]: 023B228D536: uid=0 from=<[hidden email]>
Feb 20 16:21:01 hoge postfix/cleanup[4336]: 023B228D536: message-id=<[hidden email]>
Feb 20 16:21:01 hoge postfix/qmgr[3715]: 023B228D536: from=<[hidden email]>, size=303, nrcpt=1 (queue active)
Feb 20 16:21:01 hoge postfix/smtp[4338]: 023B228D536: to=<[hidden email]>, 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 <[hidden email]>: 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=<[hidden email]>
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=<[hidden email]>, 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- [hidden email]>" would be output, but as far as I confirmed it was "from = <>". If double bounce occurs, will not "from = <[hidden email]>" appear?
Or should I set something?

I am waiting for reply.
Thank you.

Reply | Threaded
Open this post in threaded view
|

Re: about single bounce and double bounce.

Matus UHLAR - fantomas
On 20.02.19 16:49, natsu wrote:
>I am using postfix-2.10.1-6.el7 and set "double_bounce_sender = double -
>bounce".

your mail is quite hard to read.
it would be great to use mail client that does not random spaces around
dashes, slashes, equal signs etc. and even to queue IDs.
... and does not wrap log lines.

>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?

yes

>Do you want to discard single bounce by default?

yes. They are designed so to avoid endeless mail loops.

>Feb 20 15:59:34 hoge postfix / local [4102]: B 9 B 3628 D 539: to = <
>[hidden email]>, relay = local, delay = 0.02, delays = 0 / 0.01 / 0 /
>0.01, dsn = 2.0.0 , status = sent (delivered to maildir)

horrible...

>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.

>Feb 20 16:21:01 hoge postfix/pickup[3714]: 023B228D536: uid=0 from=<
>[hidden email]>

this is the original mail

>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=<
>[hidden email]>, relay=local, delay=0, delays=0/0/0/0, dsn=5.1.1,
>status=bounced (unknown user: "hoge11")


and this is the bounce from <> to original sender.

>When double bounce occurred, I thought that "from = <double- [hidden email]>"
>would be output, but as far as I confirmed it was "from = <>". If double
>bounce occurs, will not "from = <[hidden email]>" appear?

the double bounce did not occur, at least not in the logs above.

--
Matus UHLAR - fantomas, [hidden email] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux IS user friendly, it's just selective who its friends are...
Reply | Threaded
Open this post in threaded view
|

Re: about single bounce and double bounce.

natsu
Thank you for your reply.

>your mail is quite hard to read.
> it would be great to use mail client that does not random spaces around
> dashes, slashes, equal signs etc. and even to queue IDs.
> ... and does not wrap log lines.

I'm sorry. I will be careful.
Thank you for your reply despite difficulty reading.

> the double bounce did not occur, at least not in the logs above.

I would like to generate double bounce in the verification environment, but how do I do it?
(I thought that double bounce would occur if sending mail with a mail address that does not exist as a sender and a recipient.)

If double bounce occurs, will it be output to the log?
Will not output such as "from = <[hidden email]>"?
If nothing is output, how do you decide whether double bounce occurred?

I am waiting for reply.
Thank you.

2019年2月20日(水) 18:25 Matus UHLAR - fantomas <[hidden email]>:
On 20.02.19 16:49, natsu wrote:
>I am using postfix-2.10.1-6.el7 and set "double_bounce_sender = double -
>bounce".

your mail is quite hard to read.
it would be great to use mail client that does not random spaces around
dashes, slashes, equal signs etc. and even to queue IDs.
... and does not wrap log lines.

>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?

yes

>Do you want to discard single bounce by default?

yes. They are designed so to avoid endeless mail loops.

>Feb 20 15:59:34 hoge postfix / local [4102]: B 9 B 3628 D 539: to = <
>[hidden email]>, relay = local, delay = 0.02, delays = 0 / 0.01 / 0 /
>0.01, dsn = 2.0.0 , status = sent (delivered to maildir)

horrible...

>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.

>Feb 20 16:21:01 hoge postfix/pickup[3714]: 023B228D536: uid=0 from=<
>[hidden email]>

this is the original mail

>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=<
>[hidden email]>, relay=local, delay=0, delays=0/0/0/0, dsn=5.1.1,
>status=bounced (unknown user: "hoge11")


and this is the bounce from <> to original sender.

>When double bounce occurred, I thought that "from = <double- [hidden email]>"
>would be output, but as far as I confirmed it was "from = <>". If double
>bounce occurs, will not "from = <[hidden email]>" appear?

the double bounce did not occur, at least not in the logs above.

--
Matus UHLAR - fantomas, [hidden email] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux IS user friendly, it's just selective who its friends are...
Reply | Threaded
Open this post in threaded view
|

Re: about single bounce and double bounce.

Matus UHLAR - fantomas
On 20.02.19 21:40, natsu wrote:

>Thank you for your reply.
>
>>your mail is quite hard to read.
>> it would be great to use mail client that does not random spaces around
>> dashes, slashes, equal signs etc. and even to queue IDs.
>> ... and does not wrap log lines.
>
>I'm sorry. I will be careful.
>Thank you for your reply despite difficulty reading.
>
>> the double bounce did not occur, at least not in the logs above.
>
>I would like to generate double bounce in the verification environment, but
>how do I do it?
>(I thought that double bounce would occur if sending mail with a mail
>address that does not exist as a sender and a recipient.)
>
>If double bounce occurs, will it be output to the log?
>Will not output such as "from = <[hidden email]>"?
>If nothing is output, how do you decide whether double bounce occurred?

the double bounce should be generated when notify_classes contains "2bounce"
and it will be sent to 2bounce_notice_recipient (which is postmaster by default)

--
Matus UHLAR - fantomas, [hidden email] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"To Boot or not to Boot, that's the question." [WD1270 Caviar]