On 01/24/2013 10:35 PM, Todd Lyons wrote:
Instead, the following:
dkim_verify_signers = $dkim_signers : ${readfile{/etc/exim/some_file}{:}}
works. Can somebody explain why I need to expand the file contents manually
here?

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.

I came to expect file expansion everywhere in exim, to the point that I actually read the specific doc for this variable :). But I was fooled by the following:

2013-01-23 11:12:53 1TxxK8-0001A3-Vu failed to open /etc/exim4/dkim_known_signers when checking "/etc/exim4/dkim_known_signers": No such file or directory

It seems that the exim still tries to read the file nonetheless. When I created the file, I basically expected exim to read it at this point.


--
## 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/

Reply via email to