On Thu, Feb 06, 2003 at 05:25:10PM +0000, Phil Chambers wrote:
> > The only other option is to have 2 boxes (or two MTAs on the same box).
> > The first one splits up messages into individual deliveries that have only
> > one recipient, and delivers these to the second, which does the scanning.
>
> But that means you accept all messages before putting them through
> local_scan(). A major point of local_scan(), surely, is that you can reject
> messages on the basis of their content before the SMTP phase is complete.
Absolutely. Unfortunately, multi-recipient messages and user-configurable
scanning metrics are incompatible when talking local_scan(). That's not going
to change.
I think I'm going to have to split the logic up into messages with one recipient
and messages with more than one recipient. The trick is finding a suitable
way of handling the multi-recipient mails.
Thanks for everyone's input on this thread.
Cheers,
Ol.
--
Oliver Cook Systems Administrator, Claranet UK
ollie@??? 020 7903 3000