Mailing List Archive

qmail-send log subject
Hello

I'm using multilog in a spamfilter server with qmail-send (not use
vpopmail)
Is there any way to log "subjects" on qmail-send logs?

> qmail-send/run
#!/bin/bash
#exec /var/qmail/rc
env - PATH="/var/qmail/bin:/usr/local/bin:/usr/bin:/bin" \
/var/qmail/bin/qmail-start ./Maildir/

> qmail-send/log/run
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH
exec setuidgid qmaill multilog t s20000000 n20 /var/log/qmail/qmail-send
2>&1
Re: qmail-send log subject [ In reply to ]
Thus said Rejaine Monteiro on Tue, 29 Jan 2013 13:00:55 -0200:

> Is there any way to log "subjects" on qmail-send logs?

You could use QUEUE_EXTRA (and perhaps 822field subject) as described
here:

http://cr.yp.to/qmail/faq/admin.html#copies

Another alternative is to modify every delivery instruction in dot-qmail
files everywhere that they are in use to output the subject.

Andy