Robin Bowes wrote:
Sounds like it it might be useful to modify qpsmtpd so it can treat the return codes from the plugins optiionally and decide what to do further down the line.
It would be a significant architectural change; currently, plugins can reject a message at almost any time in the negotiation. The basic meaning of DENY would have to be changed (or every plugin rewritten).
Plus of course there's my requirement to keep all messages even if qpsmtpd bounces them.
If you don't mind losing some of the connection-based rejects (like blacklists), you could put an instance of qmail's smtpd in front of qpsmtpd and copy each message as it goes through the front door (isn't there a compile option for qmail which does that?).
John
