On Feb 18, 2007, at 11:33, Michael Holzt wrote:
This is true, but the objections are true as well. What the rcpt_ok
plugin
does - check if the message is to a remote target and when yes,
check if
the user may relay - should probably not done as the last step in
the rcpt
chain, but as the first step. It does not make any sense to check the
recipient further if it is external and the user is not allowed to
relay.
The API should allow you to have a plugin say "run sub {} first in
the $x hook and sub {} after everything else". I'm not sure we can/
should change rcpt_ok - but that'd allow a plugin or an option to do
what you propose.
- ask
--
http://develooper.com/ - http://askask.com/