New Install problem sending emails

Discussion in 'General' started by crudolphy, Nov 28, 2005.

  1. crudolphy

    crudolphy New Member

    I have a new clean install of ISP config using the Ubuntu "Breezy" How To. Everything seems to be working fine. I have setup two email users. I can receive email. I have a "Hotmail" account and when I send a test message to my hotmail account it is not delivered. When I look at the mail.log file I find a listing that states the following:

    Name service error for name Type MX: Host Not Found (try again).

    It has been trying for 16 hours without success. When I "ping" it resolves to an IP address of but there are no responses. I do believe the microsoft has a policy of blocking all icmp echo responses. I did a "whois" search on that ip address and it is registered to MSHOTMAIL.

    Why can't my server resolve

    Thanks in advance

    Chuck Rudolphy
  2. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/resolv.conf?
  3. crudolphy

    crudolphy New Member


    The contents were:

    search (my domain name)
    nameserver (my gateway router)

    I have changed the file to:

    nameserver (local DNS server)
    nameserver (ISP DNS server)
    nameserver (ISP DNS server)

    I restarted Postfix with /etc/init.d/postfix restart

    In looking at the mail.log file it appeared that Postfix was trying to resend the email about once every 90 minutes or so. Should be ready to resend in about another 30 minutes. We will see?:D

    Thanks - Chuck
  4. falko

    falko Super Moderator ISPConfig Developer

    You can flush the mail queue immediately by running

    postsuper -r ALL
    as root (yes, ALL must be in capital letters...).
  5. crudolphy

    crudolphy New Member


    That fixed it. I should have known what the problem was, but I am so used to working with a GUI (Windows, KDE, etc.) that working from the CLI only, threw me off. Your help got me looking in the right place. Once I saw what was happening I knew how to change it.

    Thanks loads foryour help.:)


Share This Page