`syslogd` equivalent of mail.log`

This might be a stupid question, but how do I get the equivalent of mail.log in system-d / Journal ?

I need it for making a report about a specific email.

Thanks

The interface provides a convenient cheat sheet. :smiley: Note right under “View Journal”. Work out what you are looking for there and just put it into a terminal. That’s kinda been what I’ve done until I learn more about ‘journalctl’.

This is the answer I need is, what to look for :smiley: . It is so I can reply to Jamie but there is not a mail.log equivalent that I can see.

There is a long list of things in the drop down, including postfix. But an email ID is a good filter for what you are looking for from the sounds of it.

1 Like

The journal has nothing to do with syslogd. syslogd (or rsyslogd) is for text-based logs like mail.log, so the syslog equivalent of mail.log is mail.log.

For the journal, you want to look at the correct systemd unit. For mail, the unit will usually be either postfix (for SMTP stuff) or dovecot (for IMAP/POP) units.

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.