Re: Sendmail, Spam Assassin, and Procmail

2003-02-03 Thread Andrew Y Ng
On  0, Kirk Strauser <[EMAIL PROTECTED]> wrote:
> At 2003-02-03T16:57:16Z, "Justin P. Michel" <[EMAIL PROTECTED]> writes:
> 
> > Spam Assassin is tagging the e-mail properly, however, it's still being
> > sent out to the clients.
> 
> This is OT to your question, but still: are you certain that you want to
> drop all mail that gets marked by SpamAssassin?  It works very well, but I
> still get a few false positives per month.  If any of my clients were
> outside of my immediate friends/family group (i.e., paying customers), then
> I would explicitly take no action on their incoming email other than to mark
> it, and give the clients instructions on setting up a filter on their email
> client.  That way, they take the responsibility for deciding to delete
> suspect email - you're only providing an estimation service.
> -- 
> Kirk Strauser

I agree with Kirk, SA works amazingly well for me and I haven't gotten a false
positive for a long long time, but that's because I trained the Bayesian
filters well, I also tuned my whitelist so important mails from my banks,
domain registrar, etc won't get marked as spam. but default SA gives quite a 
few false positive.

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg17763/pgp0.pgp
Description: PGP signature


Re: Sendmail, Spam Assassin, and Procmail

2003-02-03 Thread Daniel Bye
On Mon, Feb 03, 2003 at 11:57:16AM -0500, Justin P. Michel wrote:
> Greetings,
> 
> I can't seem to get the procmailrc correct.  What I would like to do, is
> have all mail that Spam Assassin tags as spam, to be put into a separate
> account called 'bulkmail'.  I've created this account, and made sure that
> the mailbox 'bulkmail' exists in '/var/mail'.  Spam Assassin is tagging the
> e-mail properly, however, it's still being sent out to the clients.  Below
> is my 'procmailrc' file. If someone can suggest a better one that works,
> please do! :)
> 
> PROCMAILRC START
> :0fw
> | spamassassin -P
> 
> :0:
> * X-Spam-Flag: YES
> | sendmail bulkmail
> PROCMAILRC END

Try this:

 :0
 * ^X-Spam-Flag: YES
 ! bulkmail@yourhost

Use "!" instead of "|" to pipe the message to a mailer.  Let procmail
figure out how to handle sending the mail.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Sendmail, Spam Assassin, and Procmail

2003-02-03 Thread Kirk Strauser
At 2003-02-03T16:57:16Z, "Justin P. Michel" <[EMAIL PROTECTED]> writes:

> Spam Assassin is tagging the e-mail properly, however, it's still being
> sent out to the clients.

This is OT to your question, but still: are you certain that you want to
drop all mail that gets marked by SpamAssassin?  It works very well, but I
still get a few false positives per month.  If any of my clients were
outside of my immediate friends/family group (i.e., paying customers), then
I would explicitly take no action on their incoming email other than to mark
it, and give the clients instructions on setting up a filter on their email
client.  That way, they take the responsibility for deciding to delete
suspect email - you're only providing an estimation service.
-- 
Kirk Strauser
In Googlis non est, ergo non est.



msg17757/pgp0.pgp
Description: PGP signature


Sendmail, Spam Assassin, and Procmail

2003-02-03 Thread Justin P. Michel
Greetings,

I can't seem to get the procmailrc correct.  What I would like to do, is
have all mail that Spam Assassin tags as spam, to be put into a separate
account called 'bulkmail'.  I've created this account, and made sure that
the mailbox 'bulkmail' exists in '/var/mail'.  Spam Assassin is tagging the
e-mail properly, however, it's still being sent out to the clients.  Below
is my 'procmailrc' file. If someone can suggest a better one that works,
please do! :)

PROCMAILRC START
:0fw
| spamassassin -P

:0:
* X-Spam-Flag: YES
| sendmail bulkmail
PROCMAILRC END


Regards,

Justin P. Michel
|- J Continuum
|- 21071 - 640 River Street
|- Thunder Bay, ON, Canada
|- P7A 8A7
|- http://www.jcontinuum.ca



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message