Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-08-01 Thread Charles M. Gerungan
Hello Rick,

Rick romero wrote on Sat, 31 Jul 2004 19:52:43 -0500 UTC:

Rr I don't have a copy, and don't have time to test right now, but is the
Rr rejection based on the score, or the Yes/No?

Rr Currently, I'm sending anything over 15 to /dev/null via a maildrop
Rr script, but 5 is marked as spam..

That's how we do it also.

-- 
Regards, Charles.

pgpnuDALqYtJh.pgp
Description: PGP signature


Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-08-01 Thread Ken Jones
It's based on the return code from spamc.
Exitcode is 1 if the message is spam, 0 if not spam.
The threshold is based on your local required_hits configuration.

I guess we could write in code to support how you are doing it.

Ken

On Saturday 31 July 2004 07:52 pm, Rick romero wrote:
 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


Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-07-31 Thread Eric Ziegast
 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


Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-07-31 Thread Bastiaan van der Put
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

2004-07-31 Thread Ken Jones
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

2004-07-31 Thread Rick romero
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



RE: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-07-30 Thread Shane Chrisp
Hi Ken,

 A small configure option that I had when compiling was that the
--enable-attach=y
always gave a attachement scan = OFF at the end of configure. I overcame
this by
setting ENABLE_ATTACH=1 in the configure file. 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.

Also well done on a great little piece of software.

Regards

Shane Chrisp


-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED] 
Sent: Friday, 30 July 2004 1:44 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] simscan test release: simplified scanner 
for clamav/spamassassin

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

2004-07-29 Thread Werner Amon
Ken Jones schrieb:
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.
 

Hi,
I am very interested, please send it to me
Werner


RE: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-07-29 Thread Shane Chrisp
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

2004-07-28 Thread Ispas Paul
Pe data de Tuesday 27 July 2004 20:57, Ken Jones a scris:
 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.

Can you send it to me please ?
Or put it on ftp. 
Thanks.




[vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-07-27 Thread Ken Jones

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

2004-07-27 Thread Chris A. Kalin
Ken Jones wrote:
Anyone interested in trying simscan before I release it?
If you are interested, please email me directly and I'll send you a tar ball.
Absolutely.  I'd love to test it on our test mail machine.  :)
Thanks in advance!
Chris Kalin


Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-07-27 Thread Kiril Todorov
Ken Jones wrote:
Anyone interested in trying simscan before I release it?
 

Yes, definitely interested!


Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-07-27 Thread Itamar Reis Peixoto
pelase send for me.
- Original Message - 
From: Ken Jones [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 2:57 PM
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

2004-07-27 Thread manvendra bhangui
On Tue, 27 Jul 2004 12:57:20 -0500, Ken Jones [EMAIL PROTECTED] wrote:
 
 Anyone interested in trying simscan before I release it?

Can you send it to me ? I will love to try it.

-- 
Regards Manny

Unix is simple, but it takes a genius to understand the simplicity.
 - Dennis Ritchie