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.

CPanel updating cpanel_exim_system_filter

Discussion in 'E-mail Discussions' started by rlpittman, Dec 30, 2008.

  1. rlpittman

    rlpittman Active Member

    Joined:
    Feb 14, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    I have a couple of customers that require that ALL emails sent to and from a domain be copied to an archive email service called Smarsh. I have written the directive to the cpanel_exim_system_filter file, but Cpanel constantly updates that file, removing my custom filter.

    I just did a chattr +i on the file, but now I'm concerned that updates won't occur correctly. In exim.conf, the call for the system filter is system_filter=/etc/cpanel_exim_system_filter. How can I correctly modify this line to add a NEW filter file while retaining the original filter file? As I'd bet that cpanel will also update exim.conf, I can't just change it there.

    Any ideas?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If possible, use the advanced Exim configuration editor in WHM. That will preserve your changes.
     
  3. rlpittman

    rlpittman Active Member

    Joined:
    Feb 14, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Updating Exim Filter

    David,

    Should I put the directive in the exim config, or should I call another filter file to run? If the latter, what is the correct syntax?

    system_filter=/etc/cpanel_exim_system_filter, /etc/my_custom_filter ?
     
  4. djmerlyn

    djmerlyn Well-Known Member

    Joined:
    Aug 31, 2004
    Messages:
    203
    Likes Received:
    1
    Trophy Points:
    16
    I've got the same question ^
     
Loading...

Share This Page