Postfix does not log
Hi all, I need some help with Postfix, but I am asking it here, because I am not sure what causes the problem - Postfix or syslog. The problem: Postfix does not log into /var/log/maillog. The logfile is turned over by newsyslogd every midnight. Syslogd is started with -s option. And yes, it has been restarted after modifing syslog.conf. Here are the lines from syslog.conf where mail is mentioned: *.err;kern.debug;auth.notice;mail.crit /dev/console *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err;local0.none /var/log/messages mail.* /var/log/maillog Output from postconf -n: command_directory = /usr/local/sbin config_directory = /usr/local/etc/postfix daemon_directory = /usr/local/libexec/postfix debug_peer_level = 2 local_recipient_maps = mail_owner = postfix mailq_path = /usr/local/bin/mailq manpage_directory = /usr/local/man newaliases_path = /usr/local/bin/newaliases queue_directory = /var/spool/postfix readme_directory = no sample_directory = /usr/local/etc/postfix sendmail_path = /usr/local/sbin/sendmail setgid_group = maildrop unknown_local_recipient_reject_code = 450 Everything pretty standard, I think.. Appreciate any help! -- Ksenia ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix does not log
Can you do an ls -all /var/log/maillog and past the output here? -rw-r- 1 root wheel 58 Nov 12 00:00 /var/log/maillog -- Ksenia ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix does not log
What if you do: killall -HUP syslogd? Did it, still the same. I even killend syslogd and started it again, same result. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix does not log
I may be way off here (probably am) but have you checked the master.cf to see if it is running chroot'd. Nope, no chroot here :( -- Ksenia ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix does not log
On Fri, 12 Nov 2004 15:00:35 +0200, Ksenia Marasanova [EMAIL PROTECTED] wrote: Hi all, I need some help with Postfix, but I am asking it here, because I am not sure what causes the problem - Postfix or syslog. Have you tried defining the following (yes, they are the defaults I know) in your main.cf? syslog_facility = mail syslog_name = postfix Also - you could try adding a line to your syslog.conf that looks something like (correct me if I'm wrong on this folks - I've never tried this): !postfix *.* /var/log/postfix.log (don't copy paste this btw - it'll break syslog) While it's not the right way to log mail events - it would catch messages if they are being sent to the wrong facility, etc. If you shutdown postfix and fire up sendmail (if possible) do you get anything in maillog? This may help indicate if the problem is syslog or postfix. Aaron ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]