I believe fairly standard practice for syslog files is to do a cp to a
new file
cp maillog maillog.bak
then
cp /dev/null /var/log/maillog
That is what I do at least.
chau - eric
>> Peter van Dijk <[EMAIL PROTECTED]> writes:
>> > > How can I move the syslog.mail file and make a new one safely?
>> >
>> > mv syslog.mail syslog.mail.1
>>
>> you must also create the syslog.mail file, before restarting
>> syslogd. It will only append to an existing file.
>
>Not with the default linux syslogd.
>
>Greetz, Peter.
>--
>.| Peter van Dijk
>.| [EMAIL PROTECTED]
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com