Email Logs

All email logs are stored persistently and can be accessed directly from the host system. There is no need to enter a container to diagnose mail flow issues, authentication failures, or filtering results.

Data and Log Locations

The root directory for email persistence and logs on the host operating system is:

/var/local/LxRoot/email

All active log files are consolidated within the following subdirectory:

/var/local/LxRoot/email/data/logs

Service Specific Logs

Postfix (MTA)

Use these logs to troubleshoot outbound delivery, inbound SMTP reception, and relay issues.

/var/local/LxRoot/email/data/logs/postfix/postfix.log

Logs are rotated daily and gzipped. Older logs follow the pattern: postfix.log.yyyymmdd-hhmm.gz

POP/IMAP (Dovecot)

Use these logs to troubleshoot client connection issues, mailbox authentication, and IMAP folder errors.

/var/local/LxRoot/email/data/logs/dovecot/dovecot.log

Older logs are compressed in the format: dovecot_[unixtimestamp].tar.gz

Spam Filter (Rspamd)

Use these logs to determine why specific messages were flagged as spam or rejected by the filter.

/var/local/LxRoot/email/data/logs/rspamd/rspamd.log
Debugging Tip

To watch mail flow in real-time, you can use the tail command on the host:
tail -f /var/local/LxRoot/email/data/logs/postfix/postfix.log