Re: [exim-dev] Milter api

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: exim-dev
Subject: Re: [exim-dev] Milter api
On 2011-02-04 at 19:37 +0100, Andreas Metzler wrote:
> Afaiui milters get passed the message at eached ehlo verb, and can
> not only return a status but also modify the contents. I think more or
> less the only consistent way to integrate milters would be in adding a
> milter verb to the ACL language. And here the fun starts: When is the
> milter run? At the start of the ACL, bottom, do I suddenly need to add
> a milter statement to every single one of the ACLs (even the ones I am
> not currently using)?


My thought was a milter condition, taking the milter name, SMTP stage
and any arguments for the milter.

If the milter needs to be invoked at three stages, you add the milter at
those three stages. If it's only needed in one, you only invoke it
there.

But these thoughts are based in part on a lack of experience with
milters, so might be asinine.

-Phil