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.

unrouteable mail domain

Discussion in 'E-mail Discussions' started by TKlaver, Jul 20, 2004.

  1. TKlaver

    TKlaver Member

    Joined:
    Jan 29, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    When sending mail through PHP the following error occurs. After searching the forums I haven't came up with a proper solution to it.

    Prevent the user 'nobody' from sending out mail to remote addresses (php and cgi scripts generally run as nobody if you are not using phpsuexec and suexec respectively.) is turned off. Not using phpsuexec anyhow.

    Turning off Track the origin of messages sent though the mail server by adding the X-Sender headers (exim 4.34+ required) stops the error, but then it doesn't work either.

    Enabling or Disabling SuExec doesn't matter.

    Sending mail from POP accounts does work.

    giant# exim -bt info@cpanel.net
    info@cpanel.net
    router = lookuphost, transport = remote_smtp
    host mx.cpanel.net [69.9.165.26] MX=0
    host photon.cpanel.net [69.72.164.150] MX=20

    Any idea's on this? Thanks!
     
  2. TKlaver

    TKlaver Member

    Joined:
    Jan 29, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Surely someone has encountered this problem before. I really need a hand on this.
     
  3. supportbytes

    supportbytes Member

    Joined:
    Jul 11, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Try rebuilding EXIM: /scripts/exim4
     
  4. TKlaver

    TKlaver Member

    Joined:
    Jan 29, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Tried it, didn't fix it.
     
  5. matthewdavis

    matthewdavis Well-Known Member

    Joined:
    Jun 26, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NC, USA
    Is the machinename in /etc/localdoamains ? If the machinename was www.example.com (from the 'hostname' output), is that hostname listed in the above file?
     
  6. TKlaver

    TKlaver Member

    Joined:
    Jan 29, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Nope, it's not there
     
  7. matthewdavis

    matthewdavis Well-Known Member

    Joined:
    Jun 26, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NC, USA
    Add it and the error should go away.
     
  8. TKlaver

    TKlaver Member

    Joined:
    Jan 29, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    That will fix it only for that address then, that's not the solution as there are alot more users who would like to use mail()
     
  9. nettigritty

    nettigritty Well-Known Member
    PartnerNOC

    Joined:
    Jan 21, 2004
    Messages:
    194
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bangalore, India
    /scripts/exim4 --latest

    that worked for me ..
     
  10. preleaf

    preleaf Well-Known Member

    Joined:
    Aug 25, 2004
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    hi everyone !i had create shop@abc.com if i send mail to mai yahoo is OK but I send mail to shop@abc.com then display Message from yahoo.com.
    Unable to deliver message to the following address(es).
    <shop@abc.com>:
    Sorry, I couldn't find a mail exchanger or IP address. (#5.4.4)
    help me ,PLease.
    thank you so much!
    Regards,
     
  11. admin0

    admin0 Active Member

    Joined:
    Aug 11, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    on your /etc/resolv.conf

    change

    nameserver 127.0.0.1

    to

    nameserver ip.add.re.ss

    where ipaddress is your providers DNS servers.

    This solves over 90% of the unroutable mail domain issue.



    Cheers,
     
  12. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    what to do to know the "providers DNS servers" ip address ?

    nslookup localhost ?
     
  13. nettigritty

    nettigritty Well-Known Member
    PartnerNOC

    Joined:
    Jan 21, 2004
    Messages:
    194
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bangalore, India
    checking with the DC would be the best thing to do ..
     
  14. denisdekat09

    denisdekat09 Well-Known Member

    Joined:
    Mar 2, 2002
    Messages:
    265
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Francisco
    I keep getting these on and off, tried all these suggestions and more. It is really disturbing really. Any one else getting these in a random fashion?
     
  15. Imai

    Imai Well-Known Member

    Joined:
    Aug 11, 2003
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Yes me too.
    You can hear it when a customer is yelling.
    Especially because the only answer I can provide is: "we do have this problem sometimes, there is no solution, just wait a few days for it to disappear before sending your mail".
     
  16. wildwheels

    wildwheels Registered

    Joined:
    Apr 23, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    problem

    Im having the same problem... Pop email seems to go through, but any cgi mail gets bounced.. Ive also tried all the options.. and nothing works :/
     
  17. wildwheels

    wildwheels Registered

    Joined:
    Apr 23, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    fixed

    Under exim config, disable -> verify existence of addresses and you should be ok...


    :D
     
Loading...

Share This Page