Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 1st May 2013, 09:01
a3das a3das is offline
Junior Member
 
Join Date: May 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix refude to send email

(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

(changed configs)

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
local_recipient_maps =
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 xxxx@gmail.com <"tst"
<eska.hala@gmail.com>: connect to localhost[127.0.0.1]: Connection refused
--970FE58DA.1354698369/blade.eska.com
Content-Description: Delivery report
Content-Type: message/delivery-status
Reporting-MTA: dns; blade.eska.com
X-Postfix-Queue-ID: 970FE58DA
X-Postfix-Sender: rfc822; root@blade.eska.com
Arrival-Date: Wed, 5 Dec 2012 11:06:09 +0200 (Asia/Amman)
Final-Recipient: rfc822; eska.hala@gmail.com
Action: delayed
Status: 4.4.1
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 xxxx@gmail.com <"test"
Dec 5 10:57:52 blade postfix/smtp[15906]: [ID 197553 mail.info] 6447958DA: to=<eska.hala@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.67.27]: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)
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
postfix, postfix dns, postfix error, postfix issue

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Email Working ISPConfig3 Squirrelmail and Courier etc Ian Wilson Installation/Configuration 17 19th June 2013 22:58
Email from server driving me crazy chaloum General 29 13th April 2012 13:45
CGI and FormMail Cracklefish Installation/Configuration 17 13th October 2009 13:40
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 13:36.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.