heloblocks Blocklist

forstrue

New member
Joined
Dec 17, 2023
Messages
2
Greetings.

In cPanel, I have the following rule:
WHM > Exim Configuration Manager > Advanced Editor
custom_begin_smtp_helo:
drop
condition = ${lookup{$sender_helo_name}lsearch{/etc/heloblocks}{yes}{no}}
log_message = HELO/EHLO - HELO on heloblocks Blocklist
message = HELO on heloblocks Blocklist
accept

How to have the same thing in DirectAdmin?
What adjustments are needed?

I tried pasting the rule into /etc/exim.acl_check_helo.pre.conf but everything is rejected.

thanks.
 
Back
Top