This is a discussion on logging entry in rc and log/run within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hi, I have the following in my rc file: exec env - PATH="/var/qmail/bin:/command:$PATH" \ qmail-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I have the following in my rc file: exec env - PATH="/var/qmail/bin:/command:$PATH" \ qmail-start "`cat /var/qmail/control/defaultdelivery`" multilog t /var/log/qmail and the following in qmail-smtpd/log/run: exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog \ t /var/log/qmail/smtpd and in qmail-send/log/run: exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail My question is, do I need to invoke multilog in all the files? Thanks. Vahid. |
|
|||
|
sunman@ureach.com (Vahid) writes:
> I have the following in my rc file: > > exec env - PATH="/var/qmail/bin:/command:$PATH" \ > qmail-start "`cat /var/qmail/control/defaultdelivery`" multilog t /var/log/qmail > > and the following in qmail-smtpd/log/run: > exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog \ > t /var/log/qmail/smtpd > > and in qmail-send/log/run: > exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail > > My question is, do I need to invoke multilog in all the files? No, you shouldn't be logging from the rc file. -- Dave Sill Oak Ridge National Lab, Workstation Support Author, The qmail Handbook <http://web.infoave.net/~dsill> <http://lifewithqmail.org/>: Almost everything you always wanted to know. |
|
|||
|
Dave Sill wrote: > sunman@ureach.com (Vahid) writes: > > >>I have the following in my rc file: >> >>exec env - PATH="/var/qmail/bin:/command:$PATH" \ >>qmail-start "`cat /var/qmail/control/defaultdelivery`" multilog t /var/log/qmail >> >>and the following in qmail-smtpd/log/run: >>exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog \ >> t /var/log/qmail/smtpd >> >>and in qmail-send/log/run: >>exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail >> >>My question is, do I need to invoke multilog in all the files? > > > No, you shouldn't be logging from the rc file. > Thank you, just wanted to make sure. Vahid. |