Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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 email issue

Discussion in 'E-mail Discussions' started by bolt2010, Nov 29, 2016.

  1. bolt2010

    bolt2010 Member

    Joined:
    Nov 29, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    HI I HAVE A NEW DOMAIN IN GODADDAY example.COM
    I defined on Godaday ns1 and ns2 hostname to - ? ns1 => ip address, ns2=>same io
    and add nameservers ns1.example.com and ns2.example.com now all the configuration outside godaday.

    I have root in vps and installed whm and cpanel. and add hostname : panel.example.com

    all the email are sending fron panel.example.com even from real domain . and any gmail account can not got those emails.
    added example to dns zone but still does not work. tried restart also

    send email from gmail to real domain is working

    how can I fix it

    thx
     
    #1 bolt2010, Nov 29, 2016
    Last edited by a moderator: Nov 30, 2016
  2. bolt2010

    bolt2010 Member

    Joined:
    Nov 29, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    also checked in dns tools and got:
    ip address -> failed message send with: messaging failure: Time out occurred or Remote server closed connection prematurely
     
  3. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    568
    Likes Received:
    40
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Please make sure that MX record and PTR record is set correctly for your domain. You have to verify here intodns.com
    Also, check exim error logs while sending mail from your domain. The error logs will show the exact reason.
     
  4. bolt2010

    bolt2010 Member

    Joined:
    Nov 29, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi how can I check that MX record and PTR record is set correctly for my domain in the WHM

    about results from : intodns.com
    Code:
    :
    1- www- ERROR: I could not get any A records for www.example.com!
    
    (I only do a cache request, if you recently added a WWW A record, it might not show up here.)
    
    2- Your MX records that were reported by your nameservers are:
    
    0 example.com x.x.x.x
    
    [These are all the MX records that I found. If there are some non common MX records at your nameservers you should see them below. ]
    
    
    Your reverse (PTR) record:
    XXXXX-> xxx-reverse.com
    You have reverse (PTR) records for all your IPs, that is a good thing.
    
    
    maybe the problem is with the hostname panel.xyz.com ?
    all the mail are sending from the hostname
     
    #4 bolt2010, Nov 30, 2016
    Last edited by a moderator: Nov 30, 2016
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know the specific steps you are taking to send out email? Also, have you created an individual cPanel account, and then setup email accounts under it?

    Thank you.
     
  6. bolt2010

    bolt2010 Member

    Joined:
    Nov 29, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    hi
    1- I created new Cpanel with WHM
    2- add new domain to goddady and create 2 hostname : ns1 ->ip , ns2- ip
    3- in the cpanel configuration I chose hostname : panel.domain.com
    4 - I created accounts and reseleer . evereything is working well and I do receive emails but can send them
    5 - unkown error or timeout error while I try to send the emails - the sender is : "root@panel.domain.com" - I never opened mail like that

    6- added A entry to my hostname
    (Adding A Entry...Bind reloading on panel using rndc zone: [domain.com] )

    Hostname Server Main IP
    panel.domain.com = > IP

    7. dns zone : I have the following config for : "domain.com"
    smtp, mail,www,ftp,ns1,ns2,pop, panel as a "a" record = > IP
    domain.com. + domain.com. as a NS1+NS2 record = > ns1+ns2
    localhost - a record to -> 127.0.0.1
    mx= > 10 to mail.domain.com.

    the same configuration for "panel.domain.com"
    but : mx= > 10 to mail.panel.domain.com.

    8. WHM Main Menu > Server Contacts > Change System Mail Preferences
    changed it to my gmail and not getting any mail(checked on spam also)

    thx for your support
     
    #6 bolt2010, Dec 1, 2016
    Last edited: Dec 1, 2016
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Could you elaborate on where and when you encounter this issue? Could you post the specific output from /var/log/exim_mainlog for one of the affected messages? EX:

    Code:
    exigrep user@remote-domain /var/log/exim_mainlog
    Thank you.
     
Loading...

Share This Page