Mail Problems with Hotmail and Spam

chonk

Member
Feb 28, 2015
19
0
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?
 

kamall

Well-Known Member
Mar 17, 2012
46
0
56
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,
 

chonk

Member
Feb 28, 2015
19
0
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.
 

kamall

Well-Known Member
Mar 17, 2012
46
0
56
Bethune France
cPanel Access Level
Root Administrator
Twitter
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.
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,
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
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.