5 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Questions about t...
FromSent OnAttachments
Vlad DinulescuJul 19, 2005 2:09 am 
Sam VarshavchikJul 19, 2005 3:55 am 
Vlad DinulescuJul 19, 2005 5:29 am 
Alessandro VeselyJul 19, 2005 8:14 am 
Vlad DinulescuJul 20, 2005 1:41 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Questions about the courier filtersActions...
From:Vlad Dinulescu (vlad@yahoo.com)
Date:Jul 19, 2005 5:29:36 am
List:net.sourceforge.lists.courier-users

Thanks for the quick answer!

How can I modify a message from the filter? Like adding a header, or modifying the body? Is there any way to make sure that my filter gets called ? I couldn't find the format of the envelope file (I haven't read the whole courier-mta site though). Oh, and is there any way to drop the message (not reject, just drop it)?

--- Sam Varshavchik <mrs@courier-mta.com> a écrit :

Vlad Dinulescu writes:

Hello,

I've got a few questions about the courier global filters (the ones described in courierfilter(8))

1. what is the order that the global filters are run in?

Why does it matter?

2. are they run at the same time, or one at a

time?

One at a time.

3. are all the filters run ? The documentation states that if at least one filter rejects the message, the message should be rejected. That makes me wonder if Courier runs all the filters

Well, if one filter rejects the message there's no reason to run the rest of them.

I noticed that a filter receives the filename of the message, and a control file that contains sender informations, remote IPs, etc. 4. What is the format of the envelope file, and how stable is this format?

There's some documentation on www.courier-mta.org

5. Is the filter allowed to alter the message

file?

No.