halbtaxabo-jnq--- via Exim-users writes

> I'm using Exim 4.96 on Debian 12.5.  There are 2 domains hosted on
> my server from which mail can be sent, so to use DKIM I have to look
> up the key and the selector depending on the sender's domain.

  Really? Lazy me uses the same key for all my domains. 

> And first I have to de-taint the domain
> name. So I put the domain names in a file,
> /etc/exim4/dkim/domainslist , readable by Debian-exim ,
> and in the /etc/exim4/exim4.conf.localmacros file the first
> nontrivial line is:
> DKIM_DOMAIN = ${lookup{$domain:$h_from:}lsearch{/etc/exim4/dkim/domainslist}}
> 
> This doesn't work.

ibbart:/var# date
Fri May  3 11:08:26 +07 2024
ibbart:/var# update-exim4.conf
ibbart:/var# ls -l /var/lib/exim4/config.autogenerated
-rw-r--r-- 1 root Debian-exim 25478 May  3 11:08 
/var/lib/exim4/config.autogenerated

  shows that update-exim4.conf generates /var/lib/exim4/config.autogenerated.

  Debian-exim uses this file as the configuration.  Look whether your
  changes are there. If not, I suggest you set

dc_use_split_config='true'

  in /etc/exim4/update-exim4.conf.conf and place your configuration
  changes as a file somewhere in /etc/exim4/conf.d/.


-- 
  Written by Thomas Krichel http://openlib.org/home/krichel on his 21518th day.

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to