Re: pipe only if not spam...

2005-03-28 Thread hamann . w
Hi, I do it about the other way round: my first qmail deliver attempt is this one. The second half triggers if someone has tagged the mail as spam before (even if the local SA would let it through) Wolfgang Hamann #!/bin/sh if /usr/bin/spamc -c ; then exit 0 else exit 99 fi if

pipe only if not spam...

2005-03-28 Thread CG
Okay... When it comes down to it, this question is a shell question... BUT! I'm asking it here only because there may be a better way to do this than what I'm thinking... Spamassassin 3.0.1 Linux 2.4.20 (Slackware) Using spamc/spamd -d -L -u alias Using Qmail for my MTA When spammers fish for ema