The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mail to domains with no MX

Discussion in 'E-mail Discussions' started by larryl, Jul 20, 2007.

  1. larryl

    larryl Active Member

    Joined:
    Feb 19, 2007
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    I've done something to break the server's capability to send email to external domains with no MX record but a valid A record. Email to these domains invariably sit in the queue, receive connection timeouts and ultimately are bounced.

    As a point of reference, I've had ConfigServer do the Mailscanner service on this box and have remote_smtp pointing to an alternate IP. Not saying either of those is the issue, just data points in the equation.

    What are some likely causes of the problem? I see references to the issue all over Google but no real solutions, including on the exim mailing list. This board is preventing me from searching on "mx" (because it's not three letters) so the answer may just be a link away.

    The emails are definitely going through lookuphost and remote_smtp:

    LOG: MAIN
    == user@outside_domain.com R=lookuphost T=remote_smtp defer (110): Connection timed out

    This is what they look like in exim_outgoing.conf:

    lookuphost:
    driver = dnslookup
    domains = ! +local_domains
    #ignore verisign to prevent waste of bandwidth
    ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24
    headers_add = "${perl{mailtrapheaders}}"
    transport = remote_smtp

    remote_smtp:
    driver = smtp
    interface = www.xxx.yyy.zzz

    Any suggestions on where to look or how to diagnose?
     
  2. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    You can do a two-character word search by adding a wildcard, e.g. mx*.

    I am sorry, I do not know the answer to your question. Personally I do not want to allow sending of email to domains with no MX records -- RFC standards are there for a reason. In my book your scenario is not a problem at all ;)
     
  3. larryl

    larryl Active Member

    Joined:
    Feb 19, 2007
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Thanks for the tip. I'll try it out.

    I know you and I would always set them up, but this situation is in fact specifically allowed by 974. We have to be able to handle it properly.
     
  4. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    Hmm, I did not know RFC 974 said that. I got stuck at the part that there should (not must) be an MX or CNAME (domain alias) record. I learn something new every day ;)
     
Loading...

Share This Page