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 tabernack, Feb 19, 2002.

  1. tabernack

    tabernack Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    All email that is sent through Neomail to any email address bounces with the following error:

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:

    someuser@hotmail.com
    unrouteable mail domain &hotmail.com&


    This is happening when attempting to send email to ANY email address, via Neomail. Any ideas on how to fix this would be greatly appreciated.
     
  2. bdraco

    bdraco Guest

    [quote:7c288e85fb][i:7c288e85fb]Originally posted by tabernack[/i:7c288e85fb]

    All email that is sent through Neomail to any email address bounces with the following error:

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:

    someuser@hotmail.com
    unrouteable mail domain &hotmail.com&


    This is happening when attempting to send email to ANY email address, via Neomail. Any ideas on how to fix this would be greatly appreciated.[/quote:7c288e85fb]

    Does this happen on all servers?
     
  3. tabernack

    tabernack Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Only one that I now of.

    root@host [~]# /usr/local/cpanel/cpanel -b
    Content-type: text/html
    Cache-Control: no-cache
    Pragma: no-cache

    &!---cpanel4 [4.4.0-STABLE_167] Copyright (c) 1997-2001 John N Koston. Licensed on host.xxxx.com ---&
     
  4. tabernack

    tabernack Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Just a note. This server has had this problem since February 12th. I've checked Bind and it's running fine and made sure that there's a DNS entry for the hostname.
     
  5. bdraco

    bdraco Guest

    [quote:d044d63560][i:d044d63560]Originally posted by tabernack[/i:d044d63560]

    Just a note. This server has had this problem since February 12th. I've checked Bind and it's running fine and made sure that there's a DNS entry for the hostname. [/quote:d044d63560]

    what does a mail -v reveal (make sure to no do it as root)
     
  6. tabernack

    tabernack Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Hi Nick,

    make sure to DO it as root, or make sure to NOT do it as root?
     
  7. bdraco

    bdraco Guest

    [quote:2b1f15fdae][i:2b1f15fdae]Originally posted by tabernack[/i:2b1f15fdae]

    Hi Nick,

    make sure to DO it as root, or make sure to NOT do it as root?[/quote:2b1f15fdae]

    Sorry .. Not as root.. do it as the user having the problem..
     
  8. tabernack

    tabernack Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Hi Nick,

    ok, here it is:

    bash-2.05$ mail -v
    bash: mail: command not found

    so then I tried:

    bash-2.05$ /bin/mail -v
    bash: /bin/mail: Permission denied

    :(
     
  9. bdraco

    bdraco Guest

    [quote:19313a1aab][i:19313a1aab]Originally posted by tabernack[/i:19313a1aab]

    Hi Nick,

    ok, here it is:

    bash-2.05$ mail -v
    bash: mail: command not found

    so then I tried:

    bash-2.05$ /bin/mail -v
    bash: /bin/mail: Permission denied

    :([/quote:19313a1aab]

    Might want to chmod 755 /bin/mail
     
  10. moronhead

    moronhead Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    706
    Likes Received:
    0
    Trophy Points:
    16
    [quote:5f22538c97][i:5f22538c97]Originally posted by bdraco[/i:5f22538c97]

    [quote:5f22538c97][i:5f22538c97]Originally posted by tabernack[/i:5f22538c97]

    Hi Nick,

    ok, here it is:

    bash-2.05$ mail -v
    bash: mail: command not found

    so then I tried:

    bash-2.05$ /bin/mail -v
    bash: /bin/mail: Permission denied

    :([/quote:5f22538c97]

    Might want to chmod 755 /bin/mail

    [/quote:5f22538c97]

    I rarely switch to a user in shell (wanted to do mail -v), but when I tried to logon as one of the users I got this:

    root@beta1 [/]# su sample1
    Shell access is not enabled on your account!

    What's the remedy apart from enabling shell for that user?
     
  11. tabernack

    tabernack Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    You need to enable shell access for any user that you want to 'su' to. There's no other solution.
     
  12. bdraco

    bdraco Guest

    [quote:ede8bc97f9][i:ede8bc97f9]Originally posted by tabernack[/i:ede8bc97f9]

    You need to enable shell access for any user that you want to 'su' to. There's no other solution.[/quote:ede8bc97f9]

    su -s /bin/bash sample1
     
  13. moronhead

    moronhead Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    706
    Likes Received:
    0
    Trophy Points:
    16
    [quote:4b58a9500f][i:4b58a9500f]Originally posted by bdraco[/i:4b58a9500f]

    [quote:4b58a9500f][i:4b58a9500f]Originally posted by tabernack[/i:4b58a9500f]

    You need to enable shell access for any user that you want to 'su' to. There's no other solution.[/quote:4b58a9500f]

    su -s /bin/bash sample1[/quote:4b58a9500f]

    Spot on. I put a shortcut in ~/.bashrc: [b:4b58a9500f]alias su='su -s /bin/bash'[/b:4b58a9500f] then did [b:4b58a9500f]source ~/.bashrc[/b:4b58a9500f] (so that the alias takes effect in the current session) then su sample1 (or any other user). Once finished with the user typed [b:4b58a9500f]exit[/b:4b58a9500f] to avoid password prompt when getting back in to root shell.

    [quote:4b58a9500f][i:4b58a9500f]Originally posted by bdraco[/i:4b58a9500f]

    Might want to chmod 755 /bin/mail[/quote:4b58a9500f]

    Are there any potential undesirable effects if changed to 755 from the current 770?
     
  14. bdraco

    bdraco Guest

    [quote:6f5a90a196][i:6f5a90a196]Originally posted by moronhead[/i:6f5a90a196]

    [quote:6f5a90a196][i:6f5a90a196]Originally posted by bdraco[/i:6f5a90a196]

    [quote:6f5a90a196][i:6f5a90a196]Originally posted by tabernack[/i:6f5a90a196]

    You need to enable shell access for any user that you want to 'su' to. There's no other solution.[/quote:6f5a90a196]

    su -s /bin/bash sample1[/quote:6f5a90a196]

    Spot on. I put a shortcut in ~/.bashrc: [b:6f5a90a196]alias su='su -s /bin/bash'[/b:6f5a90a196] then did [b:6f5a90a196]source ~/.bashrc[/b:6f5a90a196] (so that the alias takes effect in the current session) then su sample1 (or any other user). Once finished with the user typed [b:6f5a90a196]exit[/b:6f5a90a196] to avoid password prompt when getting back in to root shell.

    [quote:6f5a90a196][i:6f5a90a196]Originally posted by bdraco[/i:6f5a90a196]

    Might want to chmod 755 /bin/mail[/quote:6f5a90a196]

    Are there any potential undesirable effects if changed to 755 from the current 770?[/quote:6f5a90a196]

    /bin/mail used to be needed an exploit that had no patch for about a week so it was set to 770 on all cpanel servers. You should be fine changing it back now since patched rpms should already be on your box.
     
  15. tabernack

    tabernack Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Hi Nick,

    here you go:

    root@host [~]# chmod 755 /bin/mail
    root@host [~]# su unisoul
    bash-2.05$ mail -v
    No mail for unisoul
    bash-2.05$

    It seems that this problem exists only with this one account on one server.
     
  16. bdraco

    bdraco Guest

    [quote:5c281df3d6][i:5c281df3d6]Originally posted by tabernack[/i:5c281df3d6]

    Hi Nick,

    here you go:

    root@host [~]# chmod 755 /bin/mail
    root@host [~]# su unisoul
    bash-2.05$ mail -v
    No mail for unisoul
    bash-2.05$

    It seems that this problem exists only with this one account on one server.[/quote:5c281df3d6]

    try



    # mail -v nick@cpanel.net
    Subject: test
    test
    .
    Cc:
     
  17. tabernack

    tabernack Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    bash-2.05$ mail -v nick@cpanel.net
    Subject: test
    test
    .
    Cc:
    LOG: 0 MAIN
    &= unisoul@host.xxxx.com U=unisoul P=local S=299
    bash-2.05$ delivering message 16ddxa-0007gR-00
    LOG: 0 MAIN
    ** nick@cpanel.net: unrouteable mail domain &cpanel.net&
    Exim version 3.34 debug level 1 uid=0 gid=513
    Berkeley DB: Sleepycat Software: DB 2.4.14: (6/2/98)
    LOG: 0 MAIN
    &= && R=16ddxa-0007gR-00 U=root P=local S=1106
    LOG: 5 MAIN
    Error message sent to unisoul@host.xxxx.com
    delivering message 16ddxa-0007gT-00
    LOG: 0 MAIN
    Completed
    LOG: 0 MAIN
    =& unisoul &unisoul@host.xxxx.com& D=localuser T=local_delivery
    LOG: 0 MAIN
    Completed
     
  18. bdraco

    bdraco Guest

    [quote:1d9ebfff6d][i:1d9ebfff6d]Originally posted by tabernack[/i:1d9ebfff6d]

    bash-2.05$ mail -v nick@cpanel.net
    Subject: test
    test
    .
    Cc:
    LOG: 0 MAIN
    &= unisoul@host.xxxx.com U=unisoul P=local S=299
    bash-2.05$ delivering message 16ddxa-0007gR-00
    LOG: 0 MAIN
    ** nick@cpanel.net: unrouteable mail domain &cpanel.net&
    Exim version 3.34 debug level 1 uid=0 gid=513
    Berkeley DB: Sleepycat Software: DB 2.4.14: (6/2/98)
    LOG: 0 MAIN
    &= && R=16ddxa-0007gR-00 U=root P=local S=1106
    LOG: 5 MAIN
    Error message sent to unisoul@host.xxxx.com
    delivering message 16ddxa-0007gT-00
    LOG: 0 MAIN
    Completed
    LOG: 0 MAIN
    =& unisoul &unisoul@host.xxxx.com& D=localuser T=local_delivery
    LOG: 0 MAIN
    Completed[/quote:1d9ebfff6d]

    Try


    /usr/sbin/sendmail -t -d 9 -v
    To: nick@cpanel.net

    test
    .
     
  19. tabernack

    tabernack Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    bash-2.05$ /usr/sbin/sendmail -t -d 9 -v
    Exim version 3.34 debug level 9 uid=32005 gid=513
    Berkeley DB: Sleepycat Software: DB 2.4.14: (6/2/98)
    To: nick@cpanel.net

    test
    .
    LOG: 0 MAIN
    &= unisoul@host.xxxx.com U=unisoul P=local S=285
    bash-2.05$ delivering message 16dsve-0001k7-00
    LOG: 0 MAIN
    ** nick@cpanel.net: unrouteable mail domain &cpanel.net&
    Exim version 3.34 debug level 9 uid=0 gid=513
    Berkeley DB: Sleepycat Software: DB 2.4.14: (6/2/98)
    Caller is an admin user
    Caller is a trusted user
    originator: uid=0 gid=513 login=root name=
    sender address =
    set_process_info: 6706 accepting a local non-SMTP message from &&
    Sender:
    search_tidyup called
    &&Original headers (size=183):
    X-Failed-Recipients: nick@cpanel.net
    From: Mail Delivery System &Mailer-Daemon@host.xxxx.com&
    To: unisoul@host.xxxx.com
    Subject: Mail delivery failed: returning message to sender

    rewrite_one_header: type=F:
    From: Mail Delivery System &Mailer-Daemon@host.xxxx.com&
    rewrite_one_header: type=T:
    To: unisoul@host.xxxx.com
    &&Final headers:
    P Received: from root by host.xxxx.com with local (Exim 3.34 #1)
    id 16dsvx-0001kA-00
    for unisoul@host.xxxx.com; Thu, 21 Feb 2002 18:36:49 +0530
    X-Failed-Recipients: nick@cpanel.net
    F From: Mail Delivery System &Mailer-Daemon@host.xxxx.com&
    T To: unisoul@host.xxxx.com
    Subject: Mail delivery failed: returning message to sender
    I Message-Id: &E16dsvx-0001kA-00@host.xxxx.com&
    Date: Thu, 21 Feb 2002 18:36:49 +0530

    search_tidyup called
    Data file written for message 16dsvx-0001kA-00
    Writing spool header file
    Size of headers = 417
    LOG: 0 MAIN
    &= && R=16dsve-0001k7-00 U=root P=local S=1092
    delivering message 16dsvx-0001kA-00
    set_process_info: 6707 delivering 16dsvx-0001kA-00
    Opened spool file 16dsvx-0001kA-00-H
    user=root uid=0 gid=513 sender=
    sender_local=0 resent=no ident=root
    Non-recipients:
    Empty Tree
    ---- End of tree ----
    recipients_count=1
    body_linecount=20 message_linecount=9
    running system filter as uid=0 gid=513 euid=0 egid=513
    Filter: start of processing
    Filter: end of processing
    Delivery address list:
    unisoul@host.xxxx.com
    locked /var/spool/exim/db/retry.lockfile
    opened DB file /var/spool/exim/db/retry: flags=0
    &&&&&&&&&&&&&&&&&&&&&&&&
    Considering: unisoul@host.xxxx.com
    search_open: lsearch &/etc/localdomains&
    search_find: file=&/etc/localdomains&
    key=&host.xxxx.com& partial=-1
    LRU list:
    7/etc/localdomains
    End
    internal_search_find: file=&/etc/localdomains&
    type=lsearch key=&host.xxxx.com&
    file lookup required for host.xxxx.com
    in /etc/localdomains
    lookup yielded:
    host.xxxx.com in local_domains? yes (matched lsearch;/etc/localdomains)
    host.xxxx.com in percent_hack_domains? no (end of list)
    unique = unisoul@host.xxxx.com
    dbfn_read: key=D:unisoul@host.xxxx.com
    unisoul@host.xxxx.com: queued for directing
    &&&&&&&&&&&&&&&&&&&&&&&&
    directing unisoul@host.xxxx.com
    calling central_filter director
    central_filter director: file = /etc/vfilters/host.xxxx.com
    /etc/vfilters/host.xxxx.com not found
    calling virtual_aliases_nostar director
    df_lookup entered: search type = lsearch
    virtual_aliases_nostar director: lsearch key=unisoul@host.xxxx.com
    file=&/etc/valiases/host.xxxx.com&
    search_open: lsearch &/etc/valiases/host.xxxx.com&
    virtual_aliases_nostar director skipped: file failed to open and optional flag set
    search_open: lsearch &/etc/userdomains&
    search_find: file=&/etc/userdomains&
    key=&host.xxxx.com& partial=-1
    LRU list:
    7/etc/userdomains
    7/etc/localdomains
    End
    internal_search_find: file=&/etc/userdomains&
    type=lsearch key=&host.xxxx.com&
    file lookup required for host.xxxx.com
    in /etc/userdomains
    lookup failed
    host.talash.com in &lsearch;/etc/userdomains&? no (end of list)
    virtual_sa_user director skipped: domain mismatch
    search_open: lsearch &/etc/userdomains&
    cached open
    search_find: file=&/etc/userdomains&
    key=&host.xxxx.com& partial=-1
    LRU list:
    7/etc/userdomains
    7/etc/localdomains
    End
    internal_search_find: file=&/etc/userdomains&
    type=lsearch key=&host.xxxx.com&
    cached data used for lookup of host.xxxx.com
    in /etc/userdomains
    lookup failed
    host.xxxx.com in &lsearch;/etc/userdomains&? no (end of list)
    virtual_user director skipped: domain mismatch
    calling virtual_aliases director
    df_lookup entered: search type = lsearch
    virtual_aliases director: lsearch* key=unisoul@host.xxxx.com
    file=&/etc/valiases/host.xxxx.com&
    search_open: lsearch &/etc/valiases/host.xxxx.com&
    virtual_aliases director skipped: file failed to open and optional flag set
    calling userforward director
    userforward director: file = .forward
    successful stat of /home/unisoul/.
    /home/unisoul/.forward not found
    calling sa_localuser director
    Starting Perl interpreter
    sa_localuser director skipped: condition failure
    search_tidyup called
    LOG: 5 MAIN
    Error message sent to unisoul@host.xxxx.com
    calling localuser director
    queued for local_delivery transport: local_part=unisoul domain=host.xxxx.com
    errors_to=NULL
    domain_data=NULL local_part_data=NULL
    localuser director succeeded for unisoul
    &&&&&&&&&&&&&&&&&&&&&&&&
    After directing:
    Local deliveries:
    unisoul@host.xxxx.com
    Remote deliveries:
    Failed addresses:
    Addresses to be routed:
    Deferred addresses:
    search_tidyup called
    &&&&&& Local deliveries &&&&&&
    LOG: 0 MAIN
    Completed
    locked /var/spool/exim/db/retry.lockfile
    opened DB file /var/spool/exim/db/retry: flags=0
    dbfn_read: key=T:unisoul@host.xxxx.com
    delivering unisoul@host.xxxx.com as unisoul using local_delivery:
    uid=32005 gid=12 home=/home/unisoul current=/home/unisoul
    auxiliary group list: &none&
    set_process_info: 6708 delivering 16dsvx-0001kA-00 to unisoul using local_delivery
    appendfile transport entered
    search_open: lsearch &/etc/passwd&
    search_find: file=&/etc/passwd&
    key=&unisoul& partial=-1
    LRU list:
    7/etc/passwd
    End
    internal_search_find: file=&/etc/passwd&
    type=lsearch key=&unisoul&
    file lookup required for unisoul
    in /etc/passwd
    lookup yielded: x:32005:513::/home/unisoul:/bin/bash
    appendfile: mode=660 notify_comsat=0 quota=0
    file=/home/unisoul/mail/inbox format=unix
    prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
    suffix=\n
    locking by lockfile fcntl
    lock name: /home/unisoul/mail/inbox.lock
    hitch name: /home/unisoul/mail/inbox.lock.host.xxxx.com.3c74f0e9.00001a34
    lock file created
    mailbox /home/unisoul/mail/inbox is locked
    writing to file /home/unisoul/mail/inbox
    writing data block fd=7 size=44 timeout=0
    writing data block fd=7 size=1192 timeout=0
    writing data block fd=7 size=1 timeout=0
    appendfile yields 0 with errno=0 more_errno=0
    search_tidyup called
    journalled unisoul@host.xxxx.com
    local_delivery transport returned OK for unisoul@host.xxxx.com
    post-process unisoul@host.xxxx.com (0)
    unisoul@host.xxxx.com succeeded: adding to nonrecipients list
    LOG: 0 MAIN
    =& unisoul &unisoul@host.xxxx.com& D=localuser T=local_delivery
    set_process_info: 6707 tidying up after delivering 16dsvx-0001kA-00
    Processing retry items
    Succeeded addresses:
    unisoul@host.xxxx.com: no retry items
    Failed addresses:
    Deferred addresses:
    end of retry processing
    LOG: 0 MAIN
    Completed
    end delivery of 16dsvx-0001kA-00
    search_tidyup called
     
  20. AlaskanWolf

    AlaskanWolf Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Fremont CA
    looks like im not alone, a few of my users are getting these two, on two seperate servers, (one of them is me)

    I setup bugzilla on a server, and changed the email to admin@webhostingbilling.com

    that accts on WOLF, im sending from SANDY, i have done all the tests you outlined above, the thing is, i can send SMTP OK, but it seems the problem lies in a script etc sending out the emails, im not entirely sure on that though, all the emails that i ran with the tests, and even outlook express tests i am sending are going though OK

    I have also went from bleeding edge to release, no change

    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    heres the exim log im getting

    2003-02-25 21:54:06 18nuW6-0002jL-00 <= nobody@sandy.thehideout.net U=nobody P=local S=895
    2003-02-25 21:54:06 18nuW6-0002jL-00 ** admin@webhostingbilling.com: unrouteable mail domain "webhostingbilling.com"
    2003-02-25 21:54:06 18nuW6-0002jN-00 <= <> R=18nuW6-0002jL-00 U=root P=local S=1764
    2003-02-25 21:54:06 18nuW6-0002jL-00 Error message sent to nobody@sandy.thehideout.net
    2003-02-25 21:54:06 18nuW6-0002jL-00 Completed
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    SMTP Log:

    2003-02-25 21:57:08 18nuZ2-0002np-00 <= sales@www-hosting.net H=34-213-237-24.gci.net (betamachine) [24.237.213.34] U=trilluser P=asmtp A=fixed_login:info@www-hosting.net S=694 id=039301c2dd5b$096c9a70$22d5ed18@betamachine
    2003-02-25 21:57:11 18nuZ2-0002np-00 => admin@webhostingbilling.com R=lookuphost T=remote_smtp H=webhostingbilling.com [64.71.165.226] X=TLSv1:DES-CBC3-SHA:168
    2003-02-25 21:57:11 18nuZ2-0002np-00 Completed
     
    #20 AlaskanWolf, Feb 25, 2003
    Last edited: Feb 26, 2003
Loading...

Share This Page