logging entry in rc and log/run

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-...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-20-2004
Vahid
 
Posts: n/a
Default logging entry in rc and log/run

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.
Reply With Quote
  #2 (permalink)  
Old 07-21-2004
Dave Sill
 
Posts: n/a
Default Re: logging entry in rc and log/run

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.
Reply With Quote
  #3 (permalink)  
Old 07-22-2004
Vahid
 
Posts: n/a
Default Re: logging entry in rc and log/run



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.

Reply With Quote
  #4 (permalink)  
Old 07-22-2004
Jonathan de Boyne Pollard
 
Posts: n/a
Default Re: logging entry in rc and log/run

V> I have the following in my rc file:

<URL:http://lifewithqmail.org./lwq.html#start-qmail>
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:10 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0