i wanted to accomplish sth described here: http://thedjbway.org/djbrbl/multilogging.html i solved it this way: exec /usr/sbin/setuidgid qmaill /usr/sbin/multilog \ ${LOG_OPTS} '-* rblsmtpd: *' ${LOG_DEST} \ '-*' '+* rblsmtpd: *' /var/log/qmail/rblsmtpd but the comments said i should post a bug :) Reproducible: Always Steps to Reproduce: Actual Results: Expected Results: get the 'filters' to conf-smtpd file
LOG_DEST isn't a filename, it's a full filter-destination specifier. so simply set LOG_DEST to your filter string to use it... in your case, append this single line to conf-smtpd: LOG_DEST="'-* rblsmtpd: *' ${LOG_DEST} '-*' '+* rblsmtpd: *' /var/log/qmail/rblsmtpd"
re-opening to put this in a better place.
closing properly
sorry but, it isn't exactly the same each of the parameters *have* to be separate commandline argument my log line: # pcat /proc/14996/cmdline /usr/sbin/multilog t s10000000 n365 -* rblsmtpd: * /var/log/qmail/smtpd -* +* rblsmtpd: * /var/log/qmail/rblsmtpd Your suggested version: # pcat /proc/15465/cmdline /usr/sbin/multilog t s10000000 n365 '-* rblsmtpd: *' /var/log/qmail/smtpd '-*' '+* rblsmtpd: *' /var/log/qmail/rblsmtpd i tried various ways, but i wasn't able to create parameter which could consist of space, and as u can see, without the single quotes.
To check something, open up /var/qmail/supervise/qmail-smtpd/log/run and change: 'exec /usr/bin/setuidgid' to 'eval exec /usr/bin/setuidgid' and see if that works with my route of putting the filters in LOG_DEST. I believe it should work.
yes. thx it does (work)
Fixed in CVS for all run-scripts.
Closing.