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: Jeroen Geilman <jeroen_at_nospam>
Date: Tue Oct 19 2010 - 22:43:25 GMT
To: postfix-users@postfix.org

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 <http://gmail.com/>

Is that in the DSN or are these your 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.