[exim-dev] [Bug 2697] New: Bug with Exim variables.

トップ ページ
このメッセージを削除
このメッセージに返信
著者: admin
日付:  
To: exim-dev
題目: [exim-dev] [Bug 2697] New: Bug with Exim variables.
https://bugs.exim.org/show_bug.cgi?id=2697

            Bug ID: 2697
           Summary: Bug with Exim variables.
           Product: Exim
           Version: 4.94
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Transports
          Assignee: unallocated@???
          Reporter: useful-soft@???
                CC: exim-dev@???


Created attachment 1368
--> https://bugs.exim.org/attachment.cgi?id=1368&action=edit
But with Exim variables if domain with dash.

Hello!

We have domain with hyphen (dash), for example: my-site.com

remote_smtp:
driver = smtp
dkim_domain = my-site.com

# Not working with variables!
# Exim log write "unable to open file for reading:
/etc/opendkim/keys/my-site.com/mail.private" (see screenshot). Exim write to
log full path to file.

#dkim_private_key = ${if
exists{/etc/opendkim/keys/$sender_address_domain/mail.private}{/etc/opendkim/keys/$sender_address_domain/mail.private}{0}}

# But if not use variable $sender_address_domain, all good! I recieve mail
with DKIM and good Exim log.
dkim_private_key = ${if
exists{/etc/opendkim/keys/my-site.com/mail.private}{/etc/opendkim/keys/my-site.com/mail.private}{0}}
dkim_selector = mail
dkim_canon = relaxed
dkim_strict = 0

I googled, people have same problem.

https://forums.cpanel.net/threads/exim-problem-with-domains-with-hyphen.25668/

--
You are receiving this mail because:
You are on the CC list for the bug.