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.

Unroutable domain - some domains not others

Discussion in 'General Discussion' started by Cloak, Jan 12, 2004.

  1. Cloak

    Cloak Active Member

    Joined:
    Jun 19, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    I'm having a heck of a time with this, it has issues for some domains and not others, all on the same machine.

    Currently running: WHM 8.5.4 cPanel 8.5.5-R60

    I can't receive anything at all to this email address (or any others on this domain). It worked before I manually upgraded to Release. I've tried downgrading to Stable with no sucess.

     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
  3. Cloak

    Cloak Active Member

    Joined:
    Jun 19, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    I understand about the reverse dns, but that makes no sense as the other domain which was sent to works perfectly fine, along with the 60 or so other domains that receive email at that IP.

    Like I said before, there are other domains which are not working that were previously, something about the update has messed things up.
     
  4. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    I'd be willing to wager that if you fix the dns issues e-mail will function properly.
     
  5. Cloak

    Cloak Active Member

    Joined:
    Jun 19, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    I'm waiting on the reverse dns now, I've checked the other issues and changed them around a bit (except for the 0 TTL).

    Still makes no sense that would be the issue and it has worked fine for months with no issues, then suddenly today it has problems sending between my 2 machines.
     
  6. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    I just noticed that your mx record appears wrong, too. Check your mx entry in the dns record and make sure there is a . at the end of the domain.
     
  7. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    DNS looks okay now. Mail working?
     
  8. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    same problem here on red hat 7.2 Progeny.

    from 3 weeks one of my clients sending out a mailing list
    to 300 email contacts . 200 of 300 bounce back (unroutable mail domain)

    it is using this perl script

    PHP:
    #!/usr/bin/perl -w 

    use DBI
    use 
    MIME::Lite
    use 
    CGI qw(:all); 

    my $q = new CGI

    # snipped a bunch of unrelated "session" stuff here 

    print $q->header(); 
    my $subname $q->param('send_subname'); # set sender name 
    my $subject $q->param('mail_subject'); # set subject 
    my $message $q->param('mail_message'); # build message 
    my $sender ""# initialize sender 

    if ($subname eq "Credit Daily Business News Report") { 
    $sender "dailybusiness@domain.com"

    elsif ($subname eq "U.S. Business Journal") { 
    $sender "usbz@domain.com"


    ## THIS IS THE BAD BOY THAT'S BOUNCING EVERYTHING ## 

    elsif ($subname eq "Creditors Edge") { 
    $sender "crededge@domain.com"


    ######################################################## 
    else { 
    $sender "info@domain.com"


    my $email ""

    print 
    "Sending mail to list $subname

    "


    my $dbh DBI->connect("DBI:mysql:cred_usbz:localhost","cred","99999") or die "Could not connect to DB: $!"
    my $sth $dbh->prepare("SELECT EmailAddress, SubscriptionName FROM UserData WHERE SubscriptionName = ?"); 
    $sth->execute($subname); 
    while ((
    $email,$subname) = $sth->fetchrow_array()) { 
    my $msg MIME::Lite->new
    From =>$sender
    To =>$email
    Subject =>$subject
    Data =>$message
    Type =>'text/plain'
    ); 
    $msg->send(); 
    print 
    "Sent message to $email
    "



    $sth->finish(); 
    $dbh->disconnect(); 

    print <
    Message delivered
    END_OF_HTML 
     
  9. Cloak

    Cloak Active Member

    Joined:
    Jun 19, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    My mx record was fine, I'm not sure where you were reading from showing they were wrong.

    I had to edit the domainalias file, it had the wrong user account for the domain. That fixed the one domain, but now I"m having others pop up with errors (infact one this morning I'm trying to track down that is bouncing with the error:

    That's the full error from hotmail.

    I'm still having problems where I'm getting some bounced emails with no reason given, these are ones that were transferred over from another server.

    Edit: Ran /scripts/mailperm and that fixed this account.
     
    #9 Cloak, Jan 19, 2004
    Last edited: Jan 19, 2004
  10. Creazioni1

    Creazioni1 Well-Known Member

    Joined:
    Dec 28, 2003
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Some customer have same problem with mailing list
    Send mailing list to 500 email
    Receive error with
    unrouteable mail domain "hotmail.com
    unrouteable mail domain "inwind.it
    unrouteable mail domain "tin.it

    if send mail with outlook, ahve no problem
     
  11. wipl_piyush

    wipl_piyush Well-Known Member

    Joined:
    Oct 31, 2003
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NY
    Hello ,

    Please check that u must have the entry of the domain in the /etc/localdomains file . Also check that i you have the domain in the /etc/remotedomian file remove them from there. I think this will solve the issue.
     
  12. phantom2

    phantom2 Well-Known Member

    Joined:
    Jan 3, 2004
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    The reason it worked before and not now is more than likely because the ISP the mail is being sent to decided to make reverse DNS a requirement in order for mail to be delivered though their mail servers. Eventually, everybody is going to do it. The only way around it a person using that ISP emails you and you can then respond to them.

    Hope this clears this up for you. Ask your datacenter to set up reverse DNS for you.
     
  13. AlaskanWolf

    AlaskanWolf Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Fremont CA
    this *isnt* a Rdns issue. We are having the exact problem with one of our servers, what caused it is a reformat/restore of the server. Some sites are getting emails, others are not.
     
Loading...

Share This Page