Sinds 2 uur geleden zijn er honderden spam berichten verstuurd via een server. Normaal krijgen we al snel een smsje als er veel e-mail in de queue zit en traceren we de spam-berichten al snel via de php-logger (http://www.webhostgear.com/232.html).
Helaas lijkt de e-mail uit de spamruns nu niet verzonden te zijn via PHP.
E-mail headers:
Qmail server logs:Code:Received: (qmail 12380 invoked from network); 1 Jul 2009 21:21:35 +0200 Received: from olympus.lancasterlibraries.org (HELO User) (208.39.164.55) by server05.onsdomein.nl with SMTP; 1 Jul 2009 21:21:26 +0200 Reply-To: <[email protected]> From: "Mrs Joy Anu"<[email protected]> Subject: PLEASE ENDEAVOUR TO USE IT FOR THE CHILDREN OF GOD Date: Wed, 1 Jul 2009 20:21:59 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1251" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Server messages log:Code:Jul 1 21:01:41 server05 qmail: 1246474901.951303 new msg 25107228 Jul 1 21:01:41 server05 qmail: 1246474901.951336 info msg 25107228: bytes 3577 from <[email protected]> qp 22803 uid 2020 Jul 1 21:01:41 server05 qmail: 1246474901.954900 delivery 181: failure: Sorry,_I_couldn't_find_any_host_named_attbi.com._(#5.1.2)/ Jul 1 21:01:41 server05 qmail: 1246474901.954975 status: local 0/10 remote 19/20 Jul 1 21:01:41 server05 qmail: 1246474901.954992 starting delivery 182: msg 25107000 to remote [email protected] Jul 1 21:01:41 server05 qmail: 1246474901.955006 status: local 0/10 remote 20/20 Jul 1 21:01:41 server05 qmail-remote-handlers[22804]: Handlers Filter before-remote for qmail started ... Jul 1 21:01:41 server05 qmail-remote-handlers[22804]: [email protected] Jul 1 21:01:41 server05 qmail-remote-handlers[22804]: [email protected] Jun 30 21:01:42 server05 qmail: 1246388502.067064 delivery 329: deferral: 155.202.254.83_does_not_like_recipient./Remote_host_said:_452_Too_many_recipients_received_this_hour/Giving_up_on_155.202.254.83./ Jun 30 21:01:42 server05 qmail: 1246388502.067099 status: local 0/10 remote 19/20 Jun 30 21:01:42 server05 qmail: 1246388502.067113 starting delivery 331: msg 38600714 to remote [email protected] Jun 30 21:01:42 server05 qmail: 1246388502.067124 status: local 0/10 remote 20/20 Jun 30 21:01:42 server05 qmail-remote-handlers[19059]: Handlers Filter before-remote for qmail started ... Jun 30 21:01:42 server05 qmail-remote-handlers[19059]: [email protected] Jun 30 21:01:42 server05 qmail-remote-handlers[19059]: [email protected] Jun 30 21:01:42 server05 qmail: 1246388502.211673 delivery 331: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/ Jun 30 21:01:42 server05 qmail: 1246388502.211704 status: local 0/10 remote 19/20 Jun 30 21:01:42 server05 qmail: 1246388502.211718 starting delivery 332: msg 38601211 to remote [email protected] Jun 30 21:01:42 server05 qmail: 1246388502.211733 status: local 0/10 remote 20/20 Jun 30 21:01:42 server05 qmail-remote-handlers[19062]: Handlers Filter before-remote for qmail started ... Jun 30 21:01:42 server05 qmail-remote-handlers[19062]: from= Jun 30 21:01:42 server05 qmail-remote-handlers[19062]: [email protected] Jun 30 21:01:42 server05 qmail: 1246388502.327651 delivery 332: deferral: 155.202.254.83_does_not_like_recipient./Remote_host_said:_452_Too_many_recipients_received_this_hour/Giving_up_on_155.202.254.83./ Jun 30 21:01:42 server05 qmail: 1246388502.327688 status: local 0/10 remote 19/20 Jun 30 21:01:42 server05 qmail: 1246388502.327702 starting delivery 333: msg 38601154 to remote [email protected] Jun 30 21:01:42 server05 qmail: 1246388502.327713 status: local 0/10 remote 20/20 Jun 30 21:01:42 server05 qmail-remote-handlers[19065]: Handlers Filter before-remote for qmail started ... Jun 30 21:01:42 server05 qmail-remote-handlers[19065]: [email protected] Jun 30 21:01:42 server05 qmail-remote-handlers[19065]: [email protected]
De e-mail wordt steeds naar grote lijsten gestuurd, bijv.Code:[root@server05 log]# tail -400 messages | grep 208.39.164.55 Jul 1 22:04:38 server05 xinetd[30619]: START: smtp pid=21697 from=208.39.164.55 Jul 1 22:04:38 server05 xinetd[30619]: START: smtp pid=21698 from=208.39.164.55 Jul 1 22:04:51 server05 xinetd[30619]: START: smtp pid=21823 from=208.39.164.55 Jul 1 22:05:02 server05 xinetd[30619]: START: smtp pid=22123 from=208.39.164.55 [root@server05 log]#Geen van bovenstaande domeinen staat echter op onze server, dus er zou een rcpthosts-melding weergegeven moeten worden. Daarbij moet het niet de bedoeling zijn, dat onze server e-mail wel relayed indien één van de To:-adressen een e-mail adres op onze server bevat.[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
Advies zou welkom zijn! Het uid 2020 die in de logs staat is qmaild, dat geeft ook weinig additionele informatie. Blijkbaar komt de e-mail gewoon vanaf poort 25 binnen (zie ook bovenstaande /var/log/messages).
De e-mail server is geen open relay en geeft bij al mijn tests netjes 'sorry, that domain isn't in my list of allowed rcpthosts'. Ook de test op http://www.checkor.com/ was negatief.
De volgende regel vond ik ook erg verdacht, moet ik dit lezen als... "mail is via apache verstuurd" of als "mail is gestuurd namens [email protected]?Inmiddels is de spamrun gestopt, gezien ik maar één IP hoefte te blokkeren. Zou er wel achter willen komen hoe ik vanaf hier verder zou kunnen troubleshooten. Ik dien te weten welke gebruikersnaam en wachtwoord gebruikt zijn... als die al gebruikt zijn...Code:Jun 30 20:25:29 server05 sendmail[22120]: n5UIPTPu022120: [email protected], ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30803, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (ok 1246386329 qp 22123)

Likes:


Quote
