On 08.09.2005 17:54, 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. That should work, just give it a try :) Enable filter logging so
you can see whats going on.

And you imho don't need any script, just put:

 "exit"         "16"

into ignorefilters.tab (I did not try that).
-
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