On Feb 21, 2006, at 14:29, Robin Bowes wrote:
I'm still not clear about how this works.

I'm not actually storing anything - just reading what qpsmtpd does.

What I want to do is log the email sender and recipients at the point
when the mail has been accepted for delivery.

What I'm not sure of is how to detect when the mail has been accepted
for delivery.

hook_queue, and make sure your plugin is listed _after_ the 'real' queue plugin in config/plugins. The qpsmtpd design will make sure your plugin only gets run if the message was successfully queued (i.e. accepted).

Any pointers would be appreciated.

-Johan

Reply via email to