Dear all,

I am a newbie in Postfix. I have successfully installed postfix in ubuntu 
refers 
the tutorials:
https://help.ubuntu.com/community/Postfix

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"

[-- 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"
-------------------------


It seems the error msg was sent from your local host instead of gmail.com

I already tries to "Indirect delivery via the local delivery agent" refers 
to:http://www.postfix.org/MAILDROP_README.html.

BTW, my ubuntu is a vm, and i use port mapping (25 and 587) to connect to the 
out side.

Thank you for your help.

Output of "postconf -n":

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = Mail/
inet_interfaces = all
inet_protocols = all
mailbox_command = /usr/bin/maildrop -d ${USER}
mailbox_size_limit = 0
mydestination = hash:/etc/postfix/mydomains
myhostname = xxx.cewit.stonybrook.edu
mynetworks = 192.168.1.0/24 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relay_domains = lists.xxx.cewit.stonybrook.edu
relayhost =
smtp_sasl_auth_enable = no
smtp_tls_note_starttls_offer = yes
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = 
permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt
smtpd_tls_key_file = /etc/ssl/private/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport


      

Reply via email to