Den 2017-08-27 kl. 01:26, skrev Jeffrey L. Taylor:
Quoting Mikhail Ramendik <mr@ramendik.ru>:
Hello,
I am running Leap 42.2.
Where can I find the postfix logs? I see that postfix is listening to port 25, and I know a local application is supposed to send something to port 25. I'd like to know what it sends (if anything), but there is no /var/log/maillog or anything like that.
journalctl -f
shows much/most/all the logging. You may be able to restrict it. The above does what I need.
To see only postfix in a tail -f fashion journalctl -f -u postfix.service tail -f and since boot journalctl -f --b -u postfix.service tail -f and five days ago journalctl -f --since '5 days ago' -u postfix.service You could also do it with _UID journalctl -f _UID=`id -u postfix` As Carlos said you can install a syslog daemon and forward to that if you want. But I would also recommend start adapting to systemd and journald. If you really want syslog change ForwardToSyslog in /etc/systemd/journald.conf and install the daemon. regards, -- /bengan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org