2 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Question about MI...
FromSent OnAttachments
Systems AdministratorJun 23, 2003 4:41 pm 
Systems AdministratorJul 1, 2003 11:43 pm 
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] Question about MIME formattingActions...
From:Systems Administrator (sysa@sunet.com.au)
Date:Jul 1, 2003 11:43:41 pm
List:net.sourceforge.lists.courier-users

On Tue, 24 Jun 2003, Systems Administrator wrote:

I have two basic questions in this post: 1. Is there some documentation somewhere that gives a broad overview of Courier's order of processing? 2. If it's not answered by the documentation requested above, is there some way I can get my spam filter to process the message *before* Courier sets up its message about invalid formatting? I'm currently doing the spam processing in the systemwide maildroprc.

Ok, I'll have to partially answer my own question. If someone else could fill in the bits, that might be useful. Then I'll probably be able to construct a FAQ writeup about it.

There's no documentation that I could find that gives a broad overview of Courier MTA's order of processing. Here's what I've figured out.

------------------------ 1. GLOBAL filtering: After a mail comes in, it is filtered by courierfilter. See "man courierfilter" for details. This applies to both messages for local delivery and messages for remote delivery. 2. Messages for remote delivery are forwarded elsewhere at this point. 3. LOCAL filtering: See "man localmailfilter" for details. a) Recipient filters: the message is filtered based on recipient and other data b) Only at this point is the message accepted c) Content filtering is done at this point

------------------------

Now, two questions: A. Where does Courier rewrite the message according to the SMTP/MIME/whatever standards? Between steps 2 and 3? B. Where do .courier files come into it all? My understanding is that they're only processed for local deliveries, but are processed before maildrop/.mailfilter. This leads me to guess that it happens before the localmailfilter stuff, so also between steps 2 and 3. If so, does it happen before the answer to question A, or after?

Thanks again...