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!

Modifying the exim.conf acls and other stuff

Discussion in 'E-mail Discussion' started by Smitty519, Nov 6, 2008.

  1. Smitty519

    Smitty519 Member

    Jun 15, 2008
    Likes Received:
    Trophy Points:
    I've spent many hours trying to find the answer to this with no success. I've also tried several different approaches to doing it. This is whm 11.23.2 running under RedHat linux at It's my dedicated server and it hosts 4 -6 domains and about 2 dozen email users scattered amongst the domains.

    The only way I've found to modify an acl so that cpanel updates won't wipe out the change is by using the advanced exim config editor. However, I don't seem to be able to modify or replace an existing acl. The only success I've had is to add a new acl with a new name and change the pointer to it in the config file. eg. acl_smtp_rcpt = my_check_recipient . Isn't there a way to replace an existing acl (or transport, director or router)??

    Also, how can I modify the system filter file to resist updates wiping out the change?

    I don't believe that the chattr solution that keeps being suggested is the right way to go. All that does is screw up the update process. Then you may end up preventing an otherwise desirable update.

    This "advanced" editor is very difficult and non intuitive (for me at least) to use. It seems I spend a great deal of time fussing with it to achieve what I want to do. There must be a better way!:) I saw a suggestion in another thread to just make changes in exim.conf. local. The suggestion came from cpanel support. After looking at that file, it appears that you would have to have detailed knowledge of the file's format and how the update process actually works to use that. Is that information available anywhere?

  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Apr 7, 2006
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    A possible work around would be to have a a posteximup script that modified /etc/exim.conf to restore your ACL changes.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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