Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am the admin and I am getting email on my personal email address, I am getting over 1000 emails per hour with "Test mail" subject line. I have checked as many scripts as i could but cannot figure out what i sending these emails, everything was working fine a couple of days back.

Please help this is very very urgent!

Which linux utilities send you email with "test mail" subject? How can search for my personal email address across all files and folders in linux to pin point which script is sending thsi email?

share|improve this question

1 Answer 1

Try to sniff that port for outgoing messages (tcpdump). Than you will know what is the source port. Check in netstat after that.

hint: tcpdump -ni eth0 dst port 25 -s0 -A

Also, you can check the headers, maybe there is the signature. Are the messages sent from your mail server or to your mail server? If are sent to your mail server, in tcpdump change dst with src

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.