Re: [vchkpw] Spamassassin + Clamav Antivirus + vpopmail
On Wednesday 28 January 2004 08:07 am, Tom Walsh wrote: [snip] > > > You can run: > > > > > > cat /path/to/known/spam/message | spamassassin -D > > > > you should be using spamc and not spamassassin. > > > > spamd/spamc is a much better combination, especially on > > heavily loaded servers. > > Jeremy, > > While you are completely right spamc/spamd are a better combination > for performance, there are no debugging abilities in spamc/spamd > where as there are many debugging functionalities in the standalone > spamassassin script. > > The purpose of my example was to help troubleshoot a slow > spamassassin installation, not to provide a working solution to the > problem. > > I stand by the fact that running spamassassin with the -D > comamndline switch is an effective method of testing spamassassin > and the various checks that SA performs. While that is certainly true, telling spamd to run in the foreground (not adding -d), and to turn on debugging -D is an option, and I'm not sure that it differs at all from running spamassassin -D. From man spamd: NAME spamd - daemonized version of spamassassin SYNOPSIS spamd [options] Options: [snip] -d, --daemonizeDaemonize [snip] -D, --debugPrint debugging messages [snip] -Mark
RE: [vchkpw] Spamassassin + Clamav Antivirus + vpopmail
> On Mon, 2004-01-26 at 15:57, Tom Walsh wrote: > > > I know qmail-scanner.pl, but is this a fast method ? > > > Meanwhile.. My Spamassassin needs aproximately 10 seconds for > > > scanning one message. Is this the normal duration ? > > > > I use a known spam message as a test bed for tuning > performance of our > > SpamAssassin installation. > > > > You can run: > > > > cat /path/to/known/spam/message | spamassassin -D > > you should be using spamc and not spamassassin. > > spamd/spamc is a much better combination, especially on > heavily loaded servers. Jeremy, While you are completely right spamc/spamd are a better combination for performance, there are no debugging abilities in spamc/spamd where as there are many debugging functionalities in the standalone spamassassin script. The purpose of my example was to help troubleshoot a slow spamassassin installation, not to provide a working solution to the problem. I stand by the fact that running spamassassin with the -D comamndline switch is an effective method of testing spamassassin and the various checks that SA performs. Tom Walsh Network Administrator http://www.ala.net/
RE: [vchkpw] Spamassassin + Clamav Antivirus + vpopmail
On Mon, 2004-01-26 at 15:57, Tom Walsh wrote: > > I know qmail-scanner.pl, but is this a fast method ? > > Meanwhile.. My Spamassassin needs aproximately 10 seconds for > > scanning one message. Is this the normal duration ? > > I use a known spam message as a test bed for tuning performance of our > SpamAssassin installation. > > You can run: > > cat /path/to/known/spam/message | spamassassin -D you should be using spamc and not spamassassin. spamd/spamc is a much better combination, especially on heavily loaded servers. -Jeremy -- Jeremy Kitchen Systems Administrator [EMAIL PROTECTED] Kitchen @ #qmail on EFNet - Join the party! . Inter7 Internet Technologies, Inc. www.inter7.com 866.528.3530 toll free 847.492.0470 int'l 847.492.0632 fax GNUPG key ID: 93BDD6CE
RE: [vchkpw] Spamassassin + Clamav Antivirus + vpopmail
> >If anybody is interested in some of the performance tweaks > we have made > >to SA, please let me know. Due to the response I got from this post... I have created a down and dirty SA config page... Please keep in mind these are only configuration tweaks... Not actually changes to the SA software. As always SA is limited by your CPU first, Memory second, and network connection third. Anyways here are the tweaks web page: http://www.expresshosting.net/howto/sa.html Tom Walsh
Re: [vchkpw] Spamassassin + Clamav Antivirus + vpopmail
Hello, qmail-scanner-queue.pl runs spamassassin, razor2, pyzor, clamav, and its own internal scanner, as well as doing rbl lookups, in under 1 second per message, usually about .8 seconds for me. The 10 second delay as someone pointed out is the default timeout for rbl lookups. I had this problem and I recently groomed my rblsmtpd list. I was using servers that were down. The following list may use some services that are a little agressive, though I now have no (known) issues with valid mails being bounced, but in combination with spamassassin, as well as an address known to many spammers (used to get 80+ per day), a few spams make it into my inbox per week. More info about these hosts can be found through their websites. Also, by following /var/log/qmail/smtpd/current, you can follow rblsmtpd's actions, for debugging, etc. FYI: (live, fast responding rbl hosts as of 1/26/03) /usr/local/bin/rblsmtpd \ -r sbl-xbl.spamhaus.org \ -r blackholes.mail-abuse.org \ -r list.dsbl.org \ -r bl.spamcop.net \ -r relays.ordb.org \ -r dnsbl.ahbl.org \ /var/qmail/bin/qmail-smtpd \ Regards, Alex Martin http://www.rettc.com knom wrote: Hi people ! I want to install Spamassassin and Clam Antivirus with vpopmail ! Do you suggest any high speed scanning tool ? I know qmail-scanner.pl, but is this a fast method ? Meanwhile.. My Spamassassin needs aproximately 10 seconds for scanning one message. Is this the normal duration ? My "homegrown" Mailserver uses vpopmail/qmail and has about 200 Mails per day :) Thanks very much, knom.
Re: [vchkpw] Spamassassin + Clamav Antivirus + vpopmail
Tom Walsh wrote: I know qmail-scanner.pl, but is this a fast method ? Meanwhile.. My Spamassassin needs aproximately 10 seconds for scanning one message. Is this the normal duration ? I use a known spam message as a test bed for tuning performance of our SpamAssassin installation. You can run: cat /path/to/known/spam/message | spamassassin -D Review the output of this command to determine which processes are taking so long. More than likely you are making DNS calls to RBLs that aren't responding in a timely fashion or are using another service (pyzor, which we have had disabled since December) that is slow to return a response. With proper tuning your SpamAssassin can be made to scan messages in under .6 seconds with a full battary of external tests. (This is even on a 1GHz 512MB AMD Athlon machine.) If anybody is interested in some of the performance tweaks we have made to SA, please let me know. Tom Walsh Network Administrator http://www.ala.net/ I would be interested in that. I have been looking at ways to speed up SA's working speed. X-Istence
RE: [vchkpw] Spamassassin + Clamav Antivirus + vpopmail
> I know qmail-scanner.pl, but is this a fast method ? > Meanwhile.. My Spamassassin needs aproximately 10 seconds for > scanning one message. Is this the normal duration ? I use a known spam message as a test bed for tuning performance of our SpamAssassin installation. You can run: cat /path/to/known/spam/message | spamassassin -D Review the output of this command to determine which processes are taking so long. More than likely you are making DNS calls to RBLs that aren't responding in a timely fashion or are using another service (pyzor, which we have had disabled since December) that is slow to return a response. With proper tuning your SpamAssassin can be made to scan messages in under .6 seconds with a full battary of external tests. (This is even on a 1GHz 512MB AMD Athlon machine.) If anybody is interested in some of the performance tweaks we have made to SA, please let me know. Tom Walsh Network Administrator http://www.ala.net/
Re: [vchkpw] Spamassassin + Clamav Antivirus + vpopmail
On Monday 26 January 2004 3:22 pm, knom wrote: > Hi people ! > > I want to install Spamassassin and Clam Antivirus with vpopmail ! > Do you suggest any high speed scanning tool ? > > I know qmail-scanner.pl, but is this a fast method ? Meanwhile.. My > Spamassassin needs aproximately 10 seconds for scanning one message. > Is this the normal duration ? > > My "homegrown" Mailserver uses vpopmail/qmail and has about 200 Mails per > day :) > > Thanks very much, > knom. I just tested qscanq about 1 hour ago and it's working great. Written in C. http://budney.homeunix.net:8080/users/budney/software/qscanq/index.html You can configure it the use clamdscan. Works great. Ken Jones