Where to place Exim ACL?

unco

Active Member
Jun 17, 2010
43
7
58
Southern Pines, NC
Hi - I have incoming mail filtering with SpamExperts. When folks forward mail, the messages end up bouncing (but stay in the queue for a while first). I don't know why I let this bother me, but it does. I'm assuming I would place my ACL in /usr/local/cpanel/etc/exim/acls.

Here's what I have. If you see any errors, please tell me. : )

What I want to accomplish is to deny the messages from [email protected] from going back out.

deny domains = master.antispamcloud.com
condition = ${if eq{$local_part@$domain}{[email protected]}}
message = This message has been removed.

I tried to place it in the ACL_OUTGOING_SMTP_CHECKALL_BLOCK directory, and had errors.

Thanks!
B
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
Hey there! Yes, that is the correct directory path, but in general, we don't expect people to be manually editing those files.


Everything should be done through the WHM >> Exim Configuration Manager page under the "Advanced" tab as that will create the additional files as mentioned in the documentation link so cPanel/Exim don't overwrite your custom changes in the future.