OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: how to change the place logs are stored

From: Bill Cole (postfixlists-070913billmail.scconsult.com)
Date: Wed Dec 05 2007 - 07:53:46 CST


At 3:06 PM +0200 12/5/07, al frag wrote:
>hi,
>
>postfix at the moment stores all logs in var/log/mail. How could i
>make postfix write them in /myfolder1/myfolder2?

Postfix uses the syslog facility to do its logging, so this is really
a question about a basic system administration task: configuring
syslog.

With a caveat that different Unix-ish OS's do syslog slightly
differently and you neglected to mention what OS you are running...
You probably need to edit /etc/syslog.conf and send a HUP signal to
your syslog daemon to reload that file. try these for more info:

man syslog.conf
man syslogd

(and again, those may not be the same on all systems....)

--
Bill Cole
billscconsult.com