Re: [exim] dkim_verify_signers and file expansion

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Phil Pennock
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] dkim_verify_signers and file expansion
On 2013-01-24 at 13:35 -0800, Todd Lyons wrote:
> The expansion gives you what you were looking for. The
> dkim_verify_signers setting itself doesn't know to convert a raw file
> name to a readfile like the lists do. It could either be added to the
> code or it can be better documented that it doesn't work like regular
> lists in that regard. I do not know how much work it would be, I have
> not looked at the code, won't have time until maybe next week.


We could perhaps do with renaming one of the list concepts we have here.

Normal lists are "look to see if this item is somewhere in thislist";
eg, domainlist, local part lists, etc. Evaluation can be
short-circuited, items can be lsearch, etc.

By contrast, dkim_verify_signers returns a list to be iterated over,
because an ACL is invoked for _all_ the entries, so the "use a filename
as a search source" logic isn't applicable.

These two concepts are confusingly similar; given "list" appears in the
names of the configuration directives for the former, perhaps the second
should be switched to use different terminology.

Generators? Something else?

-Phil