Am 09.11.2014 um 09:42 schrieb Mohammad Isargar:
I'm using Postfix 2.9.6 in Debian Wheezy.

My problem is: if I send an email to some invalid address of another
domain, the bounce returned by Postfix does NOT contain the original
invalid recipient address

it even includes the orginal message

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

look at that attachment

: host
     gmail-smtp-in.l.google.com  
<http://gmail-smtp-in.l.google.com>[74.125.136.27] said: 550-5.1.1 The email 
account
     that you tried to reach does not exist. Please try 550-5.1.1
     double-checking the recipient's email address for typos or 550-5.1.1
     unnecessary spaces. Learn more at 550 5.1.1
     http://support.google.com/mail/bin/answer.py?answer=<some url
     xxxxxxxxxxxxxxxxxxxx> - gsmtp (in reply to RCPT TO command)

%%%%%%%%%%%%%%%%%%%%%%%%

normally *after* that block comes a "Reporting-MTA" like this

Reporting-MTA: dns; ************** like this
X-THELOUNGE-MTA-Queue-ID: 3jbCRs1QdKz2q
X-THELOUNGE-MTA-Sender: rfc822; h.rei...@thelounge.net
Arrival-Date: Sun,  9 Nov 2014 12:15:21 +0100 (CET)

Final-Recipient: rfc822; sdffdgdfg...@gmail.com
Original-Recipient: rfc822;sdffdgdfg...@gmail.com
Action: failed
Status: 5.1.1
Remote-MTA: dns; gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 550-5.1.1 The email account that you tried to reach does
    not exist. Please try 550-5.1.1 double-checking the recipient's email
address for typos or 550-5.1.1 unnecessary spaces. Learn more at 550 5.1.1
    http://support.google.com/mail/bin/answer.py?answer=6596
    a3si24316841wjx.130 - gsmtp

Therefore, the sender can't figure out what has been the original recipient.

see above

By the way, what's wrong with my Postfix that does NOT mention the invalid address and 
just tells: "could not be delivered to one or more recipients"

i doubt that what you posted was the *complete* bounce and pretty sure you *and* the user premature stop reading which is a pandemic disease over many years in context of bounces

Reply via email to