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 here as a
Mail Delivery Agent (MDA).

> So I set 
> up /etc/.procmailrc to say:
> DROPPRIVS=yes 
> :0fw
> * < 256000 
> | /usr/bin/spamc 

Now you need to forward

:0
! [EMAIL PROTECTED]

> and then brought up the /usr/bin/spamc daemon.
> 
> What do I have to tell Sendmail to filter this 28MB of mail through 
> procmail, and then forward only non-SPAM mail to my cox.net address?

This depends on where the mail is stored.

If it is still in the sendmail mail queue (doubtful), you invoke sendmail to deliver 
it,
I stopped using sendmail years ago, so I can't help there.

If it has already been delivered, then you have to invoke procmail
manually. Note that in that instance, it may be wise to rename the mail file first.

formail -s procmail < /mail/file

-Gyepi
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to