Jens Georg <[EMAIL PROTECTED]> wrote:
> 
> i am looking for a way to get the status of each smtp-action mailed back
> to me. if i.e. [EMAIL PROTECTED] sends an email to [EMAIL PROTECTED], [EMAIL PROTECTED] should get back
> the status of the smtp-transaction (same lines that are written to the log).

Okay.  I don't see how this is remotely useful, though -- the only
person to whom this is useful information is the administrator, and he
already has access to it in the logs.

> this should be invoked by i.e. setting the mail's priority to "highest" and
> is meant for debugging purpose only.

qmail doesn't care about message priorities -- every message gets best
possible service.

> is there anything available to achieve this?

Yes -- awk/perl/python.  Have something post-process the logs
continuously.  When a delivery status line appears, send a message.

You realize, of course, that you'll have to have this process skip the
status messages themselves, or you'll go into an endless loop.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------

Reply via email to