I tail /var/spool/mail/root and it doesn't show message received at all.
telnet (servername) 25 works fine from any other server and also my workstation 
inside the network.

Thanks for your response.  I do have a working server that I am comparing 
main.cf and master.cf.

To test mail I am using the mail command and checking the logs.  The server 
with the problem can send and receive mail to itself, but cannot receive mail 
from anyone else.  It can send to everyone fine including externally.

-----Original Message-----
From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] 
On Behalf Of Noel Jones
Sent: Thursday, February 02, 2012 4:40 PM
To: postfix-users@postfix.org
Subject: Re: problem with postfix receiving mail

On 2/2/2012 4:13 PM, Sasse, Fred (DNR) wrote:
>  

[post in plain-text only please]

> /var/log/mail shows no errors.

So what does it show when receiving mail?  Anything at all?

> I did try telnet (servername) 25 and it is not blocked by iptables.

Did you try this from some external computer or on the server itself?


> ...
> mydestination = $myhostname, localhost.$mydomain,
> mailist.dnr.state.mn.us


$ host mailist.dnr.state.mn.us
Host mailist.dnr.state.mn.us not found: 3(NXDOMAIN)

maybe that has something to do with it.


> myhostname = maillist.dnr.state.mn.us

Ok, this probably covers up the typo above.
$ host maillist.dnr.state.mn.us
maillist.dnr.state.mn.us has address 156.98.124.26

No MX record, but should still work if that's the right IP.


A couple of nitpics below, but these are unlikely to be the cause of
your problem.

> sender_canonical_maps = hash:/etc/postfix/sender_canonical

It's usually a mistake to use {sender, recipient}_canonical_maps.
Usually the mappings should be in canonical_maps.

> smtpd_sender_restrictions = hash:/etc/postfix/access

This is deprecated syntax; always specify what you want to check.

  smtpd_sender_restrictions =
    check_sender_access hash:/etc/postfix/access


> I have another server that works fine both sending and receiving
> mail that I am comparing to.

Maybe the problem is outside of postfix.  If nothing is logged, then
either port 25 is blocked to external hosts or your DNS records are
wrong.



  -- Noel Jones


Reply via email to