How to Enable Extended Logging in Exim

How to Enable Extended Logging in Exim

The extended Exim logs in cPanel server will help you to troubleshoot the Exim issues on the server.Ā  It helps you to add more valuable logging information to your exim_mainlog (/var/log/exim_mainlog) file. It should be very helpful to find from where the messages are coming, who is sending the message etc.

To enable the extended logging in WHM

1) Login to WHM and click on ā€œService Configurationā€.

2) Navigate to ā€œEximĀ Configuration Managerā€, there you will see the options including ACL options, Access Lists, Domains, and IPs, etc.

Extended Logging

Ā 

3) From there you need to click on ā€œAdvanced Editorā€ on the top of the screen.

Extended Logging

Ā 

4) This is just like editing the Exim configuration file exim.conf, from there you would need to edit the log from the option: log_selector. This option can be used to reduce or increase the number of things that Exim writes to its log files. Its argument is made up of names preceded by plus or minus characters. There are more options that can be used, including +all, however, these are the ones we have found to be the most useful:

log_selector = +addressrewrite +all_parents +arguments +subject

Extended Logging

Ā 

5) Scroll down to the bottom of the page and then click on ā€œSaveā€ button.Ā  youā€™re all set! You can now watch the Exim log at /var/log/exim_mainlog for additional info!

To enable the extended logging in CLI

1) Login to the server via SSH using the root user.

2) Open the Exim Configuration File /etc/exim.conf using your favorite text editor.

3) Locate the entry ā€œauth_relay_hostsā€ on your Exim configuration file and add the below line after that entry.

log_selector = +addressrewrite +all_parents +arguments +subject

You can either enable all the options or just the required ones.

4) Save the file and restart Exim service.

If you need any further help, please do reach our support department.

  • 0

How to Enable Plaintext Authentication in Dovecot?

How to Enable Plaintext Authentication in Dovecot? Dovecot is an IMAP or POP3 server for...

Install Apache Tomcat using EasyApache4

Install Apache Tomcat using EasyApache4 The Apache Tomcat is an Apache module that provides a...

Maximum number of connections from user+IP exceeded

Maximum number of connections from user+IP exceeded If you are getting an error like ā€˜ Error ā€“...

How To Set Up Remote Access Key in WHM

How To Set Up Remote Access Key in WHM Remote Access Key is a cPanel feature that allows...

Manage Shell Access from WHM

Manage Shell Access from WHM The Shell access which is commonly referred to as SSH, we can...