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!

"Simple" q on cpanel_exim_system_filter

Discussion in 'E-mail Discussion' started by GoWilkes, Oct 9, 2009.

  1. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    397
    Likes Received:
    5
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Several months ago, I made a minor addition to the /etc/cpanel_exim_system_filter file. Nothing much, just an "unseen deliver" command at the bottom.

    Today, I removed that bit of scripting, and restarted Exim. But for some reason, it still ran the code!

    So, I rebooted the server (twice), and... it's still running the code.

    How in the world can this be? Is there a copy of cpanel_exim_system_filter somewhere other than at /etc/ that I've forgotten about??

    Any thoughts would be seriously appreciated :)
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,561
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Check the system_filter directive in /etc/exim.conf. It may be pointing at a different file.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    397
    Likes Received:
    5
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    No, it still points to /etc/cpanel_exim_system_filter. Good though, though.

    Can you tell me how many lines are in the default file? Mine has 281 lines, including the blank line at the end. I'm guessing that there's an error here somewhere that's causing the whole file to be rejected, but I can't imagine why.

    The permissions are set to 0644 on mine. Is that correct, too?
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,561
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Mine has 280 lines. Its perms are:

    Code:
    root@huxley [~]# stat /etc/cpanel_exim_system_filter 
      File: `/etc/cpanel_exim_system_filter'
      Size: 10992     	Blocks: 32         IO Block: 4096   regular file
    Device: fd00h/64768d	Inode: 1672635     Links: 1
    Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
    Access: 2009-10-13 15:35:21.000000000 +0000
    Modify: 2009-10-12 21:20:15.000000000 +0000
    Change: 2009-10-12 21:20:15.000000000 +0000
    
     
    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