How to Enable Extended Logging in Exim?

Extended Exim log is helpful in troubleshooting Exim issues on Linux Server. It allows you to add additional details to the exim main log file. (var/log/exim_mainlog). After doing this, you can find from and to addresses of your messages that are using exim as an email service.

Please refer to the following steps to enable extended logging in Exim.

  1. Login to WHM Panel and go to Service Configuration and click on Exim Configuration.

  2. Click on Advanced Editor.

  3. Here we will edit and it will update the exim.conf file. Add the below inside the log_selector box.

    log_selector = +addressrewrite +all_parents +arguments +subject

  4. Click on the Save button after scrolling down and you will see the added entry in your exim_mainlog file.

        Please refer to the following steps to enable Extended logging using the command in SSH.

  1. Login to the server with the root user via SSH.

  2. Go to the Exim Configuration File /etc/exim.conf using your favorite text editor.

  3. Find auth_relay_hosts inside the Exim configuration file and add the below line.

    log_selector = +addressrewrite +all_parents +arguments +subject
  4. Save the file using :wq and restart Exim service.

    service exim restart

Related Articles

How to install the Zabbix agent version 4.0 on Debian 9 (strech)?

Zabbix is an Open-source monitoring tool use to monitor the health of servers, networks and other...

Is HTML5 Supported in Your Servers?

Since HTML content has nothing to do with the web server, there are no special requirements...

How to fix su USER Fails With "su: cannot create child process: Resource temporarily unavailable" Error in CloudLinux?

You may face the below error while switching the accounts using su command. su accutest su:...

How to redirect http to https using .htaccess?

If you have installed SSL Certificate on your website and want to redirect your website traffic...

How to check Inode usage from cPanel and Command line?

Inode is a data structure that stores the information about all files created on your hosting...

  • 0 Users Found This Useful

Was this answer helpful?