Hi.

I am about to write some custom courier mail filter app. (Thanks to Gordon for 
a extendable python framework!)

What I did not understand is, may a filter change the message's content?

Some older docs say that this may not be done, the current doc does not 
explicitly state this. I tried to do so and it works. The docs say, the 
filters are called one at a time, so there should be no problem with this.

So, is it safe to alter the message from a global courier filter?

The docs say:
| The mail filter is free to judge the message's worthiness by reading its
| contents and/or control file(s) [...]
| The final verdict is rendered by writing back a result code on the same
| socket. 

Perhaps it could be written more clearly if modifying content is safe or not.

cu, Bernd

-- 
Die kürzeste Verbindung zwischen zwei Punkten ist...
    ...gewöhnlich wegen Bauarbeiten gesperrt.

Attachment: pgpUcBFpl8tiP.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to