Hi,
I am trying to add a custom Exim ACL that would check incoming messages and block them based on the FROM "Friendly Name" but I do not know where exactly I can add the custom ACL so it works and takes effect.
The ACL i want to add is this:
acl_check_data:
# Blacklist if friendly name matches any patterns.
drop
condition = ${if match{$h_from:}lsearch{/etc/virtual/blacklist_from}}
message = Blacklisted.
log_message = Blacklisted nasty.
I tried to add it to /etc/exim.acl_check_message.pre.conf but the result was that absolutely all messages were blocked.
Please advise
I am trying to add a custom Exim ACL that would check incoming messages and block them based on the FROM "Friendly Name" but I do not know where exactly I can add the custom ACL so it works and takes effect.
The ACL i want to add is this:
acl_check_data:
# Blacklist if friendly name matches any patterns.
drop
condition = ${if match{$h_from:}lsearch{/etc/virtual/blacklist_from}}
message = Blacklisted.
log_message = Blacklisted nasty.
I tried to add it to /etc/exim.acl_check_message.pre.conf but the result was that absolutely all messages were blocked.
Please advise