--- Comment #8 from Nigel Metheringham <nigel@???> 2012-02-23 20:17:06 ---
My take on this...
The patch as supplied is unnecessarily specific. The handling of
smtp_accept_max_per_host is a special case because it is done in the daemon
before spawning off a SMTP receiver process (it is the bit that decides whether
this spawn is done). As it is in the main daemon accept loop it needs to be
fast and simple (no DNS lookups etc). It also only has two variables - the
number of sessions in place already for this IP and the IP itself.
The requirements for max_recipients is less time critical and also more
flexible - you may wish to vary it based on who has authenticated or what the
phase of the moon is.
So I think there is a case, even though you can do everything in an ACL, for
making max_recipients expandable. Its also a pretty trivial thing to do.
So will accept patches to make this expandable (don't forget the doc and test