[nylug-talk] Is there anyone proficient with Postfix that can talk to me today or tomorrow.
Ajai Khattri
ajai at bitblit.net
Sat Sep 1 12:45:09 EDT 2007
On Fri, 31 Aug 2007, Brandorr wrote:
> I'm trying to figure out why it isn't logging even though I enabled -v
> and set the debug_peer_list domains.
Is postfix using syslog? If so, you may need to check your syslog config -
it might be lumping mail log messages with the rest of the system
messages.
IMHO, building postfix *usually* means its using syslog but syslog may
need that extra bit of config. Here's some sample config for syslog-ng
(which is what I use on my servers).
# tell syslog-ng to ignore mail messages
filter notmail { not facility(mail); };
# notmail go to the console and the usual logs
log { source(src); filter(notmail); destination(messages); };
log { source(src); filter(notmail); destination(console_all); };
# tell syslog to put postfix's messages into /var/log/maillog
filter mail { facility (mail); };
destination maillog { file("/var/log/maillog"); };
log { source(src); filter(mail); destination(maillog); };
--
Aj.
More information about the nylug-talk
mailing list