postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: outer mail sender question

Re: outer mail sender question

From: ren yufei <renyufei83_at_nospam>
Date: Tue Oct 19 2010 - 23:16:35 GMT
To: Jeroen Geilman <jeroen@adaptr.nl>, postfix-users@postfix.org

Thank you.

Although the fail of sending email outside, there is no mail.err or mail.warn
generated. Just mail.info and mail.log.

Info @ mail.info

Oct 19 16:07:44 ubuntu postfix/pickup[22916]: 9422DA070A: uid=1000 from=<ren>
Oct 19 16:07:44 ubuntu postfix/cleanup[23070]: 9422DA070A: message-id=<201010192
30744.9422DA070A@hpdtl.cewit.stonybrook.edu>
Oct 19 16:07:44 ubuntu postfix/qmgr[22260]: 9422DA070A: from=<ren@hpdtl.cewit.st
onybrook.edu>, size=338, nrcpt=1 (queue active)
Oct 19 16:07:45 ubuntu postfix/local[23073]: 9422DA070A: to=<renyufei83@gmail.co
m>, relay=local, delay=0.46, delays=0.19/0.05/0/0.22, dsn=5.1.1, status=bounced
(unknown user: "renyufei83")
Oct 19 16:07:45 ubuntu postfix/cleanup[23070]: 00F39A070C: message-id=<201010192
30745.00F39A070C@hpdtl.cewit.stonybrook.edu>
Oct 19 16:07:45 ubuntu postfix/qmgr[22260]: 00F39A070C: from=<>, size=2205, nrcp
t=1 (queue active)
Oct 19 16:07:45 ubuntu postfix/bounce[23074]: 9422DA070A: sender non-delivery no
tification: 00F39A070C
Oct 19 16:07:45 ubuntu postfix/cleanup[23070]: 0D356A064D: message-id=<201010192
30745.0D356A064D@hpdtl.cewit.stonybrook.edu>
Oct 19 16:07:45 ubuntu postfix/bounce[23075]: 9422DA070A: sender delivery status
 notification: 0D356A064D
Oct 19 16:07:45 ubuntu postfix/qmgr[22260]: 9422DA070A: removed
Oct 19 16:07:45 ubuntu postfix/qmgr[22260]: 0D356A064D: from=<>, size=1974, nrcp
t=1 (queue active)
Oct 19 16:07:45 ubuntu postfix/local[23073]: 00F39A070C: to=<ren@hpdtl.cewit.sto
nybrook.edu>, relay=local, delay=0.7, delays=0.01/0.02/0/0.67, dsn=2.0.0, status
=sent (delivered to command: /usr/bin/maildrop -d ${USER})
Oct 19 16:07:45 ubuntu postfix/qmgr[22260]: 00F39A070C: removed
Oct 19 16:07:45 ubuntu postfix/local[23073]: 0D356A064D: to=<ren@hpdtl.cewit.sto
nybrook.edu>, relay=local, delay=0.69, delays=0.1/0.56/0/0.03, dsn=2.0.0, status
=sent (delivered to command: /usr/bin/maildrop -d ${USER})
Oct 19 16:07:45 ubuntu postfix/qmgr[22260]: 0D356A064D: removed

Info @ mail.log

Oct 19 16:07:44 ubuntu postfix/pickup[22916]: 9422DA070A: uid=1000 from=<ren>
Oct 19 16:07:44 ubuntu postfix/cleanup[23070]: 9422DA070A: message-id=<201010192
30744.9422DA070A@hpdtl.cewit.stonybrook.edu>
Oct 19 16:07:44 ubuntu postfix/qmgr[22260]: 9422DA070A: from=<ren@hpdtl.cewit.st
onybrook.edu>, size=338, nrcpt=1 (queue active)
Oct 19 16:07:45 ubuntu postfix/local[23073]: 9422DA070A: to=<renyufei83@gmail.co
m>, relay=local, delay=0.46, delays=0.19/0.05/0/0.22, dsn=5.1.1, status=bounced
(unknown user: "renyufei83")
Oct 19 16:07:45 ubuntu postfix/cleanup[23070]: 00F39A070C: message-id=<201010192
30745.00F39A070C@hpdtl.cewit.stonybrook.edu>
Oct 19 16:07:45 ubuntu postfix/qmgr[22260]: 00F39A070C: from=<>, size=2205, nrcp
t=1 (queue active)
Oct 19 16:07:45 ubuntu postfix/bounce[23074]: 9422DA070A: sender non-delivery no
tification: 00F39A070C
Oct 19 16:07:45 ubuntu postfix/cleanup[23070]: 0D356A064D: message-id=<201010192
30745.0D356A064D@hpdtl.cewit.stonybrook.edu>
Oct 19 16:07:45 ubuntu postfix/bounce[23075]: 9422DA070A: sender delivery status
 notification: 0D356A064D
Oct 19 16:07:45 ubuntu postfix/qmgr[22260]: 9422DA070A: removed
Oct 19 16:07:45 ubuntu postfix/qmgr[22260]: 0D356A064D: from=<>, size=1974, nrcp
t=1 (queue active)
Oct 19 16:07:45 ubuntu postfix/local[23073]: 00F39A070C: to=<ren@hpdtl.cewit.sto
nybrook.edu>, relay=local, delay=0.7, delays=0.01/0.02/0/0.67, dsn=2.0.0, status
=sent (delivered to command: /usr/bin/maildrop -d ${USER})
Oct 19 16:07:45 ubuntu postfix/qmgr[22260]: 00F39A070C: removed
Oct 19 16:07:45 ubuntu postfix/local[23073]: 0D356A064D: to=<ren@hpdtl.cewit.sto
nybrook.edu>, relay=local, delay=0.69, delays=0.1/0.56/0/0.03, dsn=2.0.0, status
=sent (delivered to command: /usr/bin/maildrop -d ${USER})
Oct 19 16:07:45 ubuntu postfix/qmgr[22260]: 0D356A064D: removed

________________________________
From: Jeroen Geilman <jeroen@adaptr.nl>
To: postfix-users@postfix.org
Sent: Tue, October 19, 2010 6:43:25 PM
Subject: Re: outer mail sender question

On 10/19/2010 11:44 PM, ren yufei wrote:
Dear all,
>
>I am a newbie in Postfix. I have successfully installed postfix in ubuntu refers
>the tutorials:
>https://help.ubuntu.com/community/Postfix
>
Tutorials often fail to explain how it actually works. Don't depend on them.

>now I could send mail internally, but could not send mail to the outside
>(gmail.com, yahoo.com, etc).
>
>the Mail Delivery Status Report is as follows:
>-------------------------
> The mail system
>
><xxx@gmail.com>: unknown user: "xxx"
>
"Unknown user" is clear enough.

>[-- Attachment #2: Delivery report --]
>[-- Type: message/delivery-status, Encoding: 7bit, Size: 0.3K --]
>
>Reporting-MTA: dns; xxx.cewit.stonybrook.edu
>X-Postfix-Queue-ID: BA73BA070A
>X-Postfix-Sender: rfc822; root@xxx.cewit.stonybrook.edu
>Arrival-Date: Tue, 19 Oct 2010 14:25:22 -0700 (PDT)
>
>Final-Recipient: rfc822; xxx@gmail.com
>Action: failed
>Status: 5.1.1
>Diagnostic-Code: X-Postfix; unknown user: "xxx"
>-------------------------
>
>
>
The logs of that message would provide more insight into what happened.

It seems the error msg was sent from your local host instead of gmail.com
>
Is that in the DSN or are these your words ?

--- This is my words.

>I already tries to "Indirect delivery via the local delivery agent" refers
>to:http://www.postfix.org/MAILDROP_README.html.
How postfix delivers local mail has little or nothing to do with remote MTAs.

If you can provide logs for such a message, it is fairly simple to determine
what happens.

-- J.