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.

New server - mail problems

Discussion in 'E-mail Discussions' started by HH-Steven, Jun 23, 2005.

  1. HH-Steven

    HH-Steven Well-Known Member

    Joined:
    Aug 29, 2004
    Messages:
    284
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Ok, so ive just got a new server but i cant seem to receive any mail from it :

    1st server works fine, receive all mail fine and so on to :

    admin@domain

    2nd server has been setup using nameservers ns3 & ns4 from the 1st servers primary domain.

    All works fine, created site using ns3 & ns4 no problems, so i dont think its the nameservers.

    Basically, ive installed chkrootkit, rkhunter etc......... but im not receiving the emails for those, neither am i receiving emails upon account creation, suspension etc...... (email has been setup in contact manager) :

    Chkroot Email :
    (hostname & email addresses have been added correctly, just edited the below to hide them)

    Code:
    This message was created automatically by mail delivery software.
    
    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:
    
      admin@domain
        SMTP error from remote mail server after RCPT TO:<admin@domain>:
        host *maindomain* [1st servers ip]: 550-Verification failed for <root@server2.domain>
        550-unrouteable mail domain "server2.domain"
        550 Sender verify failed
    
    ------ This is a copy of the message, including all the headers. ------
    
    Return-path: <root@server2.domain>
    Received: from root by server2.domain with local (Exim 4.51)
    	id 1DlMVg-0000aC-JF
    	for admin@domain; Thu, 23 Jun 2005 08:52:28 +0100
    To: admin@domain
    Subject: Daily chkroot from Website
    Message-Id: <E1DlMVg-0000aC-JF@server2.domain>
    From: root <root@server2.domain>
    Date: Thu, 23 Jun 2005 08:52:28 +0100
    
    
    Account creation :
    (hostname & email addresses have been added correctly, just edited the below to hide them)

    Code:
    This message was created automatically by mail delivery software.
    
    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:
    
      admin@domain
        SMTP error from remote mail server after RCPT TO:<admin@domain>:
        host *maindomain* [1st servers ip]: 550-Verification failed for <root@server2.domain>
        550-unrouteable mail domain "server2.domain"
        550 Sender verify failed
    
    ------ This is a copy of the message, including all the headers. ------
    
    Return-path: <root@server2.domain>
    Received: from root by server2.domain with local (Exim 4.51)
    	id 1DlMag-0000eK-3O
    	for admin@domain; Thu, 23 Jun 2005 08:57:38 +0100
    To: admin@domain
    From: cpanel@server2.domain
    Subject: New account on server2.domain (domain)
    Message-Id: <E1DlMag-0000eK-3O@server2.domain>
    Date: Thu, 23 Jun 2005 08:57:38 +0100
    
    +===================================+
    | New Account Info                  |
    +===================================+
    | Domain: domain.com
    | Ip: ***.**.***.*** (n)
    | HasCgi: y
    | UserName: username
    | PassWord: password
    | CpanelMod: x
    | HomeRoot: /home
    | Quota: unlimited Meg
    | NameServer: ns3.nameserver
    | Contact Email: admin@domain
    +===================================+
    Account was setup by: root (root)
    If anyone thinks they can help ill be happy to send you a pm with the unedited emails i just didnt want to broadcast the hostname, ips. email addresses etc.............

    Thanks for any help
     
  2. HH-Steven

    HH-Steven Well-Known Member

    Joined:
    Aug 29, 2004
    Messages:
    284
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Forgot

    Sorry forgot to include the following, maybe it will help more :

    WHM 10.1.0 cPanel 10.2.0-R82
    CentOS 3.4 i686 - WHM X v3.1.0

    Exim 4.51
     
  3. aby

    aby Well-Known Member

    Joined:
    May 31, 2005
    Messages:
    638
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India

    Please have a check into /etc/resolv.conf.Normally the first entry should be the main server IP followed by name server IP's.But you can try changing it for verifying it.

    ----
    Aby :)
     
  4. HH-Steven

    HH-Steven Well-Known Member

    Joined:
    Aug 29, 2004
    Messages:
    284
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Thanks aby, this is what i see :

    (obviously there not hashed in the file)

    nameserver ***.**.***.186
    nameserver ***.**.***.187

    Which is correct.
     
    #4 HH-Steven, Jun 23, 2005
    Last edited: Jun 23, 2005
  5. aby

    aby Well-Known Member

    Joined:
    May 31, 2005
    Messages:
    638
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    I didn't get you ?
    Normally the entry looks like. First is the main server IP.

    nameserver Server IP
    nameserver *.*.*.*
    nameserver *.*.*.*

    -----
    Aby :)
     
  6. HH-Steven

    HH-Steven Well-Known Member

    Joined:
    Aug 29, 2004
    Messages:
    284
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    This is the full contents of that file :

    #search ***.**.***.reverse.layeredtech.com
    #nameserver ***.**.***.186
    #nameserver ***.**.***.187
    nameserver ***.**.***.186
    nameserver ***.**.***.187
     
  7. HH-Steven

    HH-Steven Well-Known Member

    Joined:
    Aug 29, 2004
    Messages:
    284
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Nevermind, server was set to Stable updates, changed that to release, updated and all is ok.

    Thankyou for trying.

    A mod can close this now if they wish.
     
Loading...

Share This Page