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.

Mail Problems with Hotmail and Spam

Discussion in 'E-mail Discussions' started by chonk, Feb 28, 2015.

  1. chonk

    chonk Member

    Joined:
    Feb 28, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,
    Today i realized that my server has issues with sending mail to hotmail, outlook and gmail.

    Gmail marks as spam, Hotmail doesn't even mark it as spam, it just doesn't appear on anywhere on hotmail.

    I checked exim mainlog it was fine. It's also shown as message accepted. Everything looks well on cpanel side.

    I have 2 servers.

    hostname.com is hosted in myserver1.hostname.com.

    myserver1.hostname.com this is server 1.
    myserver2.hostname.com this is server 2.

    Both server have same domain. myserver1 mail's are great, it's working. myserver2 doesn't working.

    I have A record for myservre2.hostname.com on myserver1.

    What could be the problem? Is it because they both based on same domain? Should I change my hostname for myserver2?
     
  2. kamall

    kamall Active Member

    Joined:
    Mar 17, 2012
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Bethune France
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello chonk,
    here is the code to check which domain is sending spam or maximum mails by root ssh
    grep cwd /var/log/exim_mainlog | grep -v /var/spool | awk -F"cwd=" '{print $2}' | awk '{print $1}' | sort | uniq -c | sort -n

    Once you done look at domains folders check and clean.

    Then now You have to do to stop spam Rbls on I suggest you to check this link.
    http://forums.cpanel.net/f43/how-do-i-block-one-domain-sending-email-my-server-223731-p2.html

    Please check that if your server is black listed in cbl or spam...


    Regards
    Kamal L,
     
  3. chonk

    chonk Member

    Joined:
    Feb 28, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello Kamall,
    On checking latest mail logs I could not see any active spamming from the server and the mail IP is not listed in any of the major RBLs too. There's no spam sending account problem on server.
     
  4. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    To resolve this issues you will have to enable SPF and DKMI for your all account so that your server mails will not land in spam folder.
     
  5. kamall

    kamall Active Member

    Joined:
    Mar 17, 2012
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Bethune France
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello chonk,
    Please check your iptables?
    Did you verified if your server port 25 is open? and exim is functioning correctly. try to stop iptables and try it.If its presiste the problem please contact your data center host provider etc. It may cause also from their networks. The abhove code i gave you try you will see all accounts details of mails sender.

    Regards
    Kamal L,
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Check to ensure that RDNS is enabled for your IP address pointing towards your hostname, and that SPF/DKIM records are created for your domain names.

    Thank you.
     
Loading...

Share This Page