search_tidyup called
>>Headers received:
-rewrite_one_header: type=F:
- From: CALLER_NAME <CALLER@test.ex>
+qualify & rewrite recipients list
+global rewrite rules
+rewrite headers
+ rewrite_one_header: type=F:
+ From: CALLER_NAME <CALLER@test.ex>
search_tidyup called
>>Headers after rewriting and local additions:
I Message-Id: <E10HmaX-0005vi-00@mail.test.ex>
${if def:sender_address {(envelope-from <$sender_address>)
}}id $message_exim_id${if def:received_for {
for $received_for}}
+ ├───────text: Received:
+ ├considering: ${if def:sender_rcvhost {from $sender_rcvhost
+ }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
+ }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
├──condition: def:sender_rcvhost
├─────result: false
╭───scanning: from $sender_rcvhost
${if def:sender_address {(envelope-from <$sender_address>)
}}id $message_exim_id${if def:received_for {
for $received_for}}
+ ├───────text: from
+ ├───scanning: $sender_rcvhost
+ }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
+ }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├───scanning:
+ }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
+ }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├───────text:
+
+ ├───scanning: }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
+ }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
├──expanding: from $sender_rcvhost
├─────result: from
${if def:sender_address {(envelope-from <$sender_address>)
}}id $message_exim_id${if def:received_for {
for $received_for}}
+ ├───────text: from
+ ├considering: ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
+ }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
╎╭considering: $sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
╎ }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
╎ }}(Exim $version_number)
╎ ${if def:sender_address {(envelope-from <$sender_address>)
╎ }}id $message_exim_id${if def:received_for {
╎ for $received_for}}
+ ╎├considering: } }}${if def:sender_helo_name {(helo=$sender_helo_name)
+ ╎ }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ ╎ }}(Exim $version_number)
+ ╎ ${if def:sender_address {(envelope-from <$sender_address>)
+ ╎ }}id $message_exim_id${if def:received_for {
+ ╎ for $received_for}}
╎├──expanding: $sender_ident
╎╰─────result: CALLER
+ ├─────op-res: CALLER
+ ├considering: }}${if def:sender_helo_name {(helo=$sender_helo_name)
+ }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├───────text:
+ ├considering: }}${if def:sender_helo_name {(helo=$sender_helo_name)
+ }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
├──expanding: from ${quote_local_part:$sender_ident}
╰─────result: from CALLER
+ ├───item-res: from CALLER
+ ├considering: ${if def:sender_helo_name {(helo=$sender_helo_name)
+ }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
├──condition: def:sender_helo_name
├─────result: false
╭───scanning: (helo=$sender_helo_name)
${if def:sender_address {(envelope-from <$sender_address>)
}}id $message_exim_id${if def:received_for {
for $received_for}}
+ ├───────text: (helo=
+ ├───scanning: $sender_helo_name)
+ }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├───scanning: )
+ }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├───────text: )
+
+ ├───scanning: }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
├──expanding: (helo=$sender_helo_name)
├─────result: (helo=)
╰───skipping: result is not used
+ ├───item-res:
+ ├considering: }}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
├──expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
}}
╰─────result: from CALLER
+ ├───item-res: from CALLER
+ ├considering: by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├───────text: by
+ ├considering: $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├considering: ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├───────text:
+ ├considering: ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
├──condition: def:received_protocol
├─────result: true
╭considering: with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
${if def:sender_address {(envelope-from <$sender_address>)
}}id $message_exim_id${if def:received_for {
for $received_for}}
+ ├───────text: with
+ ├considering: $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├considering: }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├───────text:
+ ├considering: }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
├──expanding: with $received_protocol
╰─────result: with local
- ├──condition: def:tls_in_ver
+ ├───item-res: with local
+ ├considering: ${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├──expanding: ($tls_in_ver)
+ ├─────result: ()
+ ╰───skipping: result is not used
+ ├───item-res:
+ ├considering: ${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├──condition: def:tls_in_cipher_std
├─────result: false
- ╭───scanning: ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
+ ╭───scanning: tls $tls_in_cipher_std
}}(Exim $version_number)
${if def:sender_address {(envelope-from <$sender_address>)
}}id $message_exim_id${if def:received_for {
for $received_for}}
- ├──expanding: ($tls_in_ver)
- ├─────result: ()
+ ├───────text: tls
+ ├───scanning: $tls_in_cipher_std
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├───scanning:
+ }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├───────text:
+
+ ├───scanning: }}(Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├──expanding: tls $tls_in_cipher_std
+
+ ├─────result: tls
+
╰───skipping: result is not used
+ ├───item-res:
+ ├considering: (Exim $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├───────text: (Exim
+ ├considering: $version_number)
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├considering: )
+ ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├───────text: )
+
+ ├considering: ${if def:sender_address {(envelope-from <$sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
├──condition: def:sender_address
├─────result: true
╭considering: (envelope-from <$sender_address>)
}}id $message_exim_id${if def:received_for {
for $received_for}}
+ ├───────text: (envelope-from <
+ ├considering: $sender_address>)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├considering: >)
+ }}id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├───────text: >)
+
+ ├considering: }}id $message_exim_id${if def:received_for {
+ for $received_for}}
├──expanding: (envelope-from <$sender_address>)
╰─────result: (envelope-from <CALLER@test.ex>)
+ ├───item-res: (envelope-from <CALLER@test.ex>)
+
+ ├considering: id $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├───────text: id
+ ├considering: $message_exim_id${if def:received_for {
+ for $received_for}}
+ ├considering: ${if def:received_for {
+ for $received_for}}
├──condition: def:received_for
├─────result: false
╭───scanning:
for $received_for}}
+ ├───────text:
+ for
+ ├───scanning: $received_for}}
+ ├───scanning: }}
├──expanding:
for $received_for
├─────result:
for
╰───skipping: result is not used
+ ├───item-res:
├──expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
}{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
}}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
checking local_parts
usery in "usery"? yes (matched "usery")
╭considering: /non-exist/$domain
+ ├───────text: /non-exist/
+ ├considering: $domain
├──expanding: /non-exist/$domain
╰─────result: /non-exist/test.ex
╰──(tainted)
checking local_parts
CALLER in "CALLER"? yes (matched "CALLER")
╭considering: /non-exist/$local_part
+ ├───────text: /non-exist/
+ ├considering: $local_part
├──expanding: /non-exist/$local_part
╰─────result: /non-exist/CALLER
╰──(tainted)
checking local_parts
userz in "userz"? yes (matched "userz")
╭considering: /non-exist/$domain
+ ├───────text: /non-exist/
+ ├considering: $domain
├──expanding: /non-exist/$domain
╰─────result: /non-exist/test.ex
╰──(tainted)
checking local_parts
usery in "usery"? yes (matched "usery")
╭considering: /non-exist/$domain
+ ├───────text: /non-exist/
+ ├considering: $domain
├──expanding: /non-exist/$domain
╰─────result: /non-exist/test.ex
╰──(tainted)
checking local_parts
CALLER in "CALLER"? yes (matched "CALLER")
╭considering: /non-exist/$local_part
+ ├───────text: /non-exist/
+ ├considering: $local_part
├──expanding: /non-exist/$local_part
╰─────result: /non-exist/CALLER
╰──(tainted)
failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
no retry data available
╭considering: /non-exist/$local_part
+ ├───────text: /non-exist/
+ ├considering: $local_part
├──expanding: /non-exist/$local_part
╰─────result: /non-exist/usery
╰──(tainted)
writing to file TESTSUITE/test-mail/junk
╭considering: From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}
+ ├───────text: From
+ ├considering: ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}
+
├──condition: def:return_path
├─────result: true
╭considering: $return_path}{MAILER-DAEMON}} ${tod_bsdinbox}
+ ├considering: }{MAILER-DAEMON}} ${tod_bsdinbox}
+
├──expanding: $return_path
╰─────result: CALLER@test.ex
╰──(tainted)
╭───scanning: MAILER-DAEMON}} ${tod_bsdinbox}
+ ├───────text: MAILER-DAEMON
+ ├───scanning: }} ${tod_bsdinbox}
+
├──expanding: MAILER-DAEMON
├─────result: MAILER-DAEMON
╰───skipping: result is not used
+ ├───item-res: CALLER@test.ex
+ ╰──(tainted)
+ ├considering: ${tod_bsdinbox}
+
+ ├───────text:
+ ├considering: ${tod_bsdinbox}
+
+ ├considering:
+
+ ├───────text:
+
├──expanding: From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}
╰─────result: From CALLER@test.ex Tue Mar 02 09:44:33 1999
writing to file TESTSUITE/test-mail/junk
╭considering: From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}
+ ├───────text: From
+ ├considering: ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}
+
├──condition: def:return_path
├─────result: true
╭considering: $return_path}{MAILER-DAEMON}} ${tod_bsdinbox}
+ ├considering: }{MAILER-DAEMON}} ${tod_bsdinbox}
+
├──expanding: $return_path
╰─────result: CALLER@test.ex
╰──(tainted)
╭───scanning: MAILER-DAEMON}} ${tod_bsdinbox}
+ ├───────text: MAILER-DAEMON
+ ├───scanning: }} ${tod_bsdinbox}
+
├──expanding: MAILER-DAEMON
├─────result: MAILER-DAEMON
╰───skipping: result is not used
+ ├───item-res: CALLER@test.ex
+ ╰──(tainted)
+ ├considering: ${tod_bsdinbox}
+
+ ├───────text:
+ ├considering: ${tod_bsdinbox}
+
+ ├considering:
+
+ ├───────text:
+
├──expanding: From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}
╰─────result: From CALLER@test.ex Tue Mar 02 09:44:33 1999
failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
no retry data available
╭considering: /non-exist/$local_part
+ ├───────text: /non-exist/
+ ├considering: $local_part
├──expanding: /non-exist/$local_part
╰─────result: /non-exist/usery
╰──(tainted)
failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
no retry data available
╭considering: /$local_part
+ ├───────text: /
+ ├considering: $local_part
├──expanding: /$local_part
╰─────result: /userz
╰──(tainted)