Email Problem - Linux - Plesk

Discussion in 'Site & Server Administration' started by scottlpool2003, Nov 12, 2012.

  1. #1
    Having issues with emails bouncing.

    Checking MXToolBox, I see this problem:

    This leads me to believe it's a problem with the PTR? In the Plesk control panel under the DNS zone for the related individual domain I have : 77.68.58.218 / 24 PTR selecttravelmedia.com.

    Now the server name is server77-68-58-218.live-servers.net but in the DNS template it doesn't allow me to enter the server name, only an IP address.

    I double checked the ME file in SSH and it lists the server name not the IP address.

    What can I do to resolve this error?

    Thanks
     
    scottlpool2003, Nov 12, 2012 IP
  2. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    35
    Best Answers:
    7
    Trophy Points:
    173
    #2
    It's not mandatory that the error reported by MXtoolbox is the reason for emails being rejected. Every mail service has it's own mail policies & they differ. Your email as been rejected by remote mail server. Many reasons behind it. Your server IP has been blacklisted, bad reputation of IP, spam content detected in the email.

    In regards to PTR record, make sure the hostname points to server IP and ask the DC OR your webhost to set the PTR record. They will be able to set PTR record.
     
    MilesWeb, Nov 13, 2012 IP
  3. wetbupa

    wetbupa Peon

    Messages:
    119
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    0
    #3

    Yes, first of all check if your PTR record is correctly set up from the seide of the server or from the side of DC( if they set such records).

    Your SMTP banner does not include your server hostname for some reason.
    Do you have root access to this box? if so then double check if you have completed the 'Basic cpanel/WHM setup' and the hostname of the server is input where ever necessary.

    You can also check the 'change hostname' section in WHM and make sure it is correct, if not then input the correct hostname and save it.

    You will have have to restart exim and all other services after changing the hostname.



    Try the following command /scripts/eximup --force , if you haven't tried it before.

    If you have and that hasn't fixed your exim banner, then you might have to manually fix your exim banner, in your WHM click on Exim Configuration manager >> Advance editor tab

    Search for 'smtp_banner'

    and then make sure the box on the right looks like below, if not copy paste the below into that box.
     
    wetbupa, Nov 14, 2012 IP
  4. scottlpool2003

    scottlpool2003 Well-Known Member

    Messages:
    1,708
    Likes Received:
    49
    Best Answers:
    9
    Trophy Points:
    150
    #4
    Thanks for your help.

    The hostname for the server is server77-68-58-218.live-servers.net

    This makes me think that this should be the PTR? But when I try to edit the PTR it will only accept an IP address. If I change the hostname to the IP address that the PTR is resolving to, will this have a knock-on-effect on other websites hosted on the server?

    Also, the advise given above was for WHM/Cpanel, I'm running Linux Plesk
     
    scottlpool2003, Nov 14, 2012 IP
  5. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    35
    Best Answers:
    7
    Trophy Points:
    173
    #5
    That's not the correct hostname. That's the default web hosts & DC's provide. Set something like server.yourdomain.com. Point the A record to server IP and then set PTR record. To set the PTR record you need to contact your web host OR the DC.
     
    MilesWeb, Nov 14, 2012 IP
  6. scottlpool2003

    scottlpool2003 Well-Known Member

    Messages:
    1,708
    Likes Received:
    49
    Best Answers:
    9
    Trophy Points:
    150
    #6
    Thanks

    I'm not so sure though as the hostname is resolving to the IP address, the PTR record is the IP address and the A record resolves to the IP address so changing them wouldn't make a difference would it?
     
    scottlpool2003, Nov 14, 2012 IP
  7. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    35
    Best Answers:
    7
    Trophy Points:
    173
    #7
    Yes, it will make a difference. It will show your domain name in the signature. If live-servers.net domain is blacklisted domain, most of the mail service providers will reject it as well.
     
    MilesWeb, Nov 14, 2012 IP
  8. scottlpool2003

    scottlpool2003 Well-Known Member

    Messages:
    1,708
    Likes Received:
    49
    Best Answers:
    9
    Trophy Points:
    150
    #8
    Ok so am I correct in thinking that its only the host name that needs changing?

    PTR = 77.68.58.218 > server55-68-58-218.liveservers.net
    A = 77.68.58.218

    So if I change the hostname, the PTR and A records shouldn't be affected as they resolve to the IP address which resolves to the host name. Is this right?

    Thanks
     
    scottlpool2003, Nov 15, 2012 IP
  9. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    35
    Best Answers:
    7
    Trophy Points:
    173
    #9
    Set hostname and point it to server IP. Once done, set PTR on server IP to server's hostname. Hope the below steps simplify it for you.

    1. hostname >> server.domain.com
    2. server.domain.com >> Server IP
    3. Server IP >> server.domain.com
     
    MilesWeb, Nov 20, 2012 IP
  10. scottlpool2003

    scottlpool2003 Well-Known Member

    Messages:
    1,708
    Likes Received:
    49
    Best Answers:
    9
    Trophy Points:
    150
    #10
    If I change the hostname, will this affect any other domains on the server? Also, just out of curiosity, why server.domain.com? Would I need to set a subdomain named server up?
     
    scottlpool2003, Nov 22, 2012 IP
  11. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    35
    Best Answers:
    7
    Trophy Points:
    173
    #11
    No, it won't affect the website functionality of hosted websites. A hostname has to be a FQDN that's the reason I asked to set it to server.domain.com instead of domain.com. There won't be a need to add a sub domain, just point the A record. You don't have to host any website on it though.
     
    MilesWeb, Nov 22, 2012 IP
  12. scottlpool2003

    scottlpool2003 Well-Known Member

    Messages:
    1,708
    Likes Received:
    49
    Best Answers:
    9
    Trophy Points:
    150
    #12
    Sorry I just don't understand.

    If server.domain.com isn't a subdomain, how do I point it to the server IP?
     
    scottlpool2003, Nov 22, 2012 IP
  13. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    35
    Best Answers:
    7
    Trophy Points:
    173
    #13
    What I meant was just edit the zone file for domain.com and point A record for server.domain.com to main server IP. You don't need to add it as a separate sub domain and host under it.
     
    MilesWeb, Nov 22, 2012 IP