Not possible, SMTP.  The only time you can refuse to the resolution of a
specific recipient is at rcpt to time.  You can build a plugin which will
only accept a single recipient per email but then you'd have to receive [and
process] the mail several times.

peter

On 10/14/07 7:02 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> qpsmtpd-forkserver 0.32
> 
> I am trying to write a plugin that will run a data_post hook several times
> with different sender/receiver pairs, so the message can be
> accepted/rejected independently for each pair:
> 
> Connect
> mail from
> rcpt to 1
> rcpt to 2
> rcpt to 3
> data
> accept 1
> reject 2
> accept 3
> Disconnect
> 
> The plugin can use the mail and rcpt hooks to gather the sender and
> recipient information. However, it appears that once you have the message,
> you can only either accept or reject it, once, period.
> 
> Is what I'm asking for possible?
> 
> If not, it is a limitation of qpsmtpd, or SMTP?
> 
> Thanks.
> 

Reply via email to