On Sun, 2007-18-02 at 16:09 +0100, Michael Holzt wrote: > But i also think that it might make sense to remove the relay checking > code from rcpt_ok and put in a separate plugin, e.g. called check_relay.
Perhaps copy the code to an *additional* 'check_relay' plugin rather than remove it entirely (see below) ? > This could then be run first in the rcpt-queue and deny all unauthorized > relayings. rcpt_ok should probably be reduced to just what the name > implies: returning OK for each and every mail (but this could then also > be made the default in qpsmtpd). Right now, the minimal plugin-set is: rcpt_ok <some-queue-plugin> I was going to document this on the wiki but if the architecture is going to change, I need to hold off. Presently, omitting 'rcpt_ok' blocks ALL mail so the present function seems to be to read 'rcpthosts'. -- --gh