> >Is there any way to get rid of the "maillog plugin: " part?
> Yes, log through $plugin->qp->log() instead of $plugin->log().

Thanks for the hint. I've changed this in a new version of 'maillog' which
is available on http://qpsmtpd.kju.de/. Also new is the possibility to enter
'1' into the config file 'maillog_bar' which instructs 'maillog' to add some
bar on begin and end of an mail entry in the log. The output with that now
looks like the following example:

Sep  3 12:57:28 zeus qpsmtpd: 31844 ===========================================
Sep  3 12:57:28 zeus qpsmtpd: 31844 mail from:    <[EMAIL PROTECTED]>
Sep  3 12:57:28 zeus qpsmtpd: 31844 rcpt to:      <[EMAIL PROTECTED]>
Sep  3 12:57:28 zeus qpsmtpd: 31844 mail size:    5 bytes
Sep  3 12:57:28 zeus qpsmtpd: 31844 tcp client:   id4cc00b5.versanet.de [212.204.0.181]
Sep  3 12:57:28 zeus qpsmtpd: 31844 relay client: yes
Sep  3 12:57:28 zeus qpsmtpd: 31844 authmethod:   pop-before-smtp
Sep  3 12:57:28 zeus qpsmtpd: 31844 client user:  0815test
Sep  3 12:57:28 zeus qpsmtpd: 31844 ===========================================

At least for me thats very very helpful, because at a glance i can see who
sent a mail, which useraccount was involved and how he was authenticated.

But i'm still having the problem that smtpauth sessions can not be logged
correctly, because the transaction notes set in the SMTP Auth module are
gone when i'm try to access them in the 'maillog' plugin. Is this a bug or
a feature?

-kju

-- 
      It's an insane world, but i'm proud to be a part of it. -- Bill Hicks

Reply via email to