On Thu, 8 Sep 2005, Dan Porter wrote:

> I want to set up a filter so that all emails to [EMAIL PROTECTED] will
> not get processed by the other filters (spam checker, virus checker).
>
> I have never written my own filter, but I am guessing I need to do
> something like this:
>
> In filters.in.tab:
> "[EMAIL PROTECTED]" "*" "0.0.0.0/0" "0.0.0.0/0" "ignorefilters.tab"
>
> In ignorefilters.tab:
> "/var/MailRoot/filters/bin/ignorefilters.pl"
>
> In ignorefilters.pl, I think I want to make a perl file that just
> returns something:
> #!/usr/bin/perl
>
> #exit and do not process other filters
> exit 16;
>
>
> Do you think this will work? Do I have the right exit code, or is there
> no exit code that will work?

Yes, but I wouldn't spwan a perl binary to do that. A shell script will be 
faster.


- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to