Hi
On Jan 18, 2006, at 22:49, Christopher Faylor wrote:
On Wed, Jan 18, 2006 at 06:14:51PM +0100, Johan Almqvist wrote:
Here's my first own plugin. I'd be grateful for any hints on the
coding style etc.
I like this idea but it would be more useful for me if this took
regexes
rather than exact strings.
Although, actually, hmm. I would want to be able to somehow say
something like "deny bounces to everything but...". That would
allow ezmlm's
automatic unsubscribe to work while blocking spam bounces to
everybody else.
I guess that would involve a more complicated config file syntax,
though.
I'll think about it once more, I think I should probably turn the
logic around both in check_badrcptto_patterns and in my plugin, so
that check_badrcptto_patterns becomes check_goodrcptto_patterns (a
list of patterns that describes all legit addresses) and denybounce
would then be an extra list of addresses that are legit, but don't
accept bounces (such as the address that is subscribed to this list,
which has -qpsmtpd added to my username)
-Johan