Re: [exim] DKIM checking and header expansions

Top Page
Delete this message
Reply to this message
Author: Heiko Schlittermann
Date:  
To: exim-users
Subject: Re: [exim] DKIM checking and header expansions
Ian Zimmerman <itz@???> (Mo 26 Dez 2016 07:41:07 CET):
> The spec quoth (11.5):
>
> For incoming SMTP messages, no header lines are visible in ACLs that
> are obeyed before the DATA ACL, because the header structure is not set
> up until the message is received. Header lines that are added in a RCPT
> ACL (for example) are saved until the message’s incoming header lines
> are available, at which point they are added. When a DATA ACL is
> running, however, header lines added by earlier ACLs are visible.
>
> But acl_smtp_dkim runs before acl_smtp_data, and clearly it has to be
> able to split the data into separate headers, because DKIM signatures
> apply to specific subsets of headers. So is it really true that the
> $bh_ (etc.) expansions are not available in acl_smtp_dkim? Or is this a
> case of somewhat stale documentation?


From a simple test (I modified testcase 4501 slightly) it *seems* that
$bh_subject: and $bh_from: are available. So are the other $bh_ expandos
probably too.

If I can find some prove in the source, we should update the
documentation. Please file a bug report.

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -