Re: [exim] Help with dual-key DKIM

2021-07-26 Thread Perry Naseck via Exim-users
Thank you all very much for your pointers. I switched to SQLite with the following schema: CREATE TABLE `dkim` (     `domain`    INTEGER NOT NULL,     `selector`    TEXT,     `privkey`    TEXT,     `strict`    INTEGER NOT NULL DEFAULT 0,     `canon`    TEXT DEFAULT 'relaxed' ); An example row:

Re: [exim] Help with dual-key DKIM

2021-07-26 Thread Jeremy Harris via Exim-users
On 26/07/2021 14:16, Graeme Fowler via Exim-users wrote: So… if there are lines after the first match, they’ll never be reached. As Jeremy states, wrong tool for the job. If you want to persevere with lsearch, make your key (the bit before the colon) unique and set multiple values, The

Re: [exim] Help with dual-key DKIM

2021-07-26 Thread Graeme Fowler via Exim-users
On 26 Jul 2021, at 13:51, Perry Naseck via Exim-users wrote: > Thanks for your response. Would you mind elaborating? Which tool should I be > using? I'm not very experienced with configuring Exim, but I would like to > learn.

Re: [exim] Help with dual-key DKIM

2021-07-26 Thread Perry Naseck via Exim-users
Hi Jeremy, Thanks for your response. Would you mind elaborating? Which tool should I be using? I'm not very experienced with configuring Exim, but I would like to learn. Thanks, Perry On 7/26/21 7:00 AM, Jeremy Harris via Exim-users wrote: On 25/07/2021 16:40, Perry Naseck via Exim-users

Re: [exim] Help with dual-key DKIM

2021-07-26 Thread Jeremy Harris via Exim-users
On 25/07/2021 16:40, Perry Naseck via Exim-users wrote: lsearch a list multiple times until there are no more matches You can't. Wrong tool for the job. -- Cheers, Jeremy -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ##

[exim] Help with dual-key DKIM

2021-07-26 Thread Perry Naseck via Exim-users
Hello! I'm having trouble wrapping my head around how to 1) lsearch a list multiple times until there are no more matches and 2) format that as an EXIM list (colon separated). This is to do dual DKIM signing (RSA+ed25519). This what I have now: exim4.conf.localmacros: DKIM_SELECTOR =