Linux has an excellent email server using the program postfix. However, during the installation of postfix, it does not store log files unless you configure it to do that. To verify the log files of the postfix email server, we should first config postfix to store log textfiles. Edit the /etc/postfx/main.cf textfile and add the following code statement:

maillog_file = /var/log/postfix.log

Now reload postfix for the config to take effect with the statement

sudo service postfix reload

The email server should be logging email requests.

Thanks, and enjoy the post.

By admin

Leave a Reply

Your email address will not be published. Required fields are marked *