On 2024-11-29 10:08, Greg Wooledge wrote:
On Thu, Nov 28, 2024 at 19:13:12 -0500, Dan Ritter wrote:
Bitfox wrote:
> My OS is debian 12 without GUI.
>
> After I installed postifx by apt, I can't find the path to mail.log.
>
> the log file in /var/log doesn't exist.
>
> do you know where is my mail.log now?
by default, it's in /var/log.
No. As of bookworm, rsyslog is no longer installed by default, and
there are no human-readable log files by default.
https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#changes-to-system-logging
Update:
following Greg's help, I run 'apt install rsyslog' and 'service postfix
restart', now mail.log has been working.
2024-11-29T18:27:50.514443+08:00 mgw postfix/postfix-script[61549]:
starting the Postfix mail system
2024-11-29T18:27:50.522266+08:00 mgw postfix/master[61551]: daemon
started -- version 3.7.11, configuration /etc/postfix
Thanks a lot.