Thanks again Ed. I had to modify the script slightly to get it to work with my procmail (procmail v3.22 2001/09/10):
# Test for nospamcheck :0 * ? test -f $HOME/.nospamcheck { #if nospamcheck exists then deliver normally :0: $ORGMAIL } #Filter message thru SA :0fw | /usr/bin/spamc -u $LOGNAME #Deliver message :0: $ORGMAIL On Fri, 2002-05-03 at 11:12, CertaintyTech - Ed Henderson wrote: > > > > > > You could add an entry to the main procmailrc that checks for the > > existence > > of a certain file called "nospamcheck" (or something like that). IF the > > file exists in the users dir then don't run spamc otherwise run > > spamc. Then > > put "nospamcheck" in each of the user's dir that do not want SA. I do this > > for maildrop but don't know how to do it for procmail. Perhaps > > others could > > tell you how to accomplish this in procmail. > > > > -- > > Ed. > > > I just found an old .procmailrc that may help you: > > # Test for nospamcheck > :0 > * ? test -f $HOME/nospamcheck > { > #if nospamcheck exists then deliver normally > :0: > $MAIL > } > > #Filter message thru SA > :0 fw > | spamc > > #Deliver message > :0: > $MAIL > > > Of course modify to fit your situation. This is crude but hopefully will be > enough to get you going. It has been a long time since I wrote procmail > recipes. Maildrop is much easier if its an option. > > --- > Ed. > _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk