On Fri, 25 Apr 2003, I wrote:
> On Thu, 24 Apr 2003, Nico van der Dussen wrote:
>
> > message_size_limit =
> > ${lookup{$sender_address}lsearch*{/path/to/file}}
>
> Unfortunately, the manual is incorrect about when the expansion happens.
> In fact, it happens at the start of the connection, not for every
> message. The limit can therefore depend on the client host, but not on
> the sender.
>
> I should either mend the manual or the code. Problem noted. Of course,
> even expanding for every message might happen before the sender is
> known, but it probably should be after.
I have realized that the expansion cannot happen after the sender is
known, because the size limit has to be advertised in the response to
the EHLO command. Therefore, the fix is to the manual rather than the
code, I'm afraid.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.