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.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st March 2007, 23:59
luketb luketb is offline
Junior Member
 
Join Date: Mar 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix does not receive mail

Hello

I cannot seem to get my postfix to accept incoming mail. I can send fine but I cannot receive. I cannot find any errors in 'maillog' or in 'messages'. Here is an output from postconf -n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
allow_percent_hack = no
append_dot_mydomain = no
best_mx_transport = local
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
ignore_mx_lookup_error = yes
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain
mydomain = example.com
myhostname = maillist.example.com
mynetworks_style = subnet
myorigin = maillist.example.com
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES
relay_domains = $mydestination, /etc/postfix/relay-domains
relayhost = exchangeserver
sample_directory = /usr/share/doc/postfix-2.2.2/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550


This server will relay through an exchange server, but like i said I can send OK and I know that other mail servers are trying to send to this system because it will generate error if there is no MTA running when I attempt to send mail to this system.

Any advice on where to start troubleshooting this would be great.

Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 1st April 2007, 09:27
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 151 Times in 131 Posts
Default

Sending mail is really never a problem. It's as you can see receiving.

Your problem could be many, but my guess is that it's a DNS MX record problem.

Test your DNS at www.dnsreport.com (enter the URL without www in the DNS report box), and let us know the error's that you get.

Please note than many ISP's are also blocking mail ports, forcing people to use the ISP's mailservers! This could also be your case.
__________________
Never execute code written on a Friday or a Monday.

Last edited by edge; 1st April 2007 at 09:30.
Reply With Quote
  #3  
Old 1st April 2007, 18:07
luketb luketb is offline
Junior Member
 
Join Date: Mar 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is just in a testing stage and is being run on an internal network. I will take a look at DNS but I have setup the appropriate A and MX records.
Reply With Quote
  #4  
Old 1st April 2007, 20:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's in your mail log when you try to send a mail to your server?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 15th April 2007, 20:31
ryan_vanks ryan_vanks is offline
Junior Member
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by edge
Sending mail is really never a problem. It's as you can see receiving.

Your problem could be many, but my guess is that it's a DNS MX record problem.

Test your DNS at www.dnsreport.com (enter the URL without www in the DNS report box), and let us know the error's that you get.

Please note than many ISP's are also blocking mail ports, forcing people to use the ISP's mailservers! This could also be your case
.
I'm experiencing he same problem I cannot send mail localy but I can't send mails to people outside my domain (yahoo, hotmail ...) I followed your instructiions and Those are the errors I have on my DNS REPORT:

Missing (stealth) nameservers FAIL

Missing nameservers 2 FAIL

Stealth NS record leakage FAIL

Reverse DNS entries for MX records FAIL

Connect to mail servers FAIL

What do I do from here. I'm using FEDORA and POSTFIX

Thanks
Reply With Quote
  #6  
Old 16th April 2007, 14:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

What's in your mail log when you try to send a mail locally?
What's the output of
Code:
netstat -tap
, and what's in /etc/postfix/main.cf (please strip out the comments)?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

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
postfix-tls sasl2 mysql courier-authmysql gabrix Server Operation 4 12th January 2007 22:09
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Postfix mail is held in queue indefinitely... squallbsr Server Operation 9 15th January 2006 19:13


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


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