I looked for maildroprc on the system and it didnt not find one. Im using
vpopmail which is installed in /home/vpopmail so do I go to the domains
folder then the users folder and add .mailfilter with the code you shown
below for status of yes?

Thanks
Robert

> On Wednesday 16 June 2004 17:06, Robert Bartlett might have typed:
>> Im using Qmail with Maildrop. So configure maildrop to control it when
>> tagged? Can you point me in the right direction in obtaining the
>> information to do this?
>
> /etc/maildroprc or the .mailfilter file is your friend (.mailfilter being
> the
> per-user filter file).  Change paths appropriately.
>
> -- cut here --
> SPAM="$HOME/Maildir/.z-spam/"
> BLACKHOLE="/dev/null"
> if (/X-Spam-Status: yes/)
> {
>         to $SPAM
> }
> -- end here --
>
> I also do per-user controlled lookups -
> ($1 is the first parameter from plussed addressing via Postfix)
>
> # Filter the rest via spamc, using a virtual user for spamd
> # to do SQL lookups with.
> if ($1 eq 'spam')
> {
>         to $SPAM
> }
> exception {
>         xfilter "/usr/bin/spamc -u [EMAIL PROTECTED]"
> }
>
> # Over 15 and I don't want to know about it.
> #/^X-Spam-Hits:.*/
> #if ($MATCH >= '15')
> #{
> #       to $BLACKHOLE
> #}
>
> # Otherwise dump it into spam for review.
> if (/X-Spam-Status: yes/)
> {
>         to $SPAM
> }
>


Reply via email to