On Mon, Apr 29, 2019 at 01:33:09PM -0600, Brielle Bruns via Exim-dev wrote:
> Version: 4.92-2~bpo9+1
>
> My configuration files are ancient. IIRC, I originally built them from the
> debian config back around 2005 or 2006 (We've actually been using exim since
> 2003). They got updated over the years as needed and include a bunch of
> special stuff that is integrated with my DNSbl work.
>
> So, the DKIM section is based on what I found in Debian's config. Under the
> remote_smtp transport, I have the following:
>
> dkim_domain = DKIM_DOMAIN
> dkim_selector = DKIM_SELECTOR
> dkim_private_key = DKIM_PRIVATE_KEY
> dkim_canon = DKIM_CANON
>
> Those variables are defined as:
>
> DKIM_SELECTOR = default
> DKIM_DOMAIN = ${sg{${lc:${domain:$h_from:}}}{^www\.}{}}
> DKIM_FILE = /etc/exim4/dkim/${lc:${domain:$h_from:}}-private.pem
> DKIM_PRIVATE_KEY = ${if exists{DKIM_FILE}{DKIM_FILE}{0}}
> DKIM_CANON = relaxed
JFTR, Debian's default configuration does have all settings in the
remote_smtp transport bracketed in .ifdefs:
.ifdef DKIM_DOMAIN
dkim_domain = DKIM_DOMAIN
.endif
.ifdef DKIM_SELECTOR
dkim_selector = DKIM_SELECTOR
.endif
.ifdef DKIM_PRIVATE_KEY
dkim_private_key = DKIM_PRIVATE_KEY
.endif
.ifdef DKIM_CANON
dkim_canon = DKIM_CANON
.endif
.ifdef DKIM_STRICT
dkim_strict = DKIM_STRICT
.endif
.ifdef DKIM_SIGN_HEADERS
dkim_sign_headers = DKIM_SIGN_HEADERS
.endif
and doesn't define any of those macros in the default. I verified this
in the unstable version of Debian, exim4 4.92-5.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421