XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > Documentation and Knowledge Base > Filter Return Codes


Posted by: hschneider Aug 16 2006, 08:25 AM
Here is a summary of the currently available filter return codes. This should throw more light on the filter section in the manual:

Returncodes:
0 = Let the message pass the filter unmodified
4 = Reject and do not freeze
5 = Reject and freeze
6 = Reject and freeze with sender notification
7 = Deliver the modified file

Additional Filter Flags:
16 = Stop all other filters after this one.

It only makes sense to add 16 to other return codes in order to signal that other filters should be stopped after this one has finished. That's why additive codes are called "Filter Flags" in the manual. Currently there is only one such flag defined.

Keep in mind that code 0 or 7 submit the file to the next filter if not stopped by setting the stop flag (+16).

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)