Postfix does not receive mail

Discussion in 'Server Operation' started by luketb, Mar 31, 2007.

  1. luketb

    luketb New Member


    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 =
    myhostname =
    mynetworks_style = subnet
    myorigin =
    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.

  2. edge

    edge Active Member Moderator

    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 (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.
    Last edited: Apr 1, 2007
  3. luketb

    luketb New Member

    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.
  4. falko

    falko Super Moderator ISPConfig Developer

    What's in your mail log when you try to send a mail to your server?
  5. ryan_vanks

    ryan_vanks New Member

    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

  6. falko

    falko Super Moderator ISPConfig Developer

    What's in your mail log when you try to send a mail locally?
    What's the output of
    netstat -tap
    , and what's in /etc/postfix/ (please strip out the comments)?

Share This Page