Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin
Also I was wondering if there is a way to tell qmail-smtpd to exit with a 5xx error code rather than a 4xx error on spam or a virus? I am running qmail out of supervise, not that it should make any difference that I can see. Look at the end of qmail.c in the qmail distribution. The exit code of the child program (qmail-queue or $QMAILQUEUE) determines what error message is spit out in SMTP. The short answer is: Exit code 0 means successful delivery. Exit codes between 11 and 40 are permanent (5xx) errors. All other exit codes are temportary (4xx) errors. A longer answer is: Have your program exit with a specific exit code and then add a custom message in qmail.c to handle that code. For example: case 32: return Dmail server thinks this message is spam(#5.3.0); case 33: return Dvirus rejected(#5.3.0); case 34: return Dyou send us nothing but crap(#5.3.0); case 35: return Dyou are listed in the our blackhole list(#5.3.0); case 36: return Dleave us alone, jackass(#5.3.0); case 41: return Zif you are not a spammer, try again in 5 minutes(#4.3.0); -- Eric Ziegast
[vchkpw] qmail install script 1.3.7.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, A new version of my installing's script for qmail are released (1.3.7.1). More bugfix are cleaned :) All feedback are welcome please ... http://www.linuxpourtous.com/download/qmail/releases/ install_qmail-1.3.7.1.tar.gz http://www.linuxpourtous.com/download/qmail/CHANGELOG http://www.linuxpourtous.com/download/qmail/README http://www.linuxpourtous.com/forum/viewforum.php?f=8 2004-07-31 v1.3.7.1 * Major bugfixes * Added patch to correct compilation problem in qmail * Remove all \015 (\r\n) in few files ++ - -- Franck http://www.linuxpourtous.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBC5qJ1zwfep5k9qERAhY1AKC51roCSXh00rtPuPWedEAHmCX5hQCfTXju 5Owt0zFNWU+uMZNOJWU45F8= =9/f/ -END PGP SIGNATURE-
Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin
Ken, Is it possible to scan for spam and use tagging only, not rejecting the msg? Greetings, Bas At 19:43 7/29/2004, you wrote: Here you go Ken The installation instructions are in the INSTALL file On Thursday 29 July 2004 12:18 pm, Shane Chrisp wrote: Please send me a copy Ken. cheers Shane -Original Message- From: Ken Jones [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 July 2004 1:57 AM To: [EMAIL PROTECTED] Subject: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin Anyone interested in trying simscan before I release it? It is a simplified replacement for qscanq. We have been running it on our server for over a week and it is solid. Like qscanq it can call clamdscan to check for viri. It is invoked via the QMAILQUEUE patch. Differences: - uses configure ; make ; make install-strip - automatically deletes working directories when done - uses one program instead of qscanq's two programs per email - optionally calls spamassassin to reject spam during smtp - optionally blocks list of attachments - does not require svscan - simplified C code (one simscan.c file) If you are interested, please email me directly and I'll send you a tar ball. -- Ken Jones inter7.com
Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin
Sure, some other folks suggested the same option. Perhaps a configuration option to decide to reject or just process Ken On Saturday 31 July 2004 03:03 pm, Bastiaan van der Put wrote: Ken, Is it possible to scan for spam and use tagging only, not rejecting the msg? Greetings, Bas At 19:43 7/29/2004, you wrote: Here you go Ken The installation instructions are in the INSTALL file On Thursday 29 July 2004 12:18 pm, Shane Chrisp wrote: Please send me a copy Ken. cheers Shane -Original Message- From: Ken Jones [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 July 2004 1:57 AM To: [EMAIL PROTECTED] Subject: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin Anyone interested in trying simscan before I release it? It is a simplified replacement for qscanq. We have been running it on our server for over a week and it is solid. Like qscanq it can call clamdscan to check for viri. It is invoked via the QMAILQUEUE patch. Differences: - uses configure ; make ; make install-strip - automatically deletes working directories when done - uses one program instead of qscanq's two programs per email - optionally calls spamassassin to reject spam during smtp - optionally blocks list of attachments - does not require svscan - simplified C code (one simscan.c file) If you are interested, please email me directly and I'll send you a tar ball. -- Ken Jones inter7.com
Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin
I don't have a copy, and don't have time to test right now, but is the rejection based on the score, or the Yes/No? Currently, I'm sending anything over 15 to /dev/null via a maildrop script, but 5 is marked as spam.. Rick On Jul 31, 2004, at 6:40 PM, Ken Jones wrote: Sure, some other folks suggested the same option. Perhaps a configuration option to decide to reject or just process Ken On Saturday 31 July 2004 03:03 pm, Bastiaan van der Put wrote: Ken, Is it possible to scan for spam and use tagging only, not rejecting the msg? Greetings, Bas At 19:43 7/29/2004, you wrote: Here you go Ken The installation instructions are in the INSTALL file On Thursday 29 July 2004 12:18 pm, Shane Chrisp wrote: Please send me a copy Ken. cheers Shane -Original Message- From: Ken Jones [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 July 2004 1:57 AM To: [EMAIL PROTECTED] Subject: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin Anyone interested in trying simscan before I release it? It is a simplified replacement for qscanq. We have been running it on our server for over a week and it is solid. Like qscanq it can call clamdscan to check for viri. It is invoked via the QMAILQUEUE patch. Differences: - uses configure ; make ; make install-strip - automatically deletes working directories when done - uses one program instead of qscanq's two programs per email - optionally calls spamassassin to reject spam during smtp - optionally blocks list of attachments - does not require svscan - simplified C code (one simscan.c file) If you are interested, please email me directly and I'll send you a tar ball. -- Ken Jones inter7.com