Mam dosyć spory problem. Od kilku dni zauważyłem próby wysyłania z (i na) mojego serwera ogromnej ilości spamu (kilka/kilkadziesiąt prób wysłania wiadomości na sekundę). Większość wiadomości nie zostaje wysłana (czy to przez SpamAssassina, czy konfiguracją postfixa, czy też przez to, że już mój serwer trafił na większość list antyspamowych). Jednak, mimo tego, przez ogromną ilość tych prób zasoby serwera mocno się wyczerpują - po włączeniu postfixa, obciążenie od razu skacze do wartości 9, 10, a mail.log rośnie tak, że w ciągu godziny potrafi ważyć 1GB.
Szczerze mówiąc, nie wiem, co zrobić - wydaje mi się, że mam dosyć dobrą konfigurację postfixa (konfig jak tutaj z połączeniem ze SpamAssassinem), która SPAM-u nie przepuszcza, lecz po prostu ilość prób jego wysłania wszystko "wiesza".
Może ktoś ma jakiś pomysł, co zrobić, by jednocześnie nie dopuścić do wysyłki SPAM-u oraz zmniejszyć przy tym obciążenie? Dodam, że (jeśli to ma jakieś znaczenie) spam nie jest wysyłany z jakiegoś dziurawego skryptu PHP (po wyłączeniu nginx nadal to samo, plus w nagłówkach spamowych wiadomości nic nie ma, co wiązałoby je z PHP...).
Poniżej przykładowy wycinek, co się dzieje w logach podczas jednej sekundy.
Kod: Zaznacz cały
Nov 3 01:09:57 ks22865 postfix/smtp[6248]: 92A2280AD0: to=<[email protected]>, relay=mx1.hotmail.com[65.54.188.94]:25, delay=95, delays=94/0/0.46/0.15, dsn=5.0.0, status=bounced (host mx1.hotmail.com[65.54.188.94] said: 550 OU-002 (BAY0-MC2-F20) Unfortunately, messages from 91.121.8.155 weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to [URL]http://mail.live.com/mail/troubleshooting.aspx#errors[/URL]. (in reply to MAIL FROM command))Nov 3 01:09:57 ks22865 postfix/smtp[6337]: 6E12880AEE: to=<[email protected]>, relay=mx3.hotmail.com[65.54.188.94]:25, delay=190, delays=190/0/0.46/0.15, dsn=5.0.0, status=bounced (host mx3.hotmail.com[65.54.188.94] said: 550 OU-002 (BAY0-MC2-F49) Unfortunately, messages from 91.121.8.155 weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to [URL]http://mail.live.com/mail/troubleshooting.aspx#errors[/URL]. (in reply to MAIL FROM command))
Nov 3 01:09:57 ks22865 postfix/smtp[6259]: A46D18099B: to=<[email protected]>, relay=mx1.hotmail.com[65.55.37.72]:25, delay=166, delays=165/0/0.48/0.16, dsn=5.0.0, status=bounced (host mx1.hotmail.com[65.55.37.72] said: 550 OU-002 (COL0-MC1-F1) Unfortunately, messages from 91.121.8.155 weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to [URL]http://mail.live.com/mail/troubleshooting.aspx#errors[/URL]. (in reply to MAIL FROM command))
Nov 3 01:09:57 ks22865 postfix/smtp[6248]: 92A2280AD0: lost connection with mx1.hotmail.com[65.54.188.94] while sending RCPT TO
Nov 3 01:09:57 ks22865 postfix/smtp[6337]: 6E12880AEE: lost connection with mx3.hotmail.com[65.54.188.94] while sending RCPT TO
Nov 3 01:09:57 ks22865 postfix/smtp[6259]: A46D18099B: lost connection with mx1.hotmail.com[65.55.37.72] while sending RCPT TO
Nov 3 01:09:57 ks22865 postfix/smtp[6239]: B0EB181D35: to=<[email protected]>, relay=mx2.hotmail.com[65.55.92.184]:25, delay=163, delays=162/0/0.35/0.12, dsn=5.0.0, status=bounced (host mx2.hotmail.com[65.55.92.184] said: 550 OU-002 (SNT0-MC4-F45) Unfortunately, messages from 91.121.8.155 weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to [URL]http://mail.live.com/mail/troubleshooting.aspx#errors[/URL]. (in reply to MAIL FROM command))
Nov 3 01:09:57 ks22865 postfix/smtp[6267]: D1C02809A0: to=<[email protected]>, relay=mx4.hotmail.com[65.55.37.104]:25, delay=200, delays=200/0/0.47/0.16, dsn=5.0.0, status=bounced (host mx4.hotmail.com[65.55.37.104] said: 550 OU-002 (COL0-MC3-F5) Unfortunately, messages from 91.121.8.155 weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to [URL]http://mail.live.com/mail/troubleshooting.aspx#errors[/URL]. (in reply to MAIL FROM command))
Nov 3 01:09:57 ks22865 postfix/smtp[6239]: B0EB181D35: lost connection with mx2.hotmail.com[65.55.92.184] while sending RCPT TO
Nov 3 01:09:57 ks22865 postfix/smtp[6267]: D1C02809A0: lost connection with mx4.hotmail.com[65.55.37.104] while sending RCPT TO
Nov 3 01:09:57 ks22865 postfix/smtp[6256]: E0DB2808E4: to=<[email protected]>, relay=mx2.hotmail.com[65.55.37.120]:25, delay=192, delays=192/0/0.49/0.16, dsn=5.0.0, status=bounced (host mx2.hotmail.com[65.55.37.120] said: 550 OU-002 (COL0-MC4-F17) Unfortunately, messages from 91.121.8.155 weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to [URL]http://mail.live.com/mail/troubleshooting.aspx#errors[/URL]. (in reply to MAIL FROM command))
Nov 3 01:09:57 ks22865 postfix/smtp[6247]: BF7A0832DE: to=<[email protected]>, relay=mx4.hotmail.com[65.55.37.88]:25, delay=195, delays=195/0.01/0.48/0.16, dsn=5.0.0, status=bounced (host mx4.hotmail.com[65.55.37.88] said: 550 OU-002 (COL0-MC2-F21) Unfortunately, messages from 91.121.8.155 weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to [URL]http://mail.live.com/mail/troubleshooting.aspx#errors[/URL]. (in reply to MAIL FROM command))
Nov 3 01:09:57 ks22865 postfix/smtp[6247]: BF7A0832DE: lost connection with mx4.hotmail.com[65.55.37.88] while sending RCPT TO
Nov 3 01:09:57 ks22865 postfix/smtp[6256]: E0DB2808E4: lost connection with mx2.hotmail.com[65.55.37.120] while sending RCPT TO
Nov 3 01:09:57 ks22865 postfix/cleanup[6753]: 0E2C68367C: message-id=<[email protected]>
Nov 3 01:09:57 ks22865 postfix/cleanup[6760]: 0DE1483678: message-id=<[email protected]>
Nov 3 01:09:57 ks22865 postfix/cleanup[6785]: 0DF1C8367A: message-id=<[email protected]>
Nov 3 01:09:57 ks22865 postfix/cleanup[6661]: 0E0C88367B: message-id=<[email protected]>
Nov 3 01:09:57 ks22865 postfix/cleanup[6764]: 0E9E38367D: message-id=<[email protected]>
Nov 3 01:09:57 ks22865 postfix/cleanup[6799]: 100BC8367E: message-id=<[email protected]>
Nov 3 01:09:57 ks22865 postfix/cleanup[6800]: 114218367F: message-id=<[email protected]>
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 100BC8367E: from=<>, size=3063, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/pickup[6231]: 161C580C2D: uid=1022 from=<ronly>
Nov 3 01:09:57 ks22865 postfix/cleanup[6788]: 161C580C2D: message-id=<[email protected]>
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 0DF1C8367A: from=<>, size=3061, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 0E9E38367D: from=<>, size=3053, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 114218367F: from=<>, size=3061, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 0E2C68367C: from=<>, size=3070, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 0DE1483678: from=<>, size=2762, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 0E0C88367B: from=<>, size=3061, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: CD39D80E42: from=<[email protected]>, size=87380, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/bounce[6261]: A46D18099B: sender non-delivery notification: 0DF1C8367A
Nov 3 01:09:57 ks22865 postfix/bounce[6343]: E0DB2808E4: sender non-delivery notification: 114218367F
Nov 3 01:09:57 ks22865 postfix/bounce[6348]: 92A2280AD0: sender non-delivery notification: 0DE1483678
Nov 3 01:09:57 ks22865 postfix/bounce[6235]: B0EB181D35: sender non-delivery notification: 0E2C68367C
Nov 3 01:09:57 ks22865 postfix/bounce[6316]: D1C02809A0: sender non-delivery notification: 0E9E38367D
Nov 3 01:09:57 ks22865 postfix/bounce[6309]: BF7A0832DE: sender non-delivery notification: 100BC8367E
Nov 3 01:09:57 ks22865 postfix/bounce[6275]: 6E12880AEE: sender non-delivery notification: 0E0C88367B
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 161C580C2D: from=<[email protected]>, size=87392, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: E0DB2808E4: removed
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: A46D18099B: removed
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 92A2280AD0: removed
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: B0EB181D35: removed
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: D1C02809A0: removed
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: BF7A0832DE: removed
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 6E12880AEE: removed
Nov 3 01:09:57 ks22865 postfix/local[6617]: 100BC8367E: to=<[email protected]>, relay=local, delay=0.12, delays=0.03/0/0/0.09, dsn=4.3.0, status=deferred (temporary failure)
Nov 3 01:09:57 ks22865 postfix/local[6621]: 0DF1C8367A: to=<[email protected]>, relay=local, delay=0.12, delays=0.04/0/0/0.09, dsn=4.3.0, status=deferred (temporary failure)
Nov 3 01:09:57 ks22865 postfix/pickup[6231]: 2C73B808E4: uid=1022 from=<ronly>
Nov 3 01:09:57 ks22865 postfix/cleanup[6800]: 2C73B808E4: message-id=<[email protected]>
cNov 3 01:09:57 ks22865 postfix/qmgr[6232]: 2C73B808E4: from=<[email protected]>, size=87377, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/pickup[6231]: 3D3B080AD0: uid=1022 from=<ronly>
Nov 3 01:09:57 ks22865 postfix/cleanup[6661]: 3D3B080AD0: message-id=<[email protected]>
Nov 3 01:09:57 ks22865 postfix/local[6663]: 0E9E38367D: to=<[email protected]>, relay=local, delay=0.21, delays=0.03/0.09/0/0.09, dsn=4.3.0, status=deferred (temporary failure)
Nov 3 01:09:57 ks22865 postfix/local[6617]: 114218367F: to=<[email protected]>, relay=local, delay=0.21, delays=0.03/0.09/0/0.09, dsn=4.3.0, status=deferred (temporary failure)
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 3D3B080AD0: from=<[email protected]>, size=87380, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/pickup[6231]: 4C2F080BAB: uid=1022 from=<ronly>
Nov 3 01:09:57 ks22865 postfix/cleanup[6760]: 4C2F080BAB: message-id=<[email protected]>
/Nov 3 01:09:57 ks22865 postfix/local[6621]: 0E2C68367C: to=<[email protected]>, relay=local, delay=0.29, delays=0.04/0.18/0/0.07, dsn=4.3.0, status=deferred (temporary failure)
Nov 3 01:09:57 ks22865 postfix/local[6617]: 0DE1483678: to=<[email protected]>, relay=local, delay=0.29, delays=0.04/0.18/0/0.07, dsn=4.3.0, status=deferred (temporary failure)
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 4C2F080BAB: from=<[email protected]>, size=87368, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/pickup[6231]: 5D62E80B7F: uid=1022 from=<ronly>
Nov 3 01:09:57 ks22865 postfix/cleanup[6800]: 5D62E80B7F: message-id=<[email protected]>
Nov 3 01:09:57 ks22865 postfix/local[6663]: 0E0C88367B: to=<[email protected]>, relay=local, delay=0.44, delays=0.04/0.25/0/0.16, dsn=4.3.0, status=deferred (temporary failure)
Nov 3 01:09:57 ks22865 postfix/smtp[6340]: 06024809D1: to=<[email protected]>, relay=mx4.hotmail.com[65.55.37.120]:25, delay=176, delays=175/0/0.48/0.16, dsn=5.0.0, status=bounced (host mx4.hotmail.com[65.55.37.120] said: 550 OU-002 (COL0-MC4-F34) Unfortunately, messages from 91.121.8.155 weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to [URL]http://mail.live.com/mail/troubleshooting.aspx#errors[/URL]. (in reply to MAIL FROM command))
Nov 3 01:09:57 ks22865 postfix/smtp[6340]: 06024809D1: lost connection with mx4.hotmail.com[65.55.37.120] while sending RCPT TO
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 5D62E80B7F: from=<[email protected]>, size=87371, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/pickup[6231]: 995A280856: uid=1022 from=<ronly>
Nov 3 01:09:57 ks22865 postfix/cleanup[6753]: 995A280856: message-id=<[email protected]>
Nov 3 01:09:57 ks22865 postfix/cleanup[6661]: 9A09C83314: message-id=<[email protected]>
Nov 3 01:09:57 ks22865 postfix/smtp[6260]: 161C580C2D: to=<[email protected]>, relay=mx3.hotmail.com[65.55.92.136]:25, delay=168, delays=167/0/0.35/0.12, dsn=5.0.0, status=bounced (host mx3.hotmail.com[65.55.92.136] said: 550 OU-002 (SNT0-MC1-F25) Unfortunately, messages from 91.121.8.155 weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to [URL]http://mail.live.com/mail/troubleshooting.aspx#errors[/URL]. (in reply to MAIL FROM command))
Nov 3 01:09:57 ks22865 postfix/smtp[6260]: 161C580C2D: lost connection with mx3.hotmail.com[65.55.92.136] while sending RCPT TO
Nov 3 01:09:57 ks22865 postfix/cleanup[6785]: A5FA28366F: message-id=<[email protected]>
Nov 3 01:09:57 ks22865 postfix/bounce[6275]: 06024809D1: sender non-delivery notification: 9A09C83314
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 995A280856: from=<[email protected]>, size=87380, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/pickup[6231]: AC6FC80AB1: uid=1022 from=<ronly>
Nov 3 01:09:57 ks22865 postfix/cleanup[6788]: AC6FC80AB1: message-id=<[email protected]>
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 06024809D1: removed
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 9A09C83314: from=<>, size=3082, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: A5FA28366F: from=<>, size=3079, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/smtp[6258]: CD39D80E42: to=<[email protected]>, relay=mx2.hotmail.com[65.54.188.126]:25, delay=180, delays=179/0/0.45/0.15, dsn=5.0.0, status=bounced (host mx2.hotmail.com[65.54.188.126] said: 550 OU-002 (BAY0-MC4-F38) Unfortunately, messages from 91.121.8.155 weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to [URL]http://mail.live.com/mail/troubleshooting.aspx#errors[/URL]. (in reply to MAIL FROM command))
Nov 3 01:09:57 ks22865 postfix/bounce[6235]: 161C580C2D: sender non-delivery notification: A5FA28366F
Nov 3 01:09:57 ks22865 postfix/smtp[6258]: CD39D80E42: lost connection with mx2.hotmail.com[65.54.188.126] while sending RCPT TO
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: AC6FC80AB1: from=<[email protected]>, size=87368, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: 161C580C2D: removed
Nov 3 01:09:57 ks22865 postfix/cleanup[6760]: B76EE80C2D: message-id=<[email protected]>
Nov 3 01:09:57 ks22865 postfix/local[6617]: 9A09C83314: to=<[email protected]>, relay=local, delay=0.2, delays=0.08/0/0/0.13, dsn=4.3.0, status=deferred (temporary failure)
Nov 3 01:09:57 ks22865 postfix/local[6621]: A5FA28366F: to=<[email protected]>, relay=local, delay=0.16, delays=0.03/0/0/0.13, dsn=4.3.0, status=deferred (temporary failure)
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: B76EE80C2D: from=<>, size=3068, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/pickup[6231]: CC51781896: uid=1022 from=<ronly>
Nov 3 01:09:57 ks22865 postfix/cleanup[6661]: CC51781896: message-id=<[email protected]>
Nov 3 01:09:57 ks22865 postfix/smtp[6239]: 3D3B080AD0: to=<[email protected]>, relay=mx2.hotmail.com[65.55.92.184]:25, delay=182, delays=182/0/0.36/0.12, dsn=5.0.0, status=bounced (host mx2.hotmail.com[65.55.92.184] said: 550 OU-002 (SNT0-MC4-F10) Unfortunately, messages from 91.121.8.155 weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to [URL]http://mail.live.com/mail/troubleshooting.aspx#errors[/URL]. (in reply to MAIL FROM command))
Nov 3 01:09:57 ks22865 postfix/bounce[6316]: CD39D80E42: sender non-delivery notification: B76EE80C2D
Nov 3 01:09:57 ks22865 postfix/smtp[6239]: 3D3B080AD0: lost connection with mx2.hotmail.com[65.55.92.184] while sending RCPT TO
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: CC51781896: from=<[email protected]>, size=87374, nrcpt=1 (queue active)
Nov 3 01:09:57 ks22865 postfix/qmgr[6232]: CD39D80E42: removed
Nov 3 01:09:57 ks22865 postfix/cleanup[6753]: E684980E42: message-id=<[email protected]>
Nov 3 01:09:58 ks22865 postfix/smtp[6271]: 2C73B808E4: to=<[email protected]>, relay=mx4.hotmail.com[65.55.37.104]:25, delay=174, delays=173/0/0.47/0.16, dsn=5.0.0, status=bounced (host mx4.hotmail.com[65.55.37.104] said: 550 OU-002 (COL0-MC3-F36) Unfortunately, messages from 91.121.8.155 weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to [URL]http://mail.live.com/mail/troubleshooting.aspx#errors[/URL]. (in reply to MAIL FROM command))
Nov 3 01:09:58 ks22865 postfix/local[6663]: B76EE80C2D: to=<[email protected]>, relay=local, delay=0.29, delays=0.09/0/0/0.2, dsn=4.3.0, status=deferred (temporary failure)
Nov 3 01:09:58 ks22865 postfix/smtp[6271]: 2C73B808E4: lost connection with mx4.hotmail.com[65.55.37.104] while sending RCPT TO
Nov 3 01:09:58 ks22865 postfix/qmgr[6232]: E684980E42: from=<>, size=3067, nrcpt=1 (queue active)
Nov 3 01:09:58 ks22865 postfix/pickup[6231]: 0B1AA80B3D: uid=1022 from=<ronly>
Nov 3 01:09:58 ks22865 postfix/cleanup[6785]: 0B1AA80B3D: message-id=<[email protected]>
Nov 3 01:09:58 ks22865 postfix/cleanup[6799]: 0BBAB83676: message-id=<[email protected]>