MX entries and e-mails

Discussion in 'Installation/Configuration' started by wadims, May 2, 2006.

  1. wadims

    wadims New Member

    Hello,

    I am using ISPconfig on Ubuntu,
    a have several e-mail accaunts e.g. [email protected],
    I can send mails,. but I cannot recieve, when I try to send from T-bird it pop`ups - something about bad MX entries, but when I send emails from e.g. Gmail, it returns message saying...

    "This is an automatically generated Delivery Status Notification

    THIS IS A WARNING MESSAGE ONLY.

    YOU DO NOT NEED TO RESEND YOUR MESSAGE.

    Delivery to the following recipient has been delayed:

    [email protected]

    Message will be retried for 2 more day(s)

    Technical details of temporary failure:
    TEMP_FAILURE: DNS Error: Could not contact DNS servers"

    Can anybody help?

    p.s. and how I can make mail.xxx.lv, so when i go there it will go to webmail, which is on xxx.lv:81/webmail
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you use the DNS server from your provider as DNS server or do you use your ISPConfig server?
     
  3. wadims

    wadims New Member

    I use ISPConfig as DNS server!
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Did you open port 53 (TCP and UDP!) in your firewall? Is BIND running?
     
  5. gauthier

    gauthier New Member

    same problem

    Hi, I have the same problem.

    The strange thing is that it has been running for about one year with no problem but a few days ago it stops.

    I use ISPConfig as DNS server and port 53 is open (TCP and UDP)

    Ispconfig version is: 2.2.35

    SMTP-Server:Online
    POP3-Server:Online
    BIND-Server:Online

    The /var/log/mail.log file does not show anything about incoming email from gmail.

    Thanks if any recomendation
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you receive emails from other providers then gmail?
     
  7. gauthier

    gauthier New Member

    I tried from diferents providers:

    From gmail: fails
    From hotmail: works
    From telefonica (spanish provider): fails
    From the server I use: works

    Thanks.
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Please check if your MX record points to the correct server.
     
  9. gauthier

    gauthier New Member

    Yes it does.

    In MX record, I leave the hostname blank, priority: 10, Mailserver: XX.XX.XX.XXX where XX.XX.XX.XXX is my server IP.

    Take into account it used to work fine for one year.

    A few weeks ago I unabled spamfilter, antivirus and URIBL for a few emails account but it goes on working perfectly after this.

    Thanks.
     
  10. gauthier

    gauthier New Member

    emails from others providers finally enter (one email arrived about 20H late but it arrived).

    It seems it only fails for incoming emails from gmail with the message error emailed to the sender:

    Technical details of temporary failure:
    DNS Error: Could not contact DNS servers

    From the server to gmail, it works fine.

    What can this be due to ???
     
  11. falko

    falko Super Moderator Howtoforge Staff

    Your MX record must point to an A record which then points to an IP. An MX record must not point to an IP directly.
     
  12. gauthier

    gauthier New Member

    Hi,

    I pointed MX record to mail.myweb.com and created A record mail.myweb.com pointing to my IP. It does not work.

    ISPconfig shows:

    I cannot find out what I doing wrong. Thankyou very much for your help, sorry for my unknowledge.
     
  13. falko

    falko Super Moderator Howtoforge Staff

    Is mail.myweb.com shown in the output of
    Code:
    dig mx yourdomain.com
    ?
     
  14. gauthier

    gauthier New Member

    Thanks,

    Yes, mail.myweb.com is shown in dig mx myweb.com:

     
  15. gauthier

    gauthier New Member

    I think I got it.

    It seems it was a DNS misconfiguration.

    I created the ns1 and ns2 Arecord and all seems to work fine now.

    Thankyou very much Falko.
     

Share This Page