Devin Carraway wrote:
On Sun, Feb 20, 2005 at 11:35:50AM -0800, Robert Spier wrote:
I'd suggest if a name is followed by an exclamation mark, this means do a DENYHARD, otherwise it does a plain DENY (ie "tim" - will reject this recipient, "tim !" will reject all emails that include "tim" amongst the recipients).I think it would be cleaner to do this as a wrapped plugin and two
separate config files.[1]
I think it was better the first time. The two behaviors are isomorphic except in returning one different value for one different input. If it required a
backwards-incomptible change in the config syntax it'd be another matter, but
this seems a natural extension to what the plugin did before which contradicts
no other extensions I can anticipate.
It's also fits well with sendmail's /etc/mail/access file, which (though I dont' care for the conflation in lookup key) enables particular entries to trigger various failure codes/messages, enable relaying, etc.
Not crazy about the bang as an errorcode selector, though. If a line in badrcptto is doing to trigger a DENYHARD, it may as well say DENYHARD (or DENY or DISCONNECT or whatever) and eliminate the uncertainty.
What's the real qpsmtpd plugin api syntax, this--?
DENY_DISCONNECT #hard DENY_REJECT
-Bob
