Server Guru

Just another Tech Blog

LinuxMail Server

Posfix Mail Server Logs not updating in maillog

If our website helped you then please click on any of the ads on this page to support us. Your support will help us to create more and more useful posts.

 

Posfix Mail Server Logs are not updating in /var/log/maillog

You can see that /var/log/maillog is not showing any data while performing any mail server related activities including restarting the services or sending mails.

 Solution: Add the following line in /etc/rsyslog.conf and restart rsyslog service.

—————————————–
mail.*  /var/log/maillog
—————————————–

NOTE: To verify whether logging started working, please restart postfix and check /var/log/maillog for new entries.

 

If our website helped you then please click on any of the ads on this page to support us. Your support will help us to create more and more useful posts.

Leave a Reply