--Tim Hosking wrote on 07.02.2002 11:19 -0500:

>>> Delivering it to /dev/null from a filter doesn't work?
>>> 
>> 
>> I tried symlinking a users ~/Maildir/new  ---> /dev/null but courier
>> didn't like delivering there.  I eventually just setup a cron job to
>> wipe out the new folder ever 5 minutes or so.
>> 
> 
> I meant having a mail filter something like this:
> 
> if ((/^(To|From|CC):.*courier\-users/))
> {
>    to "/dev/null"
> }

A simple 'exit' would have the same effect, or in .courier
use something like:

|if [ "$SENDER" = "[EMAIL PROTECTED]" ]; then exit 99; else exit 0; fi
./Maildir



_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to