[exim-dev] [Bug 1708] Segfault on lsearch lookup

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: admin
Data:  
Para: exim-dev
Assunto: [exim-dev] [Bug 1708] Segfault on lsearch lookup
https://bugs.exim.org/show_bug.cgi?id=1708

Sylvain LÉVÊQUE <sylvain.leveque+bugreport@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sylvain.leveque+bugreport@g
                   |                            |mail.com
           Hardware|x86                         |Other


--- Comment #4 from Sylvain LÉVÊQUE <sylvain.leveque+bugreport@???> ---
Hello

I reported the bug to Debian. The failure occurs on a cached lookup, after a
first one that correctly yields the result.

First lookup:
expanding: $1
result: Admin myarmeldevice.gromi.net
user name "Admin myarmeldevice.gromi.net" extracted from gecos field "Admin
myarmeldevice.gromi.net"
originator: uid=0 gid=0 login=root name="Admin myarmeldevice.gromi.net"
address match test: subject=root@???
pattern=*@+local_domains
myarmeldevice.gromi.net in "@:localhost:myarmeldevice.gromi.net:myarmeldevice"?
yes (matched "@")
myarmeldevice.gromi.net in "+local_domains"? yes (matched "+local_domains")
root@??? in "*@+local_domains"? yes (matched
"*@+local_domains")
expanding: ${local_part}
result: root
expanding: /etc/email-addresses
result: /etc/email-addresses
search_open: lsearch "/etc/email-addresses"
search_find: file="/etc/email-addresses"
key="root" partial=-1 affix=NULL starflags=0
LRU list:
7/etc/email-addresses
End
internal_search_find: file="/etc/email-addresses"
type=lsearch key="root"
file lookup required for root
in /etc/email-addresses
lookup yielded: sylvain@???

Second lookup (cached):
expanding: $value
result: sylvain@???
expanding: ${lookup{${local_part}}lsearch{/etc/email-addresses}{$value}fail}
result: sylvain@???
LOG: address_rewrite MAIN
"root@???" from sender: rewritten as "sylvain@???"
by rule 1
address match test: subject=sylvain@??? pattern=*@myarmeldevice.gromi.net
gromi.net in "myarmeldevice.gromi.net"? no (end of list)
sylvain@??? in "*@myarmeldevice.gromi.net"? no (end of list)
sender: sylvain@???
address match test: subject=root@???
pattern=*@+local_domains
myarmeldevice.gromi.net in "@:localhost:myarmeldevice.gromi.net:myarmeldevice"?
yes (matched "@")
myarmeldevice.gromi.net in "+local_domains"? yes (matched "+local_domains")
root@??? in "*@+local_domains"? yes (matched
"*@+local_domains")
expanding: ${local_part}
result: root
expanding: /etc/email-addresses
result: /etc/email-addresses
search_open: lsearch "/etc/email-addresses"
cached open
search_find: file="/etc/email-addresses"
key="root" partial=-1 affix=NULL starflags=0
LRU list:
7/etc/email-addresses
End
internal_search_find: file="/etc/email-addresses"
type=lsearch key="root"
cached data used for lookup of root
in /etc/email-addresses
Segmentation fault



Here's the full output of what you wanted me to try:

# /usr/sbin/exim4 -d+rewrite+expand -brw root
Exim version 4.86 uid=0 gid=0 pid=14666 D=fbb95dfd
Berkeley DB: Berkeley DB 5.3.28: (September  9, 2013)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM DNSSEC PRDR
OCSP
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz
dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Compiler: GCC [5.2.1 20151003]
Library version: GnuTLS: Compile: 3.3.18
                         Runtime: 3.3.18
Library version: PCRE: Compile: 8.35
                       Runtime: 8.35 2014-04-04
Total 13 lookups
WHITELIST_D_MACROS: "OUTGOING"
TRUSTED_CONFIG_LIST: "/etc/exim4/trusted_configs"
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=14666
  auxiliary group list: <none>
seeking password data for user "uucp": cache not available
getpwnam() succeeded uid=10 gid=10
changed uid/gid: calling tls_validate_require_cipher
  uid=102 gid=104 pid=14667
  auxiliary group list: <none>
tls_validate_require_cipher child 14667 ended: status=0x0
configuration file is /var/lib/exim4/config.autogenerated
log selectors = 0000cffc 00732001
cwd=/root 4 args: /usr/sbin/exim4 -d+rewrite+expand -brw root
trusted user
admin user
changed uid/gid: privilege not needed
  uid=102 gid=104 pid=14666
  auxiliary group list: 104
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
DSN: hubbed_hosts propagating DSN
DSN: smarthost propagating DSN
DSN: real_local propagating DSN
DSN: system_aliases propagating DSN
DSN: hub_user propagating DSN
DSN: hub_user_smarthost propagating DSN
DSN: userforward propagating DSN
DSN: procmail propagating DSN
DSN: maildrop propagating DSN
DSN: lowuid_aliases propagating DSN
DSN: local_user propagating DSN
DSN: mail4root propagating DSN
expanding: $1
   result: Admin myarmeldevice.gromi.net
user name "Admin myarmeldevice.gromi.net" extracted from gecos field "Admin
myarmeldevice.gromi.net"
originator: uid=0 gid=0 login=root name="Admin myarmeldevice.gromi.net"
address match test: subject=root@???
pattern=*@+local_domains
myarmeldevice.gromi.net in "@:localhost:myarmeldevice.gromi.net:myarmeldevice"?
yes (matched "@")
myarmeldevice.gromi.net in "+local_domains"? yes (matched "+local_domains")
root@??? in "*@+local_domains"? yes (matched
"*@+local_domains")
expanding: ${local_part}
   result: root
expanding: /etc/email-addresses
   result: /etc/email-addresses
search_open: lsearch "/etc/email-addresses"
search_find: file="/etc/email-addresses"
  key="root" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="root"
file lookup required for root
  in /etc/email-addresses
lookup yielded: sylvain@???
expanding: $value
   result: sylvain@???
expanding: ${lookup{${local_part}}lsearch{/etc/email-addresses}{$value}fail}
   result: sylvain@???
LOG: address_rewrite MAIN
  "root@???" from sender: rewritten as "sylvain@???"
by rule 1
address match test: subject=sylvain@??? pattern=*@myarmeldevice.gromi.net
gromi.net in "myarmeldevice.gromi.net"? no (end of list)
sylvain@??? in "*@myarmeldevice.gromi.net"? no (end of list)
  sender: sylvain@???
address match test: subject=root@???
pattern=*@+local_domains
myarmeldevice.gromi.net in "@:localhost:myarmeldevice.gromi.net:myarmeldevice"?
yes (matched "@")
myarmeldevice.gromi.net in "+local_domains"? yes (matched "+local_domains")
root@??? in "*@+local_domains"? yes (matched
"*@+local_domains")
expanding: ${local_part}
   result: root
expanding: /etc/email-addresses
   result: /etc/email-addresses
search_open: lsearch "/etc/email-addresses"
  cached open
search_find: file="/etc/email-addresses"
  key="root" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="root"
cached data used for lookup of root
  in /etc/email-addresses
Segmentation fault



Just in case, after commenting the appropriate line in /etc/email-addresses,
the output becomes:
# /usr/sbin/exim4 -d+rewrite+expand -brw root
Exim version 4.86 uid=0 gid=0 pid=14713 D=fbb95dfd
Berkeley DB: Berkeley DB 5.3.28: (September  9, 2013)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM DNSSEC PRDR
OCSP
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz
dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Compiler: GCC [5.2.1 20151003]
Library version: GnuTLS: Compile: 3.3.18
                         Runtime: 3.3.18
Library version: PCRE: Compile: 8.35
                       Runtime: 8.35 2014-04-04
Total 13 lookups
WHITELIST_D_MACROS: "OUTGOING"
TRUSTED_CONFIG_LIST: "/etc/exim4/trusted_configs"
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=14713
  auxiliary group list: <none>
seeking password data for user "uucp": cache not available
getpwnam() succeeded uid=10 gid=10
changed uid/gid: calling tls_validate_require_cipher
  uid=102 gid=104 pid=14714
  auxiliary group list: <none>
tls_validate_require_cipher child 14714 ended: status=0x0
configuration file is /var/lib/exim4/config.autogenerated
log selectors = 0000cffc 00732001
cwd=/root 4 args: /usr/sbin/exim4 -d+rewrite+expand -brw root
trusted user
admin user
changed uid/gid: privilege not needed
  uid=102 gid=104 pid=14713
  auxiliary group list: 104
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
DSN: hubbed_hosts propagating DSN
DSN: smarthost propagating DSN
DSN: real_local propagating DSN
DSN: system_aliases propagating DSN
DSN: hub_user propagating DSN
DSN: hub_user_smarthost propagating DSN
DSN: userforward propagating DSN
DSN: procmail propagating DSN
DSN: maildrop propagating DSN
DSN: lowuid_aliases propagating DSN
DSN: local_user propagating DSN
DSN: mail4root propagating DSN
expanding: $1
   result: Admin myarmeldevice.gromi.net
user name "Admin myarmeldevice.gromi.net" extracted from gecos field "Admin
myarmeldevice.gromi.net"
originator: uid=0 gid=0 login=root name="Admin myarmeldevice.gromi.net"
address match test: subject=root@???
pattern=*@+local_domains
myarmeldevice.gromi.net in "@:localhost:myarmeldevice.gromi.net:myarmeldevice"?
yes (matched "@")
myarmeldevice.gromi.net in "+local_domains"? yes (matched "+local_domains")
root@??? in "*@+local_domains"? yes (matched
"*@+local_domains")
expanding: ${local_part}
   result: root
expanding: /etc/email-addresses
   result: /etc/email-addresses
search_open: lsearch "/etc/email-addresses"
search_find: file="/etc/email-addresses"
  key="root" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="root"
file lookup required for root
  in /etc/email-addresses
lookup failed
expanding: $value
   result:
skipping: result is not used
failed to expand:
${lookup{${local_part}}lsearch{/etc/email-addresses}{$value}fail}
   error message: "lookup" failed and "fail" requested
failure was forced
address match test: subject=root@???
pattern=*@myarmeldevice.gromi.net
myarmeldevice.gromi.net in "myarmeldevice.gromi.net"? yes (matched
"myarmeldevice.gromi.net")
root@??? in "*@myarmeldevice.gromi.net"? yes (matched
"*@myarmeldevice.gromi.net")
expanding: ${local_part}
   result: root
expanding: /etc/email-addresses
   result: /etc/email-addresses
search_open: lsearch "/etc/email-addresses"
  cached open
search_find: file="/etc/email-addresses"
  key="root" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="root"
cached data used for lookup of root
  in /etc/email-addresses
lookup failed
expanding: $value
   result:
skipping: result is not used
failed to expand:
${lookup{${local_part}}lsearch{/etc/email-addresses}{$value}fail}
   error message: "lookup" failed and "fail" requested
failure was forced
  sender: root@???
address match test: subject=root@???
pattern=*@+local_domains
myarmeldevice.gromi.net in "@:localhost:myarmeldevice.gromi.net:myarmeldevice"?
yes (matched "@")
myarmeldevice.gromi.net in "+local_domains"? yes (matched "+local_domains")
root@??? in "*@+local_domains"? yes (matched
"*@+local_domains")
expanding: ${local_part}
   result: root
expanding: /etc/email-addresses
   result: /etc/email-addresses
search_open: lsearch "/etc/email-addresses"
  cached open
search_find: file="/etc/email-addresses"
  key="root" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="root"
cached data used for lookup of root
  in /etc/email-addresses
lookup failed
expanding: $value
   result:
skipping: result is not used
failed to expand:
${lookup{${local_part}}lsearch{/etc/email-addresses}{$value}fail}
   error message: "lookup" failed and "fail" requested
failure was forced
address match test: subject=root@???
pattern=*@myarmeldevice.gromi.net
myarmeldevice.gromi.net in "myarmeldevice.gromi.net"? yes (matched
"myarmeldevice.gromi.net")
root@??? in "*@myarmeldevice.gromi.net"? yes (matched
"*@myarmeldevice.gromi.net")
expanding: ${local_part}
   result: root
expanding: /etc/email-addresses
   result: /etc/email-addresses
search_open: lsearch "/etc/email-addresses"
  cached open
search_find: file="/etc/email-addresses"
  key="root" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="root"
cached data used for lookup of root
  in /etc/email-addresses
lookup failed
expanding: $value
   result:
skipping: result is not used
failed to expand:
${lookup{${local_part}}lsearch{/etc/email-addresses}{$value}fail}
   error message: "lookup" failed and "fail" requested
failure was forced
    from: root@???
      to: root@???
      cc: root@???
     bcc: root@???
address match test: subject=root@???
pattern=*@+local_domains
myarmeldevice.gromi.net in "@:localhost:myarmeldevice.gromi.net:myarmeldevice"?
yes (matched "@")
myarmeldevice.gromi.net in "+local_domains"? yes (matched "+local_domains")
root@??? in "*@+local_domains"? yes (matched
"*@+local_domains")
expanding: ${local_part}
   result: root
expanding: /etc/email-addresses
   result: /etc/email-addresses
search_open: lsearch "/etc/email-addresses"
  cached open
search_find: file="/etc/email-addresses"
  key="root" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="root"
cached data used for lookup of root
  in /etc/email-addresses
lookup failed
expanding: $value
   result:
skipping: result is not used
failed to expand:
${lookup{${local_part}}lsearch{/etc/email-addresses}{$value}fail}
   error message: "lookup" failed and "fail" requested
failure was forced
address match test: subject=root@???
pattern=*@myarmeldevice.gromi.net
myarmeldevice.gromi.net in "myarmeldevice.gromi.net"? yes (matched
"myarmeldevice.gromi.net")
root@??? in "*@myarmeldevice.gromi.net"? yes (matched
"*@myarmeldevice.gromi.net")
expanding: ${local_part}
   result: root
expanding: /etc/email-addresses
   result: /etc/email-addresses
search_open: lsearch "/etc/email-addresses"
  cached open
search_find: file="/etc/email-addresses"
  key="root" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="root"
cached data used for lookup of root
  in /etc/email-addresses
lookup failed
expanding: $value
   result:
skipping: result is not used
failed to expand:
${lookup{${local_part}}lsearch{/etc/email-addresses}{$value}fail}
   error message: "lookup" failed and "fail" requested
failure was forced
reply-to: root@???
address match test: subject=root@???
pattern=*@+local_domains
myarmeldevice.gromi.net in "@:localhost:myarmeldevice.gromi.net:myarmeldevice"?
yes (matched "@")
myarmeldevice.gromi.net in "+local_domains"? yes (matched "+local_domains")
root@??? in "*@+local_domains"? yes (matched
"*@+local_domains")
expanding: ${local_part}
   result: root
expanding: /etc/email-addresses
   result: /etc/email-addresses
search_open: lsearch "/etc/email-addresses"
  cached open
search_find: file="/etc/email-addresses"
  key="root" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="root"
cached data used for lookup of root
  in /etc/email-addresses
lookup failed
expanding: $value
   result:
skipping: result is not used
failed to expand:
${lookup{${local_part}}lsearch{/etc/email-addresses}{$value}fail}
   error message: "lookup" failed and "fail" requested
failure was forced
address match test: subject=root@???
pattern=*@myarmeldevice.gromi.net
myarmeldevice.gromi.net in "myarmeldevice.gromi.net"? yes (matched
"myarmeldevice.gromi.net")
root@??? in "*@myarmeldevice.gromi.net"? yes (matched
"*@myarmeldevice.gromi.net")
expanding: ${local_part}
   result: root
expanding: /etc/email-addresses
   result: /etc/email-addresses
search_open: lsearch "/etc/email-addresses"
  cached open
search_find: file="/etc/email-addresses"
  key="root" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="root"
cached data used for lookup of root
  in /etc/email-addresses
lookup failed
expanding: $value
   result:
skipping: result is not used
failed to expand:
${lookup{${local_part}}lsearch{/etc/email-addresses}{$value}fail}
   error message: "lookup" failed and "fail" requested
failure was forced
env-from: root@???
  env-to: root@???
search_tidyup called

>>>>>>>>>>>>>>>> Exim pid=14713 terminating with rc=0 >>>>>>>>>>>>>>>>


And just in case as well, the same command that works on the amd64 debian:
# /usr/sbin/exim4 -d+rewrite+expand -brw root
Exim version 4.86 uid=0 gid=0 pid=25273 D=fbb95dfd
Berkeley DB: Berkeley DB 5.3.28: (September  9, 2013)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM DNSSEC PRDR
OCSP
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz
dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Compiler: GCC [5.2.1 20151003]
Library version: GnuTLS: Compile: 3.3.18
                         Runtime: 3.3.18
Library version: PCRE: Compile: 8.35
                       Runtime: 8.35 2014-04-04
Total 13 lookups
WHITELIST_D_MACROS: "OUTGOING"
TRUSTED_CONFIG_LIST: "/etc/exim4/trusted_configs"
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=25273
  auxiliary group list: <none>
seeking password data for user "uucp": cache not available
getpwnam() succeeded uid=10 gid=10
changed uid/gid: calling tls_validate_require_cipher
  uid=105 gid=109 pid=25274
  auxiliary group list: <none>
tls_validate_require_cipher child 25274 ended: status=0x0
configuration file is /var/lib/exim4/config.autogenerated
log selectors = 0000cffc 00732001
cwd=/root 4 args: /usr/sbin/exim4 -d+rewrite+expand -brw root
trusted user
admin user
changed uid/gid: privilege not needed
  uid=105 gid=109 pid=25273
  auxiliary group list: 109
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
DSN: hubbed_hosts propagating DSN
DSN: smarthost propagating DSN
DSN: real_local propagating DSN
DSN: system_aliases propagating DSN
DSN: hub_user propagating DSN
DSN: hub_user_smarthost propagating DSN
DSN: userforward propagating DSN
DSN: procmail propagating DSN
DSN: maildrop propagating DSN
DSN: lowuid_aliases propagating DSN
DSN: local_user propagating DSN
DSN: mail4root propagating DSN
expanding: $1
   result: root
user name "root" extracted from gecos field "root"
originator: uid=0 gid=0 login=root name=root
address match test: subject=root@???
pattern=*@+local_domains
myamd64device.gromi.net in "@:localhost:myamd64device.gromi.net:myamd64device"?
yes (matched "@")
myamd64device.gromi.net in "+local_domains"? yes (matched "+local_domains")
root@??? in "*@+local_domains"? yes (matched
"*@+local_domains")
expanding: ${local_part}
   result: root
expanding: /etc/email-addresses
   result: /etc/email-addresses
search_open: lsearch "/etc/email-addresses"
search_find: file="/etc/email-addresses"
  key="root" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="root"
file lookup required for root
  in /etc/email-addresses
lookup yielded: sylvain@???
expanding: $value
   result: sylvain@???
expanding: ${lookup{${local_part}}lsearch{/etc/email-addresses}{$value}fail}
   result: sylvain@???
LOG: address_rewrite MAIN
  "root@???" from sender: rewritten as "sylvain@???"
by rule 1
address match test: subject=sylvain@??? pattern=*@myamd64device.gromi.net
gromi.net in "myamd64device.gromi.net"? no (end of list)
sylvain@??? in "*@myamd64device.gromi.net"? no (end of list)
  sender: sylvain@???
address match test: subject=root@???
pattern=*@+local_domains
myamd64device.gromi.net in "@:localhost:myamd64device.gromi.net:myamd64device"?
yes (matched "@")
myamd64device.gromi.net in "+local_domains"? yes (matched "+local_domains")
root@??? in "*@+local_domains"? yes (matched
"*@+local_domains")
expanding: ${local_part}
   result: root
expanding: /etc/email-addresses
   result: /etc/email-addresses
search_open: lsearch "/etc/email-addresses"
  cached open
search_find: file="/etc/email-addresses"
  key="root" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="root"
cached data used for lookup of root
  in /etc/email-addresses
lookup yielded: sylvain@???
expanding: $value
   result: sylvain@???
expanding: ${lookup{${local_part}}lsearch{/etc/email-addresses}{$value}fail}
   result: sylvain@???
LOG: address_rewrite MAIN
  "root@???" from from: rewritten as "sylvain@???" by
rule 1
address match test: subject=sylvain@??? pattern=*@myamd64device.gromi.net
gromi.net in "myamd64device.gromi.net"? no (end of list)
sylvain@??? in "*@myamd64device.gromi.net"? no (end of list)
    from: sylvain@???
      to: root@???
      cc: root@???
     bcc: root@???
address match test: subject=root@???
pattern=*@+local_domains
myamd64device.gromi.net in "@:localhost:myamd64device.gromi.net:myamd64device"?
yes (matched "@")
myamd64device.gromi.net in "+local_domains"? yes (matched "+local_domains")
root@??? in "*@+local_domains"? yes (matched
"*@+local_domains")
expanding: ${local_part}
   result: root
expanding: /etc/email-addresses
   result: /etc/email-addresses
search_open: lsearch "/etc/email-addresses"
  cached open
search_find: file="/etc/email-addresses"
  key="root" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="root"
cached data used for lookup of root
  in /etc/email-addresses
lookup yielded: sylvain@???
expanding: $value
   result: sylvain@???
expanding: ${lookup{${local_part}}lsearch{/etc/email-addresses}{$value}fail}
   result: sylvain@???
LOG: address_rewrite MAIN
  "root@???" from reply-to: rewritten as
"sylvain@???" by rule 1
address match test: subject=sylvain@??? pattern=*@myamd64device.gromi.net
gromi.net in "myamd64device.gromi.net"? no (end of list)
sylvain@??? in "*@myamd64device.gromi.net"? no (end of list)
reply-to: sylvain@???
address match test: subject=root@???
pattern=*@+local_domains
myamd64device.gromi.net in "@:localhost:myamd64device.gromi.net:myamd64device"?
yes (matched "@")
myamd64device.gromi.net in "+local_domains"? yes (matched "+local_domains")
root@??? in "*@+local_domains"? yes (matched
"*@+local_domains")
expanding: ${local_part}
   result: root
expanding: /etc/email-addresses
   result: /etc/email-addresses
search_open: lsearch "/etc/email-addresses"
  cached open
search_find: file="/etc/email-addresses"
  key="root" partial=-1 affix=NULL starflags=0
LRU list:
  7/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="root"
cached data used for lookup of root
  in /etc/email-addresses
lookup yielded: sylvain@???
expanding: $value
   result: sylvain@???
expanding: ${lookup{${local_part}}lsearch{/etc/email-addresses}{$value}fail}
   result: sylvain@???
LOG: address_rewrite MAIN
  "root@???" from env-from rewritten as "sylvain@???"
by rule 1
address match test: subject=sylvain@??? pattern=*@myamd64device.gromi.net
gromi.net in "myamd64device.gromi.net"? no (end of list)
sylvain@??? in "*@myamd64device.gromi.net"? no (end of list)
env-from: sylvain@???
  env-to: root@???
search_tidyup called

>>>>>>>>>>>>>>>> Exim pid=25273 terminating with rc=0 >>>>>>>>>>>>>>>>


HTH
--
Sylvain

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