| Linode Forum https://forum.linode.com/ |
|
| postfix + clamd + clamsmtp problems https://forum.linode.com/viewtopic.php?f=11&t=1206 |
Page 1 of 1 |
| Author: | schmichael [ Thu Sep 30, 2004 4:46 pm ] |
| Post subject: | postfix + clamd + clamsmtp problems |
I'm using postfix + clamd + clamsmtp + freshclam in Debian Sarge (testing). It was easy to setup, and seems fast. However, in a 24 hour period I've had clam mysteriously start returning error messages 6+ times. This causes postfix to queue all e-mails. I can fix this by restarting both clamd & clamsmtp, and then flushing postfix's queue. But I can't figure out why clam stops working in the first place! Here's some excerpts from mail.log. I can't see exactly what's causing the problem. Code: 09:42:50 clamsmtpd: 1000BF: accepted connection from: 127.0.0.1 |
|
| Author: | pclissold [ Fri Oct 01, 2004 5:58 am ] |
| Post subject: | |
Sarge currently includes clamsmtp 0.8. The problem of clamsmtp bombing on some but not all connections (coupled with excessive cpu usage) is a known bug in versions up to and including 0.9 (see here). An upgrade to 0.9.5 would be the first thing to try. |
|
| Author: | schmichael [ Fri Oct 01, 2004 5:06 pm ] |
| Post subject: | |
Thanks for the tip. I upgraded to clamsmtp-0.9-1 in Debian Unstable, and it's been working great all day. However, just recently it seems to have returned an error twice, but then continued working. I restarted clamsmtp & flushed postfix's queue just to be safe. I'd like to upgrade to 0.9.5, but there isn't a Debian package for that release yet. I've used Slackware a lot more than Debian, so I'm used to compiling programs myself. However, I've been trying to play by Debian's rules with my Linode (its our production server!). Should I just go ahead and compile 0.9.5 myself? Should I contact the Debian package maintainer? I don't know how Debian package issues usually work. Clarification: It appears to throw an error (451 Local Error) & queue an e-mail when a spammer floods one of my clients who insists on having a catch-all address. clamsmtp seems to recover on its own & good e-mails still get through. Maybe it's a feature |
|
| Author: | pclissold [ Fri Oct 01, 2004 5:52 pm ] |
| Post subject: | |
Now I've read the change log, rather than relying on the faq page, I see that the problems with clamsmtp bombing when too many threads were created was actually fixed in 0.9, along with a couple of other stability problems. You are probably OK sticking with 0.9. |
|
| Author: | schmichael [ Tue Oct 05, 2004 3:22 pm ] |
| Post subject: | |
It still started giving me 451 errors & queueing a bunch of e-mails. Not nearly as bad as before. I'm not even sure if it wouldn't eventually send them given time. However time is one thing I don't have right now (angry users). I've disabled it for now and will probably attempt to troubleshoot it some day when I have time off peak hours. The developer did tell me a 1.0 version should be released soon. I'd like to stick with clamsmtp since it seems much lighter weight than other solutions I've seen (like amavis). |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|