majoosh

Well-Known Member
Feb 18, 2006
97
0
156
India
Hi,

I am setting up a syslog server. Does anyone know how to forward exim_mainlog to a remote syslog server ?

Regards
MJ
 

syslint

Well-Known Member
Verifed Vendor
Oct 9, 2006
268
7
168
India
cPanel Access Level
Root Administrator
Twitter

majoosh

Well-Known Member
Feb 18, 2006
97
0
156
India
Thanks guys I figured it :)

In case if anyone wondering how to do it just add the line below in the top section of /etc/exim.conf or update the config settings via exim advanced configuration editor.

log_file_path = :syslog

The above config will log messages both locally and to your syslog server.

Regards
Mj
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
I am happy to see you were able to address the issue. Note it's important to use the "Advanced Editor" in "WHM >> Exim Configuration Manager" when editing the Exim configuration to ensure the changes are preserved.

Thank you.