[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

3.2

Spam attack

Asked by GuildOfDruids in SendMail Email Server, Anti-Spam Email Software, Linux

I have recently setup centos 5.3  for webserver (apache) with default settings for sendmail (which is pre installed with default settings)

for some reasons server was a bit slow so I logged in and typed 'top' which showed me that sendmail is using a lot memory so I checked maillog and found that someone is spamming the hell out of the server. Mail Logs are coded below.

I checked the mail queue  ls /var/spool/mqueue and it was filled with million of messages. I tried to rm -rf * but it was too much for the server to delete. Then I deleted them in chunks.

But I'm still getting these messages with 10 messages per second or may be my server is sending them 10 messages per second I dont know how can I find that where is it comming from who is triggering them.

I think some is trying to send them from my server but how to troubleshoot them ..

Please help me

Thanks
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
Sep 17 12:54:55 mydomainsendmail[14212]: n8HBstwU014212: to=mydomain.co.uk@googlemail.com,"Juliane KIRPALANI" <zen30016@zen'co.uk>, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60250, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n8HBstAN014213 Message accepted for delivery)
Sep 17 12:54:55 mydomainsendmail[14215]: n8HBstAN014213: to=<mydomain.co.uk@googlemail.com>, ctladdr=<apache@mydomain.local> (48/48), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=150435, relay=alt4.gmail-smtp-in.l.google.com. [216.239.59.27], dsn=4.0.0, stat=Deferred: 421-4.7.0 [217.8.243.199] Our system has detected an unusual amount of
Sep 17 12:54:55 mydomainsendmail[14215]: n8HBstAN014213: to=<zen30016@zen'co.uk>, ctladdr=<apache@mydomain.local> (48/48), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=150435, relay=zen'co.uk, dsn=5.1.2, stat=Host unknown (Name server: zen'co.uk: host not found)
Sep 17 12:54:55 mydomainsendmail[14215]: n8HBstAN014213: n8HBstAN014215: DSN: Host unknown (Name server: zen'co.uk: host not found)
Sep 17 12:54:55 mydomainsendmail[14215]: n8HBstAN014215: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31633, dsn=2.0.0, stat=Sent
Sep 17 12:54:58 mydomainsendmail[14222]: n8HBsw07014222: from=apache, size=250, class=0, nrcpts=2, msgid=<200909171154.n8HBsw07014222@mydomain.local>, relay=apache@localhost
Sep 17 12:54:58 mydomainsendmail[14223]: n8HBswrw014223: from=<apache@mydomain.local>, size=435, class=0, nrcpts=2, msgid=<200909171154.n8HBsw07014222@mydomain.local>, proto=ESMTP, daemon=MTA, relay=mydomain.local [127.0.0.1]
Sep 17 12:54:58 mydomainsendmail[14222]: n8HBsw07014222: to=mydomain.co.uk@googlemail.com,"Juliane KIRPALANI" <zen30016@zen'co.uk>, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60250, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n8HBswrw014223 Message accepted for delivery)
Sep 17 12:54:58 mydomainsendmail[14225]: n8HBswrw014223: to=<mydomain.co.uk@googlemail.com>, ctladdr=<apache@mydomain.local> (48/48), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=150435, relay=alt4.gmail-smtp-in.l.google.com. [216.239.59.27], dsn=4.0.0, stat=Deferred: 421-4.7.0 [217.8.243.199] Our system has detected an unusual amount of
Sep 17 12:54:58 mydomainsendmail[14225]: n8HBswrw014223: to=<zen30016@zen'co.uk>, ctladdr=<apache@mydomain.local> (48/48), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=150435, relay=zen'co.uk, dsn=5.1.2, stat=Host unknown (Name server: zen'co.uk: host not found)
Sep 17 12:54:58 mydomainsendmail[14225]: n8HBswrw014223: n8HBswrw014225: DSN: Host unknown (Name server: zen'co.uk: host not found)
Sep 17 12:54:58 mydomainsendmail[14225]: n8HBswrw014225: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31633, dsn=2.0.0, stat=Sent
Sep 17 12:54:59 mydomainsendmail[14228]: n8HBsxvu014228: from=apache, size=639, class=0, nrcpts=2, msgid=<200909171154.n8HBsxvu014228@mydomain.local>, relay=apache@localhost
Sep 17 12:54:59 mydomainsendmail[14229]: n8HBsxVg014229: from=<apache@mydomain.local>, size=824, class=0, nrcpts=2, msgid=<200909171154.n8HBsxvu014228@mydomain.local>, proto=ESMTP, daemon=MTA, relay=mydomain.local [127.0.0.1]
Sep 17 12:54:59 mydomainsendmail[14228]: n8HBsxvu014228: to=mydomain.co.uk@googlemail.com,"Jon Puckey" <jonpuckey@yahoo.co.uk>, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60639, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n8HBsxVg014229 Message accepted for delivery)
Sep 17 12:55:00 mydomainsendmail[14231]: n8HBsxVg014229: to=<mydomain.co.uk@googlemail.com>, ctladdr=<apache@mydomain.local> (48/48), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=150824, relay=alt4.gmail-smtp-in.l.google.com. [216.239.59.27], dsn=4.0.0, stat=Deferred: 421-4.7.0 [217.8.243.199] Our system has detected an unusual amount of
Sep 17 12:55:00 mydomainsendmail[14231]: n8HBsxVg014229: to=<jonpuckey@yahoo.co.uk>, ctladdr=<apache@mydomain.local> (48/48), delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=150824, relay=mx2.mail.eu.yahoo.com. [77.238.177.142], dsn=2.0.0, stat=Sent (ok dirdel)
Sep 17 12:55:01 mydomainsendmail[14234]: n8HBt1Fm014234: from=apache, size=250, class=0, nrcpts=2, msgid=<200909171155.n8HBt1Fm014234@mydomain.local>, relay=apache@localhost
Sep 17 12:55:01 mydomainsendmail[14235]: n8HBt1oo014235: from=<apache@mydomain.local>, size=435, class=0, nrcpts=2, msgid=<200909171155.n8HBt1Fm014234@mydomain.local>, proto=ESMTP, daemon=MTA, relay=mydomain.local [127.0.0.1]
Sep 17 12:55:01 mydomainsendmail[14234]: n8HBt1Fm014234: to=mydomain.co.uk@googlemail.com,"Juliane KIRPALANI" <zen30016@zen'co.uk>, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60250, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n8HBt1oo014235 Message accepted for delivery)
Sep 17 12:55:01 mydomainsendmail[14237]: n8HBt1oo014235: to=<mydomain.co.uk@googlemail.com>, ctladdr=<apache@mydomain.local> (48/48), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=150435, relay=alt4.gmail-smtp-in.l.google.com. [216.239.59.27], dsn=4.0.0, stat=Deferred: 421-4.7.0 [217.8.243.199] Our system has detected an unusual amount of
Sep 17 12:55:01 mydomainsendmail[14237]: n8HBt1oo014235: to=<zen30016@zen'co.uk>, ctladdr=<apache@mydomain.local> (48/48), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=150435, relay=zen'co.uk, dsn=5.1.2, stat=Host unknown (Name server: zen'co.uk: host not found)
Sep 17 12:55:01 mydomainsendmail[14237]: n8HBt1oo014235: n8HBt1oo014237: DSN: Host unknown (Name server: zen'co.uk: host not found)
Sep 17 12:55:01 mydomainsendmail[14237]: n8HBt1oo014237: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31633, dsn=2.0.0, stat=Sent
Sep 17 12:55:04 mydomainsendmail[14240]: n8HBt4ln014240: from=apache, size=250, class=0, nrcpts=2, msgid=<200909171155.n8HBt4ln014240@mydomain.local>, relay=apache@localhost
Sep 17 12:55:04 mydomainsendmail[14241]: n8HBt4CN014241: from=<apache@mydomain.local>, size=435, class=0, nrcpts=2, msgid=<200909171155.n8HBt4ln014240@mydomain.local>, proto=ESMTP, daemon=MTA, relay=mydomain.local [127.0.0.1]
Sep 17 12:55:04 mydomainsendmail[14240]: n8HBt4ln014240: to=mydomain.co.uk@googlemail.com,"Juliane KIRPALANI" <zen30016@zen'co.uk>, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60250, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n8HBt4CN014241 Message accepted for delivery)
Sep 17 12:55:04 mydomainsendmail[14243]: n8HBt4CN014241: to=<mydomain.co.uk@googlemail.com>, ctladdr=<apache@mydomain.local> (48/48), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=150435, relay=alt4.gmail-smtp-in.l.google.com. [216.239.59.27], dsn=4.0.0, stat=Deferred: 421-4.7.0 [217.8.243.199] Our system has detected an unusual amount of
Sep 17 12:55:04 mydomainsendmail[14243]: n8HBt4CN014241: to=<zen30016@zen'co.uk>, ctladdr=<apache@mydomain.local> (48/48), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=150435, relay=zen'co.uk, dsn=5.1.2, stat=Host unknown (Name server: zen'co.uk: host not found)
Sep 17 12:55:04 mydomainsendmail[14243]: n8HBt4CN014241: n8HBt4CN014243: DSN: Host unknown (Name server: zen'co.uk: host not found)
Sep 17 12:55:04 mydomainsendmail[14243]: n8HBt4CN014243: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31633, dsn=2.0.0, stat=Sent
Sep 17 12:55:07 mydomainsendmail[14245]: n8HBt7Pw014245: from=apache, size=250, class=0, nrcpts=2, msgid=<200909171155.n8HBt7Pw014245@mydomain.local>, relay=apache@localhost
Sep 17 12:55:07 mydomainsendmail[14246]: n8HBt7OZ014246: from=<apache@mydomain.local>, size=435, class=0, nrcpts=2, msgid=<200909171155.n8HBt7Pw014245@mydomain.local>, proto=ESMTP, daemon=MTA, relay=mydomain.local [127.0.0.1]
Sep 17 12:55:07 mydomainsendmail[14245]: n8HBt7Pw014245: to=mydomain.co.uk@googlemail.com,"Juliane KIRPALANI" <zen30016@zen'co.uk>, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60250, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n8HBt7OZ014246 Message accepted for delivery)
Sep 17 12:55:07 mydomainsendmail[14249]: n8HBt7OZ014246: to=<mydomain.co.uk@googlemail.com>, ctladdr=<apache@mydomain.local> (48/48), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=150435, relay=alt4.gmail-smtp-in.l.google.com. [216.239.59.27], dsn=4.0.0, stat=Deferred: 421-4.7.0 [217.8.243.199] Our system has detected an unusual amount of
Sep 17 12:55:07 mydomainsendmail[14249]: n8HBt7OZ014246: to=<zen30016@zen'co.uk>, ctladdr=<apache@mydomain.local> (48/48), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=150435, relay=zen'co.uk, dsn=5.1.2, stat=Host unknown (Name server: zen'co.uk: host not found)
Sep 17 12:55:07 mydomainsendmail[14249]: n8HBt7OZ014246: n8HBt7OZ014249: DSN: Host unknown (Name server: zen'co.uk: host not found)
Sep 17 12:55:07 mydomainsendmail[14249]: n8HBt7OZ014249: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31633, dsn=2.0.0, stat=Sent
[+][-]09/17/09 05:45 AM, ID: 25355381Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: SendMail Email Server, Anti-Spam Email Software, Linux
Sign Up Now!
Solution Provided By: vikingtechnologies
Participating Experts: 2
Solution Grade: A
 
[+][-]09/17/09 07:33 AM, ID: 25356697Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]09/17/09 07:54 AM, ID: 25356938Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625