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

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:� +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to