On Wed, 5 Feb 2003, Gavin Carr wrote: > I've been thinking about per-user/domain plugin configurability > and am not sure how best to handle multiple recipient emails where > there are conflicting configurations required. Is there an easy > way of exploding emails to multiple recipients into multiple > single-recipient emails? (or perhaps non-conflict sets, at least) > Any suggestions of good ways to approach this issue?
I just updated the item in "STATUS" related to this: Methods to create a bounce message easily; partly so we can accept a mail for one user but bounce it right away for another RCPT'er. The data_post hook should be able to put in the notes what addresses should go through, bounce and get rejected respectively, and qpsmtpd should just do the right thing. See also http://nntp.perl.org/group/perl.qpsmtpd/170 I have a system that needs this functionality to be moved into a qpsmtpd plugin, so I just might get around to it this year; maybe even in the next couple of months. :-) I'll also make hooks for plugins to provide user configuration data. My current plan is to add "namespaces" to the config method, so you can ask for $qp->config('user:[EMAIL PROTECTED]') to lookup the configuration for [EMAIL PROTECTED] The config plugins can then easily figure out if they should DECLINE or lookup a request based on the "namespace". - ask -- ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
