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 -> Filter Return Codes

Closed TopicStart new topicStart Poll

> Filter Return Codes, Read this if you want to start scripting
hschneider
Posted: Aug 16 2006, 08:25 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



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).


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Documentation and Knowledge Base | Next Newest »

Closed TopicStart new topicStart Poll