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.9422da0...@hpdtl.cewit.stonybrook.edu> Oct 19 16:07:44 ubuntu postfix/qmgr[22260]: 9422DA070A: from=<r...@hpdtl.cewit.st onybrook.edu>, size=338, nrcpt=1 (queue active) Oct 19 16:07:45 ubuntu postfix/local[23073]: 9422DA070A: to=<renyufe...@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.00f39a0...@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.0d356a0...@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=<r...@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=<r...@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.9422da0...@hpdtl.cewit.stonybrook.edu> Oct 19 16:07:44 ubuntu postfix/qmgr[22260]: 9422DA070A: from=<r...@hpdtl.cewit.st onybrook.edu>, size=338, nrcpt=1 (queue active) Oct 19 16:07:45 ubuntu postfix/local[23073]: 9422DA070A: to=<renyufe...@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.00f39a0...@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.0d356a0...@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=<r...@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=<r...@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 <jer...@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 > ><x...@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; r...@xxx.cewit.stonybrook.edu >Arrival-Date: Tue, 19 Oct 2010 14:25:22 -0700 (PDT) > >Final-Recipient: rfc822; x...@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.