Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Email filter logging (account and user level filtering logs)

Discussion in 'E-mail Discussion' started by movielad, Aug 14, 2013.

  1. movielad

    movielad Well-Known Member

    Joined:
    May 14, 2003
    Messages:
    109
    Likes Received:
    2
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I was wondering if it's possible to add a logging feature to the Exim filters within the Advanced Exim Configuration Editor to help diagnose filters as and when required (probably a feature request - but if there is a workaround in the mean time, I'd sure like to hear it!).

    The AEC doesn't allow me to directly alter the filters.

    Code:
    logwrite "$tod_log $message_id processed"
    logfile $home/filter.log
    
    The alternative would be to add them directly to the Exim file itself, but obviously that's liable to get overridden during updates, etc.

    Regards,

    Martyn
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,303
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Have you tried adding that entry to the filter file itself? The global filter file is located at:

    Code:
    /etc/cpanel_exim_system_filter
    However, you can copy this to a new file and configure Exim to use the custom filter file via the following option under the "Filters" tab in "WHM Home » Service Configuration » Exim Configuration Manager":

    "System Filter File"

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice