Difference between revisions of "Postfix logging"

From thelinuxwiki
Jump to: navigation, search
(Pushed from Themanclub.)
 

Latest revision as of 16:16, 24 May 2013

postfix and syslog-ng logging


added to /etc/syslog-ng/syslog-ng.conf

 destination mail { file("/var/log/mail.log"); };
 filter mail { facility(mail); };
 filter notmail { not facility(mail); };
 log { source(src); filter(mail); destination(mail); };
 log { source(src); filter(notmail); destination(messages); };