[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mail log question



On Wed, Sep 10, 2025 at 01:25:33 +0000, Rob Hoo wrote:
> I found that after I installed postfix by apt, mail.log was not appeared
> in /var/log/.
> 
> do you know how can I check the mail log then?

Is the rsyslog package installed?  It's not installed by default in newer
releases, so you would need to add it in order to get human-readable
log files under /var/log.

Or, if you don't care about those files and just want to read the systemd
log files, you can use journalctl(1).  Specifically, a command like

    journalctl -u postfix

where "postfix" is the systemd service name in question, will show you
the logs for that service.


Reply to: