the conf files in /var/qmail/control/conf-* from qmail 1.03-r13+ are cool. how about adding a variable in conf-common for parameters to pass to multilog ? right now in /var/qmail/supervise/qmail-send/log/run and /var/qmail/supervise/qmail-smtpd/log/run there is: exec /usr/bin/setuidgid qmaill /usr/bin/multilog t s2500000 /var/log/qmail/qmail-smtpd i would like to be able to set the value for 's' and also add in 'n25', without having to edit the 'run' file. something like exec /usr/bin/setuidgid qmaill /usr/bin/multilog t ${MULTILOG_OPTS} /var/log/qmail/qmail-smtpd with that variable set in /var/qmail/control/conf-common
This support has been in qmail (see conf-common) for more than 9 months already (in -r14 and -r15). Just how exactly did you not see it? snippet from conf-common: # logging directives LOG_OPTS="t" # 't' is for timestamp LOG_MAXSIZE=2500000 # defalts to '99999' if empty LOG_MAXCOUNT=10 # defaults to '10' if empty # build LOG_OPTS from this [ -n "${LOG_MAXSIZE}" ] && LOG_OPTS="${LOG_OPTS} s${LOG_MAXSIZE}" [ -n "${LOG_MAXCOUNT}" ] && LOG_OPTS="${LOG_OPTS} n${LOG_MAXCOUNT}" # directory to log to LOG_DEST=/var/log/qmail/qmail-${SERVICE}d