[nzlug] Stop postfix logging to /var/log/syslog
Andrew Bruce
abruce at hope-st.ath.cx
Thu May 10 17:38:49 NZST 2007
Not sure what logger you are running, but this is what I have in my
system loggers config file (for syslog-ng):
# Mail
destination mail { file("/var/log/mail.log"); };
filter f_mail { facility(mail); };
log { source(src); filter(f_mail); destination(mail); };
filter f_messages {
not facility(mail);
};
Hopefully this helps some,
Andrew Bruce
Simon wrote:
> Hi There,
>
> Debian sarge... How do i configure syslog to only log mail to
> mail.log. The default debian postfix logs to mail.log and syslog at
> the same time with the same data.
>
> Any pointers are appreciated!
>
> Thanks
>
> Simon
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>
More information about the NZLUG
mailing list