>>  I realized I had forgotten to put the * in front of the @ sign in the
>filter directive. However, even with the *, it still does not work...
>
>Toby, filters have to pass a code onto XMail so that it knows what to do
>with it. I still dont know how to get these working on 1.15 myself because I
>am not positive what in the world sets a code.
>
>I haven't tried it yet, but one of my current filters on 1.10 sets a sort of
>"code" based on what I score something to be, it currently uses a 1-10
>system so I am wondering if in the definitions if you change it to the
>appropriate 97-99 if it will work, have not tried this yet though and got no
>feedback unfortunately about what in the world sets a code and how the
>system works.
>
>So, I am still lost myself which is why I still use my 1.10

William,
I was actually able to finally get the filters to work. My issue was 
definitely not with my filter itself but with the filters.in.tab 
file. Other than that (which I guess must have been some kind of 
human error - i.e. I goofed) I've been really happy with 1.15.

The way to set the code from a filter is to exit using a specific 
code. In perl this is "exit XX" where XX is one of the supported exit 
codes. I think you would use the same in a shell script (I don't know 
how you would return an exit code from a C program, since I don't 
know C).  These are changing in 1.16 (as I understand it) but right 
now the codes are 97,98,99, and 100. These are the only exit codes 
that are supported and they have specific meaning to Xmail.  I don't 
think exiting based upon a scoring code would work, because Xmail 
wouldn't know what to do with it.

What is your filter trying to do? If your scoring of messages is to 
tell Xmail how to deal with the message you should know that these 
are the currently supported codes:

97  Reject the message entirely, without notification, and don't freeze it
98  Reject the message, no notification, freeze it (if specified)
99  Reject the message, with notification
100 The filter has modified the content of the message
8  Do not perform any more filter actions

You can add the last codes to any of the other codes, for instance my 
spam filter returns an exit code of 105 on spam messages, meaning 
"Reject message without notification or freezing, and don't perform 
any more filtering".

Let me know if this helps answer your questions, and let me know if 
you have any others.

Have a great day,
Toby
-- 
Toby Reiter                          mailto:[EMAIL PROTECTED]
Breezing Internet Communications     http://www.breezing.com
1106 West Main St                    phone:434.295.2050
Charlottesville, VA 22903            fax:603.843.6931
-
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