Re: [Boston.pm] OT - A SpamAssassin question

2004-11-06 Thread Aaron Sherman
On Thu, 2004-11-04 at 14:05 -0500, Brian Reichert wrote: > On Thu, Nov 04, 2004 at 10:08:56AM -0500, Anthony R. J. Ball wrote: > > > > Not sure how you could get sendmail to do it, but with perl you could > > probably do it in about 20-50 lines. Just pull the messages one by one, > > if spamc

Re: [Boston.pm] OT - A SpamAssassin question

2004-11-04 Thread M.R.Muthu Kumar
You can try spamprobe also with procmail. Check out spamprobe in :http://sourceforge.net/projects/spamprobe/ On Wed, Nov 03, 2004 at 09:29:02PM -0800, Ranga Nathan ([EMAIL PROTECTED]) wrote: > I want to filter my mail from sendmail through SpamAssassin but redirect > to my cox.net address. > >

Re: [Boston.pm] OT - A SpamAssassin question

2004-11-04 Thread Gyepi SAM
> If you already have all of this mail rattling around, then use > 'formail' to cause it to be re-delivered. Technically, using formail for mail that's already "rattling" around is just processing, not delivery. Only the MTA can deliver mail, perhaps by using an external MDA. The distinction

Re: [Boston.pm] OT - A SpamAssassin question

2004-11-04 Thread Brian Reichert
On Thu, Nov 04, 2004 at 10:08:56AM -0500, Anthony R. J. Ball wrote: > > Not sure how you could get sendmail to do it, but with perl you could > probably do it in about 20-50 lines. Just pull the messages one by one, > if spamc exits 0, send it along. If you already have all of this mail

Re: [Boston.pm] OT - A SpamAssassin question

2004-11-04 Thread Anthony R. J. Ball
Not sure how you could get sendmail to do it, but with perl you could probably do it in about 20-50 lines. Just pull the messages one by one, if spamc exits 0, send it along. On Wed, Nov 03, 2004 at 09:29:02PM -0800, Ranga Nathan wrote: > I want to filter my mail from sendmail through

Re: [Boston.pm] OT - A SpamAssassin question

2004-11-04 Thread Daniel R. Allen
On Thu, 4 Nov 2004, Uri Guttman wrote: > useless use of cat. > > formail -s 'procmail -m /etc/.procmailrc' < bigfileofspamandham different strokes. by the same measure, it's a useless pipeline, plus the single-quotes are superfluous. but the added clarity (to me) is worth the extra

Re: [Boston.pm] OT - A SpamAssassin question

2004-11-04 Thread Uri Guttman
> "DA" == Daniel Allen <[EMAIL PROTECTED]> writes: DA> formail -s splits standard-input into valid messages and DA> executes on each. DA> procmail -m runs procmail for a nonstandard conf file. DA> So for your procmailrc in the nonstandard location of DA> /etc/.procmailrc, you'd

Re: [Boston.pm] OT - A SpamAssassin question

2004-11-04 Thread Gyepi SAM
On Wed, Nov 03, 2004 at 09:29:02PM -0800, Ranga Nathan wrote: > I want to filter my mail from sendmail through SpamAssassin but redirect > to my cox.net address. > I understand that SpamAssassin requires filtering via procmail. SpamAssassin does *not* require procmail. You are using procmail

Re: [Boston.pm] OT - A SpamAssassin question

2004-11-04 Thread Daniel Allen
formail -s splits standard-input into valid messages and executes on each. procmail -m runs procmail for a nonstandard conf file. So for your procmailrc in the nonstandard location of /etc/.procmailrc, you'd want: cat bigfileofspamandham | formail -s 'procmail -m /etc/.procmailrc' -Daniel

Re: [Boston.pm] OT - A SpamAssassin question

2004-11-04 Thread John Saylor
hi ( 04.11.03 21:29 -0800 ) Ranga Nathan: > Needless to say 99% is spam! > I have some 28MB worth of mail sitting somewhere, waiting to be > delivered. I want that 28MB mail to be filtered and forwarded to my > cox.net address. so 28MB * 0.99 = 27.72MB of SPAM, 0.28MB of HAM let's say the

[Boston.pm] OT - A SpamAssassin question

2004-11-03 Thread Ranga Nathan
I want to filter my mail from sendmail through SpamAssassin but redirect to my cox.net address. Using Sendmail, I used to redirect all my mail to my cox.net address. Needless to say 99% is spam! Since I stopped redirecting, I have some 28MB worth of mail sitting somewhere, waiting to be