spamd failed, Crashing a LOT spamd |
![]() ![]() |
spamd failed, Crashing a LOT spamd |
Jan 5 2005, 12:22 AM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 8 Joined: 2-January 05 Member No.: 420 |
Hi!
So far I have got excelent results: CODE =================== RBL Count = 272 spamhaus.org = 143 dsbl.org = 129 ordb.org = 0 =================== Manual = 0 verify fail = 76 No Relay = 13 No Such User = 98 =================== score too high = 63 Forged HELO = 218 virus = 33 invalid attachment = 51 =================== All Spam: /var/log/exim_mainlog:822 /var/log/exim_mainlog.1.gz:1080 /var/log/exim_mainlog.2.gz:1231 /var/log/exim_mainlog.3.gz:68 /var/log/exim_mainlog.4.gz:218 =================== But, I'm geting a LOT of crashes on spamd: CODE spamd failed @ Tue Jan 4 09:56:44 2005. A restart was attempted automagicly. I checked exim_paniclog, and I see a lot of this things: CODE 2005-01-04 11:05:41 1Cls7n-0007yy-E5 spam acl condition: cannot parse spamd output 2005-01-04 11:05:41 1Cls7n-0007yy-E5 spam acl condition: warning - spamd connection to 127.0.0.1, port 783 failed: Connection refused 2005-01-04 11:05:41 1Cls7n-0007yy-E5 spam acl condition: all spamd servers failed 2005-01-04 11:05:41 1Cls7n-0007yy-E5 spam acl condition: warning - spamd connection to 127.0.0.1, port 783 failed: Connection refused 2005-01-04 11:05:41 1Cls7n-0007yy-E5 spam acl condition: all spamd servers failed Someone has any idea of why this continous crashes? |
|
|
|
Jan 5 2005, 10:16 AM
Post
#2
|
|
|
Administrator ![]() ![]() ![]() Group: Admin Posts: 4,252 Joined: 13-June 03 Member No.: 1 |
I still not sure what cause the problem. It seems that something related to cPanel or Exiscan. If you find the error, restart EXIM should resolve the problem. I found this error one time.
|
|
|
|
Jan 6 2005, 03:50 AM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 8 Joined: 2-January 05 Member No.: 420 |
I reboted server, restarted exim, and problem still happens.
I switched back to "normal" exim.conf, and all works perfectly, no crashes of spamd. I was told my server runs out of resources, and start crashing spamd. I'll try a less restrictive config, and then see if crashing dissapears. But well, now that i tasted spam filtering, can't come back ja ne! |
|
|
|
Jan 6 2005, 09:13 AM
Post
#4
|
|
|
Administrator ![]() ![]() ![]() Group: Admin Posts: 4,252 Joined: 13-June 03 Member No.: 1 |
If you still want to use spamd at MTA, you should consider
1. Bring down the messages size that going to scan. Change it to 120K or 150K. 2. Add the sender that usually send email in and out of your server in rv_spam_sender_address_whitelist to reduce spamd load. # Messages larger than 200k are accepted without spam scanning to reduce spamd load accept condition = ${if >{$message_size}{200k}{true}} ## # Reject spam messages with score over 15. # Keep in mind that $spam_score_int is the messages score multiplied by ten. ## deny message = Spam score too high ($spam_score) # Bypass Sender that usually send a lot of emails to reduce spamd load !senders = +rv_spam_sender_address_whitelist spam = mailnull:true/defer_ok condition = ${if >{$spam_score_int}{150}{1}{0}} |
|
|
|
Jan 6 2005, 12:35 PM
Post
#5
|
|
|
Newbie ![]() Group: Members Posts: 8 Joined: 2-January 05 Member No.: 420 |
ok.. i just changed it... i'll check how it performs
thanks for the help something that i noticed is, i didn't chmod 755 of all whitelists (according to tutorial, because i have rvskin). But if i changed settings, they weren't saved. I fixed that chmoding 755 all whitelists. But according to tutorial, should be necesary just to let you know thanks for this lovely guide.. i only have received 1 spam mail ja ne! |
|
|
|
| Guest_Exovian_* |
Nov 9 2005, 04:01 PM
Post
#6
|
|
Guests |
===================
score too high = 63 Forged HELO = 218 virus = 33 invalid attachment = 51 =================== How are you generating that report? |
|
|
|
Nov 13 2005, 12:32 AM
Post
#7
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 13-November 05 Member No.: 778 |
can't solve my problems :s
-------------------- |
|
|
|
Nov 14 2005, 01:34 AM
Post
#8
|
|
|
Administrator ![]() ![]() ![]() Group: Admin Posts: 4,252 Joined: 13-June 03 Member No.: 1 |
QUOTE i have the same problem.. hope someone can help us! Please be more specific. |
|
|
|
Apr 19 2006, 08:08 PM
Post
#9
|
|
|
Member ![]() ![]() Group: Members Posts: 13 Joined: 14-February 06 Member No.: 892 |
i'm having the same problems, like once every few weeks and i have to reboot the server
2006-04-18 21:21:29 1FW1N3-0001lR-2x spam acl condition: warning - spamd connection to 127.0.0.1, port 783 fail$ 2006-04-18 21:21:29 1FW1N3-0001lR-2x spam acl condition: all spamd servers failed 2006-04-18 21:21:29 1FW1N3-0001lR-2x spam acl condition: warning - spamd connection to 127.0.0.1, port 783 fail$ 2006-04-18 21:21:29 1FW1N3-0001lR-2x spam acl condition: all spamd servers failed over and over, rebooting exim usually generates a fail for stoping and then starts it but if i do it again 30 seconds later exim is failed agian, only solution i've found is rebooting, but any help in actually solving the problem would be amazing. |
|
|
|
Apr 20 2006, 07:16 AM
Post
#10
|
|
|
Member ![]() ![]() Group: Members Posts: 13 Joined: 14-February 06 Member No.: 892 |
problem seems to be temporarily fixed, may have had to do with large autowhitelists and bayes seen files, i had about a dozen over 5mb
|
|
|
|
Apr 20 2006, 12:00 PM
Post
#11
|
|
|
Administrator ![]() ![]() ![]() Group: Admin Posts: 4,252 Joined: 13-June 03 Member No.: 1 |
I don't think the bayes files causing the issue.
On my servers, I also find the same issue but it occurs only when the server is overloaded. Not all the time, and spamd will automatically restarted when the load is cooled down. There are 3 new ACLs that not updated in the tutorial yet. You may try it. It consume less CPU. 1. Disable Spam scanning for outgoing email. http://forums.rvskin.com/index.php?s=&show...findpost&p=4901 2. Rearrange the ACL for RBL and unknown user http://forums.rvskin.com/index.php?s=&show...findpost&p=4788 3. Auto blacklist the Server sending high score spam mail to the server. http://forums.rvskin.com/index.php?s=&show...findpost&p=4739 |
|
|
|
Apr 20 2006, 09:36 PM
Post
#12
|
|
|
Member ![]() ![]() Group: Members Posts: 13 Joined: 14-February 06 Member No.: 892 |
i wouldn't mind so much if it just stoped blocking spam during the high load
the problem is it crashes exim and makes it impossible to send mail |
|
|
|
Nov 16 2006, 08:10 PM
Post
#13
|
|
|
Member ![]() ![]() Group: Members Posts: 19 Joined: 16-November 06 Member No.: 2,250 |
I anzlyzed the panic_log and I have exactly the same problem
2006-11-16 08:06:42 1Gkgx0-000240-5U spam acl condition: warning - spamd connection to 127.0.0.1, port 783 failed: Connection refused 2006-11-16 08:06:42 1Gkgx0-000240-5U spam acl condition: all spamd servers failed 2006-11-16 08:06:42 1Gkgx0-000240-5U spam acl condition: warning - spamd connection to 127.0.0.1, port 783 failed: Connection refused 2006-11-16 08:06:42 1Gkgx0-000240-5U spam acl condition: all spamd servers failed 2006-11-16 08:07:13 1GkgxU-0002AP-VY spam acl condition: warning - spamd connection to 127.0.0.1, port 783 failed: Connection refused 2006-11-16 08:07:13 1GkgxU-0002AP-VY spam acl condition: all spamd servers failed 2006-11-16 08:07:13 1GkgxU-0002AP-VY spam acl condition: warning - spamd connection to 127.0.0.1, port 783 failed: Connection refused 2006-11-16 08:07:13 1GkgxU-0002AP-VY spam acl condition: all spamd servers failed 2006-11-16 08:07:13 1GkgxU-0002AP-VY spam acl condition: warning - spamd connection to 127.0.0.1, port 783 failed: Connection refused 2006-11-16 08:07:13 1GkgxU-0002AP-VY spam acl condition: all spamd servers failed each time I restart exim service I receive this apparently all works fine . |
|
|
|
Nov 22 2006, 03:37 PM
Post
#14
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 75 Joined: 22-November 06 Member No.: 2,294 |
Having same problem
2006-11-22 04:03:28 1GmjKP-0000kF-4N spam acl condition: cannot parse spamd output 2006-11-22 04:03:28 1GmjKP-0000kF-4N spam acl condition: error reading from spamd socket: Connection reset by peer 2006-11-22 04:03:28 1GmjKP-0000kF-4N spam acl condition: warning - spamd connection to 127.0.0.1, port 783 failed: Connection refused 2006-11-22 04:03:28 1GmjKP-0000kF-4N spam acl condition: all spamd servers failed Server load is fine. |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 3rd September 2010 - 12:47 AM |