How to Enable Extended Logging in Exim? Print

  • 0

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

Was this answer helpful?

« Back
Sign up for a newsletter

chat