On Tue, 25 Sep 2018 at 15:28, Andrew Colin Kissa <[email protected]> wrote:
> > > On 25 Sep 2018, at 13:57, Odhiambo Washington <[email protected]> > wrote: > > > > Thank you. However, for some reason this is generating an error: > > > > 2018-09-25 14:53:15 1g4jHp-000B76-VQ signing_init: error:0906D06C:PEM > routines:PEM_read_bio:no start line > > 2018-09-25 14:53:15 1g4jHp-000B76-VQ DKIM: signing failed: PRIVKEY > > 2018-09-25 14:53:15 1g4jHp-000B76-VQ DKIM: message could not be signed, > and dkim_strict is set. Deferring message delivery. > > Sorry about that butter fingers typo in the dkim_private_key part it > should have one curly bracket as follows. > > dkim_private_key = ${if > exists{/etc/pki/tls/dk/${lc:$sender_address_domain}-dkim.priv.key}\ > {/etc/pki/tls/dk/${lc:$sender_address_domain}-dkim.priv.key}{0}} > > Or if you prefer one line. > > dkim_private_key = ${if > exists{/etc/pki/tls/dk/${lc:$sender_address_domain}-dkim.priv.key}{/etc/pki/tls/dk/${lc:$sender_address_domain}-dkim.priv.key}{0}} > Thank you very much. This works now. Suppose I had different dkim_selectors, is there a simple way to work around that too? :) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft." -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
