Strange behavior from postfix..

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Strange behavior from postfix..

Nick Warr-3
I run a postfix 2.2.3 server (centOS 5.2) with the whole mySQL virtual
users/domains setup, which works just fine except for a few small
issues, which strangely affect only a few users.

Basically, the server after recieving the mail, does a few checks then
delivers it to the final destination just fine, but for a few users (for
a reason I'm not able to understand) it sends a delivery report after
successful deliveries (obviously an unsuccessful delivery should
generate a message).

for example:

  Nov 13 08:38:26 mail2 postfix/qmgr[3157]: 606062280A3:
from=<[hidden email]>, size=5133, nrcpt=1 (queue active)
Nov 13 08:38:26 mail2 postfix/virtual[10094]: 606062280A3:
to=<[hidden email]>, relay=virtual, delay=0.16,
delays=0.06/0.06/0/0.04, dsn=2.0.0, status=sent (delivered to maildir)
Nov 13 08:38:26 mail2 postfix/bounce[10275]: 606062280A3: sender
delivery status notification: 8769C2280B0

This wasn't an error, the mail went through just fine.

I've had a look at both the main and master.cf files, and there's
nothing there which would (IMHO) ask for all delivery status messages,
and if it did, it should be a sitewide issue.

I had a look at the database, the only rows which made reference to the
user [hidden email] were in the table mailbox, and there wasn't
anything out of the ordinary there, same mail directory structure, no
values which were different from the defaults, the amavis tables were
the same (though I don't think postfix looks at those..).

Does anyone have any ideas as to where I could start looking to try and
understand why this user is receiving delivery notifications for all
sent messages?
Reply | Threaded
Open this post in threaded view
|

Re: Strange behavior from postfix..

Charles Marcus
On 11/13/2008, Nick ([hidden email]) wrote:

> Basically, the server after recieving the mail, does a few checks
> then delivers it to the final destination just fine, but for a few
> users (for a reason I'm not able to understand) it sends a delivery
> report after successful deliveries (obviously an unsuccessful
> delivery should generate a message).
>
> for example:
>
> Nov 13 08:38:26 mail2 postfix/qmgr[3157]: 606062280A3:
> from=<[hidden email]>, size=5133, nrcpt=1 (queue active) Nov 13
> 08:38:26 mail2 postfix/virtual[10094]: 606062280A3:
> to=<[hidden email]>, relay=virtual, delay=0.16,
> delays=0.06/0.06/0/0.04, dsn=2.0.0, status=sent (delivered to
> maildir) Nov 13 08:38:26 mail2 postfix/bounce[10275]: 606062280A3:
> sender delivery status notification: 8769C2280B0

Does it do this for every message that that user receives? Or just some
messages?

Maybe these users have their mail clients configured to automatically
send DSN responses (return receipt) to messages that request them? I
always configure mine to ignore those personally, but...

--

Best regards,

Charles
Reply | Threaded
Open this post in threaded view
|

Re: Strange behavior from postfix..

Victor Duchovni
In reply to this post by Nick Warr-3
On Thu, Nov 13, 2008 at 10:18:06AM +0100, Nick wrote:

> I run a postfix 2.2.3 server (centOS 5.2) with the whole mySQL virtual
> users/domains setup, which works just fine except for a few small
> issues, which strangely affect only a few users.
>
> Basically, the server after recieving the mail, does a few checks then
> delivers it to the final destination just fine, but for a few users (for
> a reason I'm not able to understand) it sends a delivery report after
> successful deliveries (obviously an unsuccessful delivery should
> generate a message).
>
> for example:
>
>  Nov 13 08:38:26 mail2 postfix/qmgr[3157]: 606062280A3:
> from=<[hidden email]>, size=5133, nrcpt=1 (queue active)
> Nov 13 08:38:26 mail2 postfix/virtual[10094]: 606062280A3:
> to=<[hidden email]>, relay=virtual, delay=0.16,
> delays=0.06/0.06/0/0.04, dsn=2.0.0, status=sent (delivered to maildir)
> Nov 13 08:38:26 mail2 postfix/bounce[10275]: 606062280A3: sender
> delivery status notification: 8769C2280B0

This is a DSN, requested by the remote MTA and honoured by a Postfix 2.3+
(not 2.2) system in which DSN was not suppressed in the SMTP server
EHLO response. If you don't want to send DSNs, disable DSN in the EHLO
response of your internet-facing edge SMTP server (I do this).

    http://www.postfix.org/postconf.5.html#smtpd_discard_ehlo_keywords

        smtpd_discard_ehlo_keywords = silent-discard DSN

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[hidden email]?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.