Skip to content

Commit 30ab50b

Browse files
authored
Improve logging of Spamhaus DQS lookups without exposing query key (hestiacp#5011)
1 parent 8a26bad commit 30ab50b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/server-administration/email.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ When you are done you can check the configuration via [MXToolBox](https://mxtool
6464
1. Fill in the form and verify your email address by via the link in the email you recive.
6565
1. Once logged, go to Products → DQS and you will see your Query Key and below you will see the exactly fqdn that you will need to use Zen Spamhaus black list. Something like: `HereYourQueryKey.zen.dq.spamhaus.net`
6666
1. Edit /etc/exim4/dnsbl.conf and replace `zen.spamhaus.org` with `HereYourQueryKey.zen.dq.spamhaus.net`
67-
1. Also edit /etc/exim4/exim4.conf.template on the line: `deny message = Rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text` to `deny message = Rejected because $sender_host_address is in a black list` to prevent your Query key from leaking
67+
1. Also edit /etc/exim4/exim4.conf.template on the line: `deny message = Rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text` to `deny message = Rejected because $sender_host_address is in a black list at ${if match{$dnslist_domain}{.*zen.dq.spamhaus.*}{zen.dq.spamhaus.net}{$dnslist_domain}}\n$dnslist_text` to prevent your Query key from leaking
6868
1. Restart exim4 with systemctl restart exim4
6969

7070
## How do I disable internal lookup for email

0 commit comments

Comments
 (0)