[exim-dev] [Bug 1323] New: $sender_address still points to t…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Maciej Laskowski
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 1323] New: $sender_address still points to the original sender after issuing 'mail' command in a filter
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1323
           Summary: $sender_address still points to the original sender
                    after issuing 'mail' command in a filter
           Product: Exim
           Version: 4.72
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: DKIM
        AssignedTo: tom@???
        ReportedBy: maciej@???
                CC: exim-dev@???



It relates to how the $sender_address is set when 'mail' command issued from
Exim filter file and how it effects DKIM signature.
When 'mail' command is issued from an Exim filter file the variable
$sender_address is set to equal the original sender of the message being
processed.
Furthermore my exim4.conf file pull out the sender domain from $sender_address
and try to apply DKIM signature for the give domain. Since my e-mail server is
handling only domain I own this message cannot be signed.
as the result no message sent from an exim filter file may be DKIM signed.

This line from exim4.conf shows how the DKIM domain for signing is being
determined:
....
DKIM_DOMAIN = ${lookup{$sender_address}lsearch*@{/etc/exim4/dkim_senders}}
....
/etc/exim4/dkim_senders is a list of all the mailing domains I handle.

I'd imagine as a solution that when 'mail' command sends a message from an exim
filter $sender_address should be changed to that of specified by 'from' in this
'mail' command.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email