You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by LDB <th...@ldb-jab.org> on 2006/07/01 14:21:13 UTC

/dev/null all tagged spam

Right now, I have a promailrc script,

LOGFILE=/var/log/procmail.log
LOGABSTRACT=all
VERBOSE=yes

SENDER=$1
SHIFT=1

# Until now, mail is untagged, you may add rules for
# mail that must not be tagged

:0 hbfw
| /usr/bin/spamc

# Now mail is tagged by spamassassin
# You may insert other rules here

:0
| /usr/sbin/sendmail -i -f "$SENDER" -- "$@"




taking care of the spam. How do I /dev/null the tagged
spam?

Thanks,

LDB

Re: /dev/null all tagged spam

Posted by Matthias Fuhrmann <Ma...@stud.uni-hannover.de>.
On Sat, 1 Jul 2006, LDB wrote:

> Right now, I have a promailrc script,
>
> LOGFILE=/var/log/procmail.log
> LOGABSTRACT=all
> VERBOSE=yes
>
> SENDER=$1
> SHIFT=1
>
> # Until now, mail is untagged, you may add rules for
> # mail that must not be tagged
>
> :0 hbfw
> | /usr/bin/spamc
>
> # Now mail is tagged by spamassassin
> # You may insert other rules here

# send spam to /dev/null

:0
* ^X-Spam-Flag: YES
/dev/null

but it would be wise, to use "/tmp/spam-inbox" instead of "/dev/null"
until you can ensure, all works fine!

> :0
> | /usr/sbin/sendmail -i -f "$SENDER" -- "$@"
>


regards,
Matthias