(Postfix version) /etc/postfix/main.cf.default:mail_version = 2.3.8
(OS Version) bash-2.03#uname -a
SunOS blade 5.8 Generic_108528-17 sun4u sparc SUNW,Sun-Blade-100
bash-2.03# postconf -n
alias_database = dbm:/etc/aliases
alias_maps = dbm:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = imss:localhost:10025
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
debug_peer_list = 127.0.0.1
default_process_limit = 200
html_directory = no
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 10240000
mydestination = yahoo.com, localhost, localhost.$mydomain, $myhostname
mydomain = eska.com
myhostname = blade.eska.com
mynetworks = 172.16.0.0/24, 127.0.0.0/8, 192.168.0.0/24
mynetworks_style = class
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /postfix.old/postfix-2.3.8/readme_directory
relay_domains = $mydestination
relayhost = $mydomain
sample_directory = /etc/postfix
sendmail_path = /usr/lib/sendmail
setgid_group = postdrop
unknown_local_recipient_reject_code = 450
when i try to send an email to Gmail i get this response, which means that postfix tends to look for gmail server in loop-back network. this will fail always. response is below
sendmail firstname.lastname@example.org <"tst"
<email@example.com>: connect to localhost[127.0.0.1]: Connection refused
Content-Description: Delivery report
Reporting-MTA: dns; blade.eska.com
X-Postfix-Sender: rfc822; firstname.lastname@example.org
Arrival-Date: Wed, 5 Dec 2012 11:06:09 +0200 (Asia/Amman)
Final-Recipient: rfc822; email@example.com
Diagnostic-Code: X-Postfix; connect to localhost[127.0.0.1]: Connection refused
when i use what-if-mode , postfix will actually go and search for gmail server and finds it, and confirm the deliverablity of this email. response is below:
sendmail -bv firstname.lastname@example.org <"test"
Dec 5 10:57:52 blade postfix/smtp: [ID 197553 mail.info] 6447958DA: to=<email@example.com>, relay=gmail-smtp-in.l.google.com[18.104.22.168]:25, delay=1.8, delays=0.08/0.03/1.5/0.26, dsn=2.1.5, status=deliverable (250 2.1.5 OK u8si15432094wiw.9)
Firstly, this is not a general Postfix help forum - it's for help with Postfix Admin, a tool for managing virtual domains & mailboxes on Postfix.
My guess is that relayhost = $mydomain (where mydomain = eska.com) is the problem. Does eska.com resolve locally to localhost by any chance ?
BTW - the main site for Postfix is over at postfix.org
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.