[exim] Re: Local DKIM signing

Top Page
Delete this message
Reply to this message
Author: Hardy via Exim-users
Date:  
To: exim-users
Subject: [exim] Re: Local DKIM signing
Am 24.12.23 um 14:50 schrieb Jeremy Harris via Exim-users:

> You'd have to first smtp-deliver these local-dest mails to yourself.
>
> Use a manualroute router to pick them out of the flow first time round,
> and send to 127.0.0.1
> This could be done, for example, by selecting ones lacking a dkim signature
> but with a local source.
>


localuser_dkim:
         driver = manualroute
         domains = +local_dkim_domains
         condition = "${if def:header_DKIM-Signature: {no}{yes}}"
         headers_add = X-DKIM-debug: seen by localuser_dkim
         transport = remote_smtp_dkim
         route_list = * 127.0.0.1


I have this router now, but when triggered it throws me a temporary error "remote host address is the local host", which is the whole idea to force a dkim signature to the mail. I guess the local host issue is a protection against looping, but in this case it is wanted and taken care to take a single round only. How can I convince/force exim to allow this?

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/