Re: [vchkpw] Spam filter

2003-05-28 Thread Peter Palmreuther
Hi Rick,

On Tue, 27 May 2003 20:48:27 -0400 Rick Macdougall wrote:

 I haven't tested this but setting the ENV variable within the smtp/run 
 file and then over-riding it for specific IP's in the tcp.smtp file 
 should work as well.

It does. And IMHO it's the best approach. If I want mail to be passed
through QS I define this as the default by setting appropriate ENV
before starting qmail-smtpd, respectively tcpserver that starts
qmail-smtpd.

I than define in tcp.smtp.cdb what IPs are allowed to 'bypass' QS by
setting QMAILQUEUE to '.../qmail-queue'.
-- 
Ciao,
 Pit



Re: [vchkpw] Spam filter

2003-05-27 Thread marrandy
On Tuesday 27 May 2003 08:11 pm, Ross Davis - DataAnywhere wrote:
 Can anyone suggest a good spam filter to use with vpopmail.  We are just
 getting killed on a couple of larger domains right now.
 
 TIA
 Ross

Use the RBL Ross...spamhaus.

Or just put the IP's in the tcp.smtp file and rebuild the database.

Regards...Martin
-- 
Yield to Temptation ... it may not pass your way again.
-- Lazarus Long, Time Enough for Love




Re: [vchkpw] Spam filter

2003-05-27 Thread Jeremy Oddo
Ross Davis - DataAnywhere said:
 Can anyone suggest a good spam filter to use with vpopmail.  We are just
 getting killed on a couple of larger domains right now.

Can't think of a better filter than SpamAssassin (www.spamassassin.org). 
I'm using it in a vpopmail setup.  It's dropped our spam levels down by
95-97%.  One user reported getting over 100 spam e-mails a day now gets
0-4.

And SA has a VERY active user-base.

Jeremy





RE: [vchkpw] Spam filter

2003-05-27 Thread Ross Davis - DataAnywhere
I had read the following on the qmail-scanner site
Software Integration Issues

Q-S doesn't work with Vpopmail Vpopmail basically strips out environment
variables set within the tcpserver SMTP rules file - specifically the
QMAILQUEUE environment variable. As it is responsible for starting
qmail-smtpd, that means Qmail-Scanner never gets called. This is really
a bug with Vpopmail, but a workaround is to set QMAILQUEUE within
/service/smtpd/run instead. However, you must realise that you will lose
Q-S functionality - such as altering Q-S components based on SMTP server
IP address, etc. This will only get worse... 

Any thoughts on that?

Ross

 -Original Message-
 From: Jeremy Oddo [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, May 27, 2003 4:19 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] Spam filter
 
 
 Ross Davis - DataAnywhere said:
  Can anyone suggest a good spam filter to use with vpopmail.  We are 
  just getting killed on a couple of larger domains right now.
 
 Can't think of a better filter than SpamAssassin 
 (www.spamassassin.org). 
 I'm using it in a vpopmail setup.  
 It's dropped our spam levels down by 95-97%.  One user 
 reported getting over 100 spam e-mails a day now gets 0-4.
 
 And SA has a VERY active user-base.
 
 Jeremy
 
 
 
 
 




Re: [vchkpw] Spam filter

2003-05-27 Thread Steve Schofield
I run FreeBSD 4.8, Qmail, Vpopmail, Courier-imap, Qmail-scanner,
Spamassassin.  I just installed this over the weekend and got it working.
I received 506 emails today (Tuesday 5/27),  of that  74 emails was spam of
which 59 were caught and marked by Spamassassin,  There was 16 messages that
was spam that wasn't caught.For the first day,  that is 79.73% accuracy.
That ain't too bad.

I have a client side rule for now to put spam marked by spamassassin in a
separate folder.  When I get better at configuration of spamassassin, I'll
have server side rules.   I have to figure out how Spamassassin is actually
configured to do some more advanced configuration.  I read the RTFM manualls
and it pointed to using user_prefs and/or local.cf file.  Doesn't appear any
of these conf files are around but ole well.   Lots of stuff to learn but
bottom line I didn't need to filter 59 messages today.  That is worth my
time!

*  - *
*  Steve Schofield
*  [EMAIL PROTECTED]
*
*  Microsoft MVP - ASP.NET
*  http://www.aspfree.com
*  - *
- Original Message - 
From: Ross Davis - DataAnywhere [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 8:11 PM
Subject: [vchkpw] Spam filter


 Can anyone suggest a good spam filter to use with vpopmail.  We are just
 getting killed on a couple of larger domains right now.

 TIA
 Ross







Re: [vchkpw] Spam filter

2003-05-27 Thread Rick Macdougall
Hi,

It's BS.  QS and vpopmail work just fine together.  The ONLY issue is 
that the current vpopmail pop-before-smtp code doesn't write a 
QMAILQUEUE variable into the tcp.smtp file.  Mostly harmless for 
outgoing email and a patch is available. If you are running smtp auth 
there is no problem.

Since qmail-smtpd is called WAY before vpopmail (in the .qmail-default 
file from qmail-local) there is no way vpopmail can be stripping 
anything except in the above case.

I'm not sure who started this myth but they should be tarred and feathered.

I've been over this a few times with Jason on the QS list and I'm still 
not sure how it got started.

Regards,

Rick

Ross Davis - DataAnywhere wrote:

I had read the following on the qmail-scanner site
Software Integration Issues
Q-S doesn't work with Vpopmail Vpopmail basically strips out environment
variables set within the tcpserver SMTP rules file - specifically the
QMAILQUEUE environment variable. As it is responsible for starting
qmail-smtpd, that means Qmail-Scanner never gets called. This is really
a bug with Vpopmail, but a workaround is to set QMAILQUEUE within
/service/smtpd/run instead. However, you must realise that you will lose
Q-S functionality - such as altering Q-S components based on SMTP server
IP address, etc. This will only get worse... 

Any thoughts on that?

Ross


-Original Message-
From: Jeremy Oddo [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 27, 2003 4:19 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Spam filter

Ross Davis - DataAnywhere said:

Can anyone suggest a good spam filter to use with vpopmail.  We are 
just getting killed on a couple of larger domains right now.

Can't think of a better filter than SpamAssassin 
(www.spamassassin.org). 
I'm using it in a vpopmail setup.  
It's dropped our spam levels down by 95-97%.  One user 
reported getting over 100 spam e-mails a day now gets 0-4.

And SA has a VERY active user-base.

Jeremy













Re: [vchkpw] Spam filter

2003-05-27 Thread Rick Macdougall
Hi,

And just as a follow up...

I haven't tested this but setting the ENV variable within the smtp/run 
file and then over-riding it for specific IP's in the tcp.smtp file 
should work as well.

Regards,

Rick

Rick Macdougall wrote:

Hi,

It's BS.  QS and vpopmail work just fine together.  The ONLY issue is 
that the current vpopmail pop-before-smtp code doesn't write a 
QMAILQUEUE variable into the tcp.smtp file.  Mostly harmless for 
outgoing email and a patch is available. If you are running smtp auth 
there is no problem.

Since qmail-smtpd is called WAY before vpopmail (in the .qmail-default 
file from qmail-local) there is no way vpopmail can be stripping 
anything except in the above case.

I'm not sure who started this myth but they should be tarred and feathered.

I've been over this a few times with Jason on the QS list and I'm still 
not sure how it got started.

Regards,

Rick

Ross Davis - DataAnywhere wrote:

I had read the following on the qmail-scanner site
Software Integration Issues
Q-S doesn't work with Vpopmail Vpopmail basically strips out environment
variables set within the tcpserver SMTP rules file - specifically the
QMAILQUEUE environment variable. As it is responsible for starting
qmail-smtpd, that means Qmail-Scanner never gets called. This is really
a bug with Vpopmail, but a workaround is to set QMAILQUEUE within
/service/smtpd/run instead. However, you must realise that you will lose
Q-S functionality - such as altering Q-S components based on SMTP server
IP address, etc. This will only get worse...
Any thoughts on that?
Ross


-Original Message-
From: Jeremy Oddo [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 
2003 4:19 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Spam filter

Ross Davis - DataAnywhere said:

Can anyone suggest a good spam filter to use with vpopmail.  We are 
just getting killed on a couple of larger domains right now.

Can't think of a better filter than SpamAssassin 
(www.spamassassin.org). I'm using it in a vpopmail setup.  It's 
dropped our spam levels down by 95-97%.  One user reported getting 
over 100 spam e-mails a day now gets 0-4.

And SA has a VERY active user-base.

Jeremy
















Re: [vchkpw] Spam filter

2003-05-27 Thread Steve Schofield
I didn't know any better but I set my QMAILQUEUE in the
/user/local/etc/rc.d/qmail.sh and that worked.  Something about being in the
services/smtp part wasn't working.  But anyway bottom line Qmail Scanner,
Vpopmail and now spamassassin works awesome!


*  - *
*  Steve Schofield
*  [EMAIL PROTECTED]
*
*  Microsoft MVP - ASP.NET
*  http://www.aspfree.com
*  - *
- Original Message - 
From: Rick Macdougall [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 8:48 PM
Subject: Re: [vchkpw] Spam filter


 Hi,

 And just as a follow up...

 I haven't tested this but setting the ENV variable within the smtp/run
 file and then over-riding it for specific IP's in the tcp.smtp file
 should work as well.

 Regards,

 Rick


 Rick Macdougall wrote:

  Hi,
 
  It's BS.  QS and vpopmail work just fine together.  The ONLY issue is
  that the current vpopmail pop-before-smtp code doesn't write a
  QMAILQUEUE variable into the tcp.smtp file.  Mostly harmless for
  outgoing email and a patch is available. If you are running smtp auth
  there is no problem.
 
  Since qmail-smtpd is called WAY before vpopmail (in the .qmail-default
  file from qmail-local) there is no way vpopmail can be stripping
  anything except in the above case.
 
  I'm not sure who started this myth but they should be tarred and
feathered.
 
  I've been over this a few times with Jason on the QS list and I'm still
  not sure how it got started.
 
  Regards,
 
  Rick
 
 
  Ross Davis - DataAnywhere wrote:
 
  I had read the following on the qmail-scanner site
  Software Integration Issues
 
  Q-S doesn't work with Vpopmail Vpopmail basically strips out
environment
  variables set within the tcpserver SMTP rules file - specifically the
  QMAILQUEUE environment variable. As it is responsible for starting
  qmail-smtpd, that means Qmail-Scanner never gets called. This is really
  a bug with Vpopmail, but a workaround is to set QMAILQUEUE within
  /service/smtpd/run instead. However, you must realise that you will
lose
  Q-S functionality - such as altering Q-S components based on SMTP
server
  IP address, etc. This will only get worse...
  Any thoughts on that?
 
  Ross
 
 
  -Original Message-
  From: Jeremy Oddo [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27,
  2003 4:19 PM
  To: [EMAIL PROTECTED]
  Subject: Re: [vchkpw] Spam filter
 
 
  Ross Davis - DataAnywhere said:
 
  Can anyone suggest a good spam filter to use with vpopmail.  We are
  just getting killed on a couple of larger domains right now.
 
 
  Can't think of a better filter than SpamAssassin
  (www.spamassassin.org). I'm using it in a vpopmail setup.  It's
  dropped our spam levels down by 95-97%.  One user reported getting
  over 100 spam e-mails a day now gets 0-4.
 
  And SA has a VERY active user-base.
 
  Jeremy
 
 
 
 
 
 
 
 
 
 
 
 







Re: [vchkpw] Spam filter

2003-05-27 Thread Jeremy Oddo
Steve Schofield said:
 I run FreeBSD 4.8, Qmail, Vpopmail, Courier-imap, Qmail-scanner,
 Spamassassin.  I just installed this over the weekend and got it
 working. I received 506 emails today (Tuesday 5/27),  of that  74 emails
 was spam of which 59 were caught and marked by Spamassassin,  There was
 16 messages that was spam that wasn't caught.For the first day,
 that is 79.73% accuracy. That ain't too bad.

Wow!  Only 74 of the 506 e-mails were SPAM!?  Your ratio is lower than
mine!  The nicest feature in SA 2.5X is the Bayesian stuff.  When I first
upgraded from SA 2.31 to 2.53 (and then to 2.55) a lot of SPAM slipped
thru.  After running bayes for a week I was able to drop it SIGNIFICANTLY.
 A couple weeks after that and SA was catching nearly all the SPAM.  So
look into bayes for sure!

 I have a client side rule for now to put spam marked by spamassassin in
 a separate folder.

I'm running site-wide.  All SPAM gets pushed into the user's Junk-Mail
folder and also copied to another account that is used ONLY to hold SPAM
mail.  I review the alleged SPAM in the spam account, then run the bayes
classifier on it.  I then decided to route all high scoring SPAM straight
to /dev/null.  I now have most of my SPAM going to /dev/null and fewer
SPAMs going to the Junk-Mail folder.  Me likes :)

 When I get better at configuration of spamassassin,
 I'll have server side rules.   I have to figure out how Spamassassin is
 actually configured to do some more advanced configuration.  I read the
 RTFM manualls and it pointed to using user_prefs and/or local.cf file.

My local.cf is in /etc/mail/spamassassin but I'm running Linux so it may
be different under FreeBSD, donno.  Your local.cf should contain
white/blacklisted addresses and modifications to the standard SA behavior.
 For example, I have reduced my required hits from 5 to 4, changed the
SPAM LEVEL CHAR from * to S (for easier exp matching), etc.

SA is a beautiful thing.  But I 'spose we should move this off list as
this *IS* the vpopmail list :)

Jeremy





Re: [vchkpw] Spam filter

2003-05-27 Thread Anthony Baratta
At 06:02 PM 5/27/2003, Jeremy Oddo wrote:

I'm running site-wide.  All SPAM gets pushed into the user's Junk-Mail
folder and also copied to another account that is used ONLY to hold SPAM
mail.  I review the alleged SPAM in the spam account, then run the bayes
classifier on it.  I then decided to route all high scoring SPAM straight
to /dev/null.  I now have most of my SPAM going to /dev/null and fewer
SPAMs going to the Junk-Mail folder.  Me likes :)
Jeremy...

I for one would be interested in the nut and bolts of your setup. I'm 
really interested in how you push mail tagged as spam around. Are you using 
ProcMail?
---
Anthony Baratta
President
Keyboard Jockeys

Conformity is the refuge of the unimaginative.