[exim] Re: Local DKIM signing

Góra strony
Delete this message
Reply to this message
Autor: Hardy via Exim-users
Data:  
Dla: exim-users
Temat: [exim] Re: Local DKIM signing
> Repeat that, adding a "-d+all"

Thanks again Jeremy, I appreciate your help.

I put example.com to the "local-dkim-daomains" for testing.
It selects the correct router and transport. It seems just to ignore "allow_localhost"


15:20:43 1123141 Exim version 4.95 uid=0 gid=0 pid=1123141 D=fff9ffff
Support for: crypteq iconv() IPv6 PAM Perl Expand_dlfunc GnuTLS TLS_resume move_frozen_messages Content_Scanning DANE DKIM DNSSEC Event I18N OCSP PIPE_CONNECT PRDR PROXY Experimental_Queue_Ramp SOCKS SRS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql sqlite
Authenticators: cram_md5 cyrus_sasl dovecot external plaintext spa tls
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Malware: f-protd f-prot6d drweb fsecure sophie clamd avast sock cmdline
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
Compiler: GCC [11.4.0]
Library version: Glibc: Compile: 2.35
                         Runtime: 2.35
Library version: BDB: Compile: Berkeley DB 5.3.28: (September  9, 2013)
                       Runtime: Berkeley DB 5.3.28: (September  9, 2013)
Library version: GnuTLS: Compile: 3.7.3
                          Runtime: 3.7.3
Library version: IDN2: Compile: 2.3.2
                        Runtime: 2.3.2
Library version: Stringprep: Compile: 1.38
                              Runtime: 1.38
Library version: Cyrus SASL: Compile: 2.1.27
                              Runtime: 2.1.27 [Cyrus SASL]
Library version: PCRE: Compile: 8.39
                        Runtime: 8.39 2016-06-14
15:20:43 1123141 Total 20 lookups
Library version: MySQL: Compile: 80035 8.0.35 [mysqld-8.0]
                         Runtime: 80035 8.0.35
Library version: SQLite: Compile: 3.37.2
                          Runtime: 3.37.2
WHITELIST_D_MACROS: "OUTGOING"
TRUSTED_CONFIG_LIST: "/etc/exim4/trusted_configs"
15:20:43 1123141 changed uid/gid: forcing real = effective
15:20:43 1123141   uid=0 gid=0 pid=1123141
15:20:43 1123141   auxiliary group list: <none>
15:20:43 1123141 seeking password data for user "root": cache not available
15:20:43 1123141 getpwnam() succeeded uid=0 gid=0
15:20:43 1123141 SHELL in keep_environment? no (end of list)
15:20:43 1123141 LESS in keep_environment? no (end of list)
15:20:43 1123141 EDITOR in keep_environment? no (end of list)
15:20:43 1123141 PWD in keep_environment? no (end of list)
15:20:43 1123141 LOGNAME in keep_environment? no (end of list)
15:20:43 1123141 HOME in keep_environment? no (end of list)
15:20:43 1123141 LANG in keep_environment? no (end of list)
15:20:43 1123141 TERM in keep_environment? no (end of list)
15:20:43 1123141 USER in keep_environment? no (end of list)
15:20:43 1123141 SHLVL in keep_environment? no (end of list)
15:20:43 1123141 TMOUT in keep_environment? no (end of list)
15:20:43 1123141 XDG_DATA_DIRS in keep_environment? no (end of list)
15:20:43 1123141 PATH in keep_environment? no (end of list)
15:20:43 1123141 MAIL in keep_environment? no (end of list)
15:20:43 1123141 _ in keep_environment? no (end of list)
15:20:43 1123141 OLDPWD in keep_environment? no (end of list)
15:20:43 1123141 adding PATH=/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/sbin:/bin
15:20:43 1123141 configuration file is /var/lib/exim4/config.autogenerated
15:20:43 1123141 log selectors = 00000ffc 64205022 0000001c
15:20:43 1123141 trusted user
15:20:43 1123141 admin user
15:20:43 1123141 dropping to exim gid; retaining priv uid
15:20:43 1123141 seeking password data for user "Debian-exim": cache not available
15:20:43 1123141 getpwnam() succeeded uid=113 gid=122
15:20:43 1123141 originator: uid=0 gid=0 login=root name=root ovhnew
15:20:43 1123141 sender address = root@???
15:20:43 1123141 Address testing: uid=0 gid=122 euid=0 egid=122
15:20:43 1123141 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
15:20:43 1123141 Testing hsteffin@???
15:20:43 1123141 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
15:20:43 1123141 Considering hsteffin@???
15:20:43 1123141 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
15:20:43 1123141 routing hsteffin@???
15:20:43 1123141 --------> localuser_dkim router <--------
15:20:43 1123141 local_part=hsteffin domain=example.com
15:20:43 1123141 checking domains
15:20:43 1123141 example.com in "example.com"? yes (matched "example.com")
15:20:43 1123141 data from lookup saved for cache for +local_dkim_domains: key 'example.com' value 'example.com'
15:20:43 1123141 example.com in "+local_dkim_domains"? yes (matched "+local_dkim_domains")
15:20:43 1123141 checking "condition" "${if def:header_DKIM-Signature: {no}{yes}}"...
15:20:43 1123141  ╭considering: ${if def:header_DKIM-Signature: {no}{yes}}
15:20:43 1123141  ├──condition: def:header_DKIM-Signature:
15:20:43 1123141  ├─────result: false
15:20:43 1123141   ╭───scanning: no}{yes}}
15:20:43 1123141   ├──expanding: no
15:20:43 1123141   ├─────result: no
15:20:43 1123141   ╰───skipping: result is not used
15:20:43 1123141   ╭considering: yes}}
15:20:43 1123141   ├──expanding: yes
15:20:43 1123141   ╰─────result: yes
15:20:43 1123141  ├──expanding: ${if def:header_DKIM-Signature: {no}{yes}}
15:20:43 1123141  ╰─────result: yes
15:20:43 1123141 calling localuser_dkim router
15:20:43 1123141 localuser_dkim router called for hsteffin@???
15:20:43 1123141   domain = example.com
15:20:43 1123141 route_item = * 127.0.0.1
15:20:43 1123141 example.com in "*"? yes (matched "*")
15:20:43 1123141 original list of hosts = '127.0.0.1' options = ''
15:20:43 1123141 expanded list of hosts = '127.0.0.1' options = ''
15:20:43 1123141 set transport remote_smtp_dkim
15:20:43 1123141 finding IP address for 127.0.0.1
15:20:43 1123141 calling host_find_byname
15:20:43 1123141 gethostbyname2(af=inet6) returned 1 (HOST_NOT_FOUND)
15:20:43 1123141 Actual local interface address is 127.0.0.1 (lo)
15:20:43 1123141 Actual local interface address is 148.113.174.32 (ens3)
15:20:43 1123141 Actual local interface address is ::1 (lo)
15:20:43 1123141 Actual local interface address is fe80::f816:3eff:fe1c:416d (ens3)
15:20:43 1123141 Actual local interface address is fe80::f816:3eff:fe1c:416d (ens3)
15:20:43 1123141 Actual local interface address is ::1 (lo)
15:20:43 1123141 local host found for non-MX address
15:20:43 1123141 fully qualified name = 127.0.0.1
15:20:43 1123141 gethostbyname2 looked up these IP addresses:
15:20:43 1123141   name=127.0.0.1 address=127.0.0.1
15:20:43 1123141 LOG: MAIN
15:20:43 1123141   remote host address is the local host: example.com (while routing <hsteffin@???>)
15:20:43 1123141 localuser_dkim router: defer for hsteffin@???
15:20:43 1123141   message: remote host address is the local host
hsteffin@??? cannot be resolved at this time: remote host address is the local host
15:20:43 1123141 search_tidyup called
15:20:43 1123141 >>>>>>>>>>>>>>>> Exim pid=1123141 (fresh-exec) terminating with rc=1 >>>>>>>>>>>>>>>>


--
## 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/