is there any "easy way" to include on logs (qmail-scanner-queue.pl should be
the better place) the smtp auth information? You can see on logs each
authentication, but in a server with some thousands of accounts, should be
great to know who authenticated user sent what email. qmail-scanner-queue.pl
log each email with "from, to, clear/virus, ip, SA rate, subject". Is there
any easy way to pass user like a env variable to be read on
qmail-scanner-queue?
You might be able to modify qmail-scanner-queue to extract that information from the Received header(s).
It should also be possible to modify qmail-smtpd to set an environment variable with the AUTH username. I know that Erwin Hoffmann has been doing some work with the SMTP AUTH patch recently, perhaps he'd have time to add (and standardize) such a feature.
-- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/