The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Email filter logging (account and user level filtering logs)

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

  1. movielad

    movielad Well-Known Member
    PartnerNOC

    Joined:
    May 14, 2003
    Messages:
    107
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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.
     
Loading...

Share This Page