loggging reception and sending the SMTP ack. Previously we only flushed
the stdio buffer so there was still the possibility of a disk error.
+JH/14 Bug 3061: Avoid a split log line when trtying to rewrite a malformed
+ address. Previously, for the last address in a header line (commonly
+ there is only one) the terminating newline was part of the logged
+ information.
+
Exim version 4.97
*/
uschar *
-parse_find_address_end(const uschar *s, BOOL nl_ends)
+parse_find_address_end(const uschar * s, BOOL nl_ends)
{
BOOL source_routing = *s == '@';
-int no_term = source_routing? 1 : 0;
+int no_term = source_routing ? 1 : 0;
-while (*s != 0 && (*s != ',' || no_term > 0) && (*s != '\n' || !nl_ends))
+while (*s && (*s != ',' || no_term > 0) && (*s != '\n' || !nl_ends))
{
/* Skip single quoted characters. Strictly these should not occur outside
quoted strings in RFC 822 addresses, but they can in RFC 821 addresses. Pity
about the lack of consistency, isn't it? */
- if (*s == '\\' && s[1] != 0) s += 2;
+ if (*s == '\\' && s[1])
+ s += 2;
/* Skip quoted items that are not inside brackets. Note that
quoted pairs are allowed inside quoted strings. */
else if (*s == '\"')
- {
- while (*(++s) != 0 && (*s != '\n' || !nl_ends))
+ while (*++s && (*s != '\n' || !nl_ends))
{
- if (*s == '\\' && s[1] != 0) s++;
- else if (*s == '\"') { s++; break; }
+ if (*s == '\\' && s[1])
+ s++;
+ else if (*s == '\"')
+ { s++; break; }
}
- }
/* Skip comments, which may include nested brackets, but quotes
are not recognized inside comments, though quoted pairs are. */
else if (*s == '(')
{
int level = 1;
- while (*(++s) != 0 && (*s != '\n' || !nl_ends))
- {
- if (*s == '\\' && s[1] != 0) s++;
- else if (*s == '(') level++;
- else if (*s == ')' && --level <= 0) { s++; break; }
- }
+ while (*++s && (*s != '\n' || !nl_ends))
+ if (*s == '\\' && s[1])
+ s++;
+ else if (*s == '(')
+ level++;
+ else if (*s == ')' && --level <= 0)
+ { s++; break; }
}
/* Non-special character; just advance. Passing the colon in a source
if (*s == '<')
{
source_routing = s[1] == '@';
- no_term = source_routing? 2 : 1;
+ no_term = source_routing ? 2 : 1;
}
- else if (*s == '>') no_term--;
- else if (source_routing && *s == ':') no_term--;
+ else if (*s == '>')
+ no_term--;
+ else if (source_routing && *s == ':')
+ no_term--;
s++;
}
}
it has already been rewritten as part of verification for SMTP input. */
DEBUG(D_rewrite)
- { debug_printf("global rewrite rules\n"); acl_level++; }
+ { debug_printf("rewrite rules on sender address\n"); acl_level++; }
if (global_rewrite_rules && !sender_address_unrewritten && *sender_address)
{
/* deconst ok as src was not const */
by the -t command line option. An added Sender: gets rewritten here. */
DEBUG(D_rewrite)
- { debug_printf("rewrite headers\n"); acl_level++; }
+ { debug_printf("qualify and rewrite headers\n"); acl_level++; }
for (header_line * h = header_list->next, * newh; h; h = h->next)
if ((newh = rewrite_header(h, NULL, NULL, global_rewrite_rules,
rewrite_existflags, TRUE)))
DEBUG(D_receive)
{
debug_printf(">>Headers after rewriting and local additions:\n");
+ acl_level++;
for (header_line * h = header_list->next; h; h = h->next)
- debug_printf("%c %s", h->type, h->text);
+ debug_printf_indent("%c %s", h->type, h->text);
debug_printf("\n");
+ acl_level--;
}
/* The headers are now complete in store. If we are running in filter
rewrite_rule *rewrite_rules, int existflags, BOOL replace)
{
int lastnewline = 0;
-header_line *newh = NULL;
+header_line * newh = NULL;
rmark function_reset_point = store_mark();
-uschar *s = Ustrchr(h->text, ':') + 1;
+uschar * s = Ustrchr(h->text, ':') + 1;
while (isspace(*s)) s++;
-DEBUG(D_rewrite)
+DEBUG(D_rewrite) /* The header text includes the trailing newline */
debug_printf_indent("rewrite_one_header: type=%c:\n %s", h->type, h->text);
f.parse_allow_group = TRUE; /* Allow group syntax */
while (*s)
{
- uschar *sprev;
- uschar *ss = parse_find_address_end(s, FALSE);
- uschar *recipient, *new;
+ uschar * sprev = s;
+ uschar * ss = parse_find_address_end(s, FALSE), * ss1 = ss;
+ uschar * recipient, * new;
rmark loop_reset_point = store_mark();
- uschar *errmess = NULL;
+ uschar * errmess = NULL;
BOOL changed = FALSE;
- int terminator = *ss;
+ uschar terminator = *ss;
int start, end, domain;
+ /* If we hit the end of the header, trim trailing newline and whitespace */
+
+ if (!terminator)
+ {
+ while (ss1 > s && isspace(ss1[-1])) ss1--;
+ terminator = *ss1;
+ }
+
/* Temporarily terminate the string at this point, and extract the
operative address within. Then put back the terminator and prepare for
the next address, saving the start of the old one. */
- *ss = 0;
+ *ss1 = '\0';
recipient = parse_extract_address(s, &errmess, &start, &end, &domain, FALSE);
- *ss = terminator;
- sprev = s;
- s = ss + (terminator ? 1 : 0);
+ *ss1 = terminator;
+ s = ss + (*ss ? 1 : 0);
while (isspace(*s)) s++;
/* There isn't much we can do for syntactic disasters at this stage.
point, because we may have a rewritten line from a previous time round the
loop. */
- if (!changed) loop_reset_point = store_reset(loop_reset_point);
+ if (!changed)
+ loop_reset_point = store_reset(loop_reset_point);
/* If the address has changed, create a new header containing the
rewritten address. We do not need to set the chain pointers at this
# ----- Main settings -----
+acl_smtp_rcpt = accept
# ----- Rewrite -----
*@a.domain $1@b.domain
*@c.domain $local_part@d.domain
+a@b y@z T
# End
****
exim -d-all+rewrite -brw User@c.domain
****
+#
+#
+#
+# Check logging for a malformed address being rewritten
+exim -bh 127.0.0.1
+HELO tester
+MAIL FROM:<a@b>
+RCPT TO:<a@text.ex>
+DATA
+Subject: test
+From: someone@some.domain
+Date: Tue, 2 Mar 1999 09:44:33 +0000
+Reply-To: a@b@c
+
+body
+.
+QUIT
+****
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
search_tidyup called
>>Headers after rewriting and local additions:
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
search_tidyup called
>>Headers after rewriting and local additions:
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
search_tidyup called
>>Headers after rewriting and local additions:
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
search_tidyup called
>>Headers after rewriting and local additions:
LOG: address_rewrite MAIN
"User@c.domain" from env-to rewritten as "User@d.domain" by rule 2
>>>>>>>>>>>>>>>> Exim pid=p1234 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
+>>> host in hosts_connection_nolog? no (option unset)
+>>> host in host_lookup? no (option unset)
+>>> host in host_reject_connection? no (option unset)
+>>> host in sender_unqualified_hosts? no (option unset)
+>>> host in recipient_unqualified_hosts? no (option unset)
+>>> host in helo_verify_hosts? no (option unset)
+>>> host in helo_try_verify_hosts? no (option unset)
+>>> host in helo_accept_junk_hosts? no (option unset)
+>>> tester in helo_lookup_domains?
+>>> list element: @
+>>> list element: @[]
+>>> tester in helo_lookup_domains? no (end of list)
+>>> processing "accept" (TESTSUITE/test-config 20)
+>>> accept: condition test succeeded in inline ACL
+>>> end of inline ACL: ACCEPT
+>>> host in ignore_fromline_hosts? no (option unset)
+>>> a@text.ex in "*@a.domain"?
+>>> list element: *@a.domain
+>>> text.ex in "a.domain"?
+>>> list element: a.domain
+>>> text.ex in "a.domain"? no (end of list)
+>>> a@text.ex in "*@a.domain"? no (end of list)
+>>> a@text.ex in "*@c.domain"?
+>>> list element: *@c.domain
+>>> text.ex in "c.domain"?
+>>> list element: c.domain
+>>> text.ex in "c.domain"? no (end of list)
+>>> a@text.ex in "*@c.domain"? no (end of list)
+>>> a@text.ex in "a@b"?
+>>> list element: a@b
+>>> text.ex in "b"?
+>>> list element: b
+>>> text.ex in "b"? no (end of list)
+>>> a@text.ex in "a@b"? no (end of list)
+>>> a@b in "*@a.domain"?
+>>> list element: *@a.domain
+>>> b in "a.domain"?
+>>> list element: a.domain
+>>> b in "a.domain"? no (end of list)
+>>> a@b in "*@a.domain"? no (end of list)
+>>> a@b in "*@c.domain"?
+>>> list element: *@c.domain
+>>> b in "c.domain"?
+>>> list element: c.domain
+>>> b in "c.domain"? no (end of list)
+>>> a@b in "*@c.domain"? no (end of list)
+>>> someone@some.domain in "*@a.domain"?
+>>> list element: *@a.domain
+>>> some.domain in "a.domain"?
+>>> list element: a.domain
+>>> some.domain in "a.domain"? no (end of list)
+>>> someone@some.domain in "*@a.domain"? no (end of list)
+>>> someone@some.domain in "*@c.domain"?
+>>> list element: *@c.domain
+>>> some.domain in "c.domain"?
+>>> list element: c.domain
+>>> some.domain in "c.domain"? no (end of list)
+>>> someone@some.domain in "*@c.domain"? no (end of list)
+LOG: 10HmaX-000000005vi-0000 rewrite: malformed address: @c may not follow a@b
+LOG: 10HmaX-000000005vi-0000 <= a@b H=(tester) [127.0.0.1] P=smtp S=sss
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and 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-000000005vi-0000@myhost.test.ex>
-F From: CALLER_NAME <CALLER@test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and 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-000000005vi-0000@myhost.test.ex>
-F From: CALLER_NAME <CALLER@test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
>>Headers received:
>>Headers after rewriting and local additions:
-I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
-F From: x@y
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
+ F From: x@y
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
>>Headers received:
>>Headers after rewriting and local additions:
-I Message-Id: <E10HmaY-000000005vi-0000@myhost.test.ex>
-F From: x@y
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaY-000000005vi-0000@myhost.test.ex>
+ F From: x@y
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaY-000000005vi-0000-D
Data file written for message 10HmaY-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
search_tidyup called
>>Headers after rewriting and local additions:
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
search_tidyup called
>>Headers after rewriting and local additions:
Bcc: p@q.r
>>Headers after rewriting and local additions:
-T To: x@y.z
-C Cc: a@b.c
-* Bcc: p@q.r
-I Message-Id: <E10HmaX-000000005vi-0000@mail.test.ex>
-F From: CALLER_NAME <CALLER@test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ T To: x@y.z
+ C Cc: a@b.c
+ * Bcc: p@q.r
+ I Message-Id: <E10HmaX-000000005vi-0000@mail.test.ex>
+ F From: CALLER_NAME <CALLER@test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
Resent-bcc: xx@yy.zz
>>Headers after rewriting and local additions:
- Resent-Date: Tue, 2 Mar 1999 09:44:33 +0000
-I Resent-Message-Id: <E10HmaY-000000005vi-0000@mail.test.ex>
-T To: x@y.z
-C Cc: a@b.c
-B Bcc: p@q.r
-T Resent-to: aa@bb.cc
-C Resent-cc: pp@qq.rr
-* Resent-bcc: xx@yy.zz
-F Resent-From: CALLER_NAME <CALLER@test.ex>
+ Resent-Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Resent-Message-Id: <E10HmaY-000000005vi-0000@mail.test.ex>
+ T To: x@y.z
+ C Cc: a@b.c
+ B Bcc: p@q.r
+ T Resent-to: aa@bb.cc
+ C Resent-cc: pp@qq.rr
+ * Resent-bcc: xx@yy.zz
+ F Resent-From: CALLER_NAME <CALLER@test.ex>
Data file name: TESTSUITE/spool//input//10HmaY-000000005vi-0000-D
Data file written for message 10HmaY-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and 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: <E10HmaY-000000005vi-0000@the.local.host.name>
-F From: CALLER_NAME <CALLER@test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaY-000000005vi-0000@the.local.host.name>
+ F From: CALLER_NAME <CALLER@test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaY-000000005vi-0000-D
Data file written for message 10HmaY-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
search_tidyup called
>>Headers after rewriting and local additions:
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
search_tidyup called
>>Headers after rewriting and local additions:
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
search_tidyup called
>>Headers after rewriting and local additions:
Subject: Mail delivery failed: returning message to sender
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
rewrite_one_header: type=F:
From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
rewrite_one_header: type=T:
To: CALLER@myhost.test.ex
search_tidyup called
>>Headers after rewriting and local additions:
- X-Failed-Recipients: x@y
- Auto-Submitted: auto-replied
-F From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
-T To: CALLER@myhost.test.ex
- References: <E10HmaX-000000005vi-0000@myhost.test.ex>
- Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
- MIME-Version: 1.0
- Subject: Mail delivery failed: returning message to sender
-I Message-Id: <E10HmaY-000000005vi-0000@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ X-Failed-Recipients: x@y
+ Auto-Submitted: auto-replied
+ F From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
+ T To: CALLER@myhost.test.ex
+ References: <E10HmaX-000000005vi-0000@myhost.test.ex>
+ Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
+ MIME-Version: 1.0
+ Subject: Mail delivery failed: returning message to sender
+ I Message-Id: <E10HmaY-000000005vi-0000@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaY-000000005vi-0000-D
Data file written for message 10HmaY-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and 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-000000005vi-0000@mail.test.ex>
-F From: CALLER_NAME <CALLER@test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaX-000000005vi-0000@mail.test.ex>
+ F From: CALLER_NAME <CALLER@test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and 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-000000005vi-0000@mail.test.ex>
-F From: CALLER_NAME <CALLER@test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaX-000000005vi-0000@mail.test.ex>
+ F From: CALLER_NAME <CALLER@test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and 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: <E10HmaY-000000005vi-0000@mail.test.ex>
-F From: CALLER_NAME <CALLER@test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaY-000000005vi-0000@mail.test.ex>
+ F From: CALLER_NAME <CALLER@test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaY-000000005vi-0000-D
Data file written for message 10HmaY-000000005vi-0000
**** debug string too long - truncated ****
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
rewrite_one_header: type=R:
Reply-to: sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex,
sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex,
From: CALLER_NAME <CALLER@test.ex>
search_tidyup called
>>Headers after rewriting and local additions:
-R Reply-to: sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex,
+ R Reply-to: sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex,
+ sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex,
sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex,
sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex,
sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex,
sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex,
sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex,
sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex,
- sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex,
- sender@test.ex, sender@test.ex, sender@
+ sender@test.ex, sender@test.ex, sender
**** debug string too long - truncated ****
-I Message-Id: <E10HmaX-000000005vi-0000@mail.test.ex>
-F From: CALLER_NAME <CALLER@test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaX-000000005vi-0000@mail.test.ex>
+ F From: CALLER_NAME <CALLER@test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
Auto-Submitted: auto-replied
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
rewrite_one_header: type=T:
To: sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex,
**** debug string too long - truncated ****
From: CALLER_NAME <CALLER@test.ex>
search_tidyup called
>>Headers after rewriting and local additions:
-T To: sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.e
-**** debug string too long - truncated ****
- In-Reply-To: <E10HmaX-000000005vi-0000@mail.test.ex>
- References: <E10HmaX-000000005vi-0000@mail.test.ex>
- Auto-Submitted: auto-replied
-I Message-Id: <E10HmaY-000000005vi-0000@mail.test.ex>
-F From: CALLER_NAME <CALLER@test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ T To: sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.ex, sender@test.
+ **** debug string too long - truncated ****
+ In-Reply-To: <E10HmaX-000000005vi-0000@mail.test.ex>
+ References: <E10HmaX-000000005vi-0000@mail.test.ex>
+ Auto-Submitted: auto-replied
+ I Message-Id: <E10HmaY-000000005vi-0000@mail.test.ex>
+ F From: CALLER_NAME <CALLER@test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaY-000000005vi-0000-D
Data file written for message 10HmaY-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and 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-000000005vi-0000@mail.test.ex>
-F From: CALLER_NAME <CALLER@test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaX-000000005vi-0000@mail.test.ex>
+ F From: CALLER_NAME <CALLER@test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
To: abc@domain.
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
rewrite_one_header: type=T:
To: abc@domain.
search_tidyup called
>>Headers after rewriting and local additions:
-T To: abc@domain.
-I Message-Id: <E10HmaY-000000005vi-0000@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ T To: abc@domain.
+ I Message-Id: <E10HmaY-000000005vi-0000@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaY-000000005vi-0000-D
Data file written for message 10HmaY-000000005vi-0000
To: abc@xyz.
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
rewrite_one_header: type=T:
To: abc@xyz.
search_tidyup called
>>Headers after rewriting and local additions:
-T To: abc@xyz.
-I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ T To: abc@xyz.
+ I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
in TESTSUITE/aux-fixed/0471.rw
creating new cache entry
lookup failed
-global rewrite rules
+rewrite rules on sender address
CALLER@myhost.test.ex in "^.{40,}@*"?
list element: ^.{40,}@*
address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
in TESTSUITE/aux-fixed/0471.rw
lookup failed
rewritten sender = CALLER@myhost.test.ex
-rewrite headers
+qualify and rewrite headers
rewrite_one_header: type=T:
To: random@test.example,
random@test.example,
lookup failed
search_tidyup called
>>Headers after rewriting and local additions:
-* To: random@test.example,
- random@test.example,
- random@test.example,
+ * To: random@test.example,
+ random@test.example,
random@test.example,
random@test.example,
random@test.example,
random@test.example,
random@test.example,
random@test.example,
+ random@test.example
**** debug string too long - truncated ****
-T To: random@rwtest.example,
+ T To: random@rwtest.example,
+ random@rwtest.example,
+ random@rwtest.example,
random@rwtest.example,
random@rwtest.example,
random@rwtest.example,
random@rwtest.example,
random@rwtest.example,
random@rwtest.example,
- random@rwtest.example,
- random@rwtest.example,
-
**** debug string too long - truncated ****
-I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
-F From: CALLER_NAME <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
in TESTSUITE/aux-fixed/0471.rw
creating new cache entry
lookup failed
-global rewrite rules
+rewrite rules on sender address
CALLER@myhost.test.ex in "^.{40,}@*"?
list element: ^.{40,}@*
address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
in TESTSUITE/aux-fixed/0471.rw
lookup failed
rewritten sender = CALLER@myhost.test.ex
-rewrite headers
+qualify and rewrite headers
rewrite_one_header: type=T:
To: localpart_with_056_chars_56789012345678901234567890123456@test.example
localpart_with_056_chars_56789012345678901234567890123456@test.example in "^.{40,}@*"?
lookup failed
search_tidyup called
>>Headers after rewriting and local additions:
-* To: localpart_with_056_chars_56789012345678901234567890123456@test.example
-T To: deny_me@rwtest.example
-I Message-Id: <E10HmaY-000000005vi-0000@myhost.test.ex>
-F From: CALLER_NAME <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ * To: localpart_with_056_chars_56789012345678901234567890123456@test.example
+ T To: deny_me@rwtest.example
+ I Message-Id: <E10HmaY-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaY-000000005vi-0000-D
Data file written for message 10HmaY-000000005vi-0000
in TESTSUITE/aux-fixed/0471.rw
creating new cache entry
lookup failed
-global rewrite rules
+rewrite rules on sender address
CALLER@myhost.test.ex in "^.{40,}@*"?
list element: ^.{40,}@*
address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
in TESTSUITE/aux-fixed/0471.rw
lookup failed
rewritten sender = CALLER@myhost.test.ex
-rewrite headers
+qualify and rewrite headers
rewrite_one_header: type=T:
To: localpart_with_236_chars_56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example
localpart_with_236_chars_56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example in "^.{40,}@*"?
lookup failed
search_tidyup called
>>Headers after rewriting and local additions:
-* To: localpart_with_236_chars_56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example
-T To: deny_me@rwtest.example
-I Message-Id: <E10HmaZ-000000005vi-0000@myhost.test.ex>
-F From: CALLER_NAME <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ * To: localpart_with_236_chars_56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example
+ T To: deny_me@rwtest.example
+ I Message-Id: <E10HmaZ-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaZ-000000005vi-0000-D
Data file written for message 10HmaZ-000000005vi-0000
in TESTSUITE/aux-fixed/0471.rw
creating new cache entry
lookup failed
-global rewrite rules
+rewrite rules on sender address
CALLER@myhost.test.ex in "^.{40,}@*"?
list element: ^.{40,}@*
address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
in TESTSUITE/aux-fixed/0471.rw
lookup failed
rewritten sender = CALLER@myhost.test.ex
-rewrite headers
+qualify and rewrite headers
rewrite_one_header: type=T:
To: localpart_with_256_chars_5678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example
LOG: MAIN
lookup failed
search_tidyup called
>>Headers after rewriting and local additions:
-T To: localpart_with_256_chars_5678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example
-I Message-Id: <E10HmbA-000000005vi-0000@myhost.test.ex>
-F From: CALLER_NAME <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ T To: localpart_with_256_chars_5678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456@test.example
+ I Message-Id: <E10HmbA-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmbA-000000005vi-0000-D
Data file written for message 10HmbA-000000005vi-0000
in TESTSUITE/aux-fixed/0471.rw
creating new cache entry
lookup failed
-global rewrite rules
+rewrite rules on sender address
CALLER@myhost.test.ex in "^.{40,}@*"?
list element: ^.{40,}@*
address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
in TESTSUITE/aux-fixed/0471.rw
lookup failed
rewritten sender = CALLER@myhost.test.ex
-rewrite headers
+qualify and rewrite headers
rewrite_one_header: type=T:
To: undisclosed recpients:;
rewrite_one_header: type=F:
lookup failed
search_tidyup called
>>Headers after rewriting and local additions:
-T To: undisclosed recpients:;
-I Message-Id: <E10HmbB-000000005vi-0000@myhost.test.ex>
-F From: CALLER_NAME <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ T To: undisclosed recpients:;
+ I Message-Id: <E10HmbB-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmbB-000000005vi-0000-D
Data file written for message 10HmbB-000000005vi-0000
in TESTSUITE/aux-fixed/0471.rw
creating new cache entry
lookup failed
-global rewrite rules
+rewrite rules on sender address
CALLER@myhost.test.ex in "^.{40,}@*"?
list element: ^.{40,}@*
address match test: subject=CALLER@myhost.test.ex pattern=^.{40,}@*
in TESTSUITE/aux-fixed/0471.rw
lookup failed
rewritten sender = CALLER@myhost.test.ex
-rewrite headers
+qualify and rewrite headers
rewrite_one_header: type=T:
To: fred@
LOG: MAIN
lookup failed
search_tidyup called
>>Headers after rewriting and local additions:
-T To: fred@
-I Message-Id: <E10HmbC-000000005vi-0000@myhost.test.ex>
-F From: CALLER_NAME <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ T To: fred@
+ I Message-Id: <E10HmbC-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmbC-000000005vi-0000-D
Data file written for message 10HmbC-000000005vi-0000
From: unqualified
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
rewrite_one_header: type=F:
From: unqualified
search_tidyup called
>>Headers after rewriting and local additions:
-F From: unqualified
-I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ F From: unqualified
+ I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
>>Headers received:
>>Headers after rewriting and local additions:
-I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
-F From: "Phil Q. Hazel" <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
+ F From: "Phil Q. Hazel" <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
>>Headers received:
>>Headers after rewriting and local additions:
-I Message-Id: <E10HmaY-000000005vi-0000@myhost.test.ex>
-F From: John "Jack" Smith <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaY-000000005vi-0000@myhost.test.ex>
+ F From: John "Jack" Smith <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaY-000000005vi-0000-D
Data file written for message 10HmaY-000000005vi-0000
>>Headers received:
>>Headers after rewriting and local additions:
-I Message-Id: <E10HmaZ-000000005vi-0000@myhost.test.ex>
-F From: John "Jack" "Q." Smith <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaZ-000000005vi-0000@myhost.test.ex>
+ F From: John "Jack" "Q." Smith <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaZ-000000005vi-0000-D
Data file written for message 10HmaZ-000000005vi-0000
>>Headers received:
>>Headers after rewriting and local additions:
-I Message-Id: <E10HmbA-000000005vi-0000@myhost.test.ex>
-F From: "John (Jack) Q. Smith" <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmbA-000000005vi-0000@myhost.test.ex>
+ F From: "John (Jack) Q. Smith" <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmbA-000000005vi-0000-D
Data file written for message 10HmbA-000000005vi-0000
>>Headers received:
>>Headers after rewriting and local additions:
-I Message-Id: <E10HmbB-000000005vi-0000@myhost.test.ex>
-F From: John ("Jack") "Q." Smith <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmbB-000000005vi-0000@myhost.test.ex>
+ F From: John ("Jack") "Q." Smith <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmbB-000000005vi-0000-D
Data file written for message 10HmbB-000000005vi-0000
>>Headers received:
>>Headers after rewriting and local additions:
-I Message-Id: <E10HmbC-000000005vi-0000@myhost.test.ex>
-F From: "John (\"Jack\") Q. Smith" <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmbC-000000005vi-0000@myhost.test.ex>
+ F From: "John (\"Jack\") Q. Smith" <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmbC-000000005vi-0000-D
Data file written for message 10HmbC-000000005vi-0000
>>Headers received:
>>Headers after rewriting and local additions:
-I Message-Id: <E10HmbD-000000005vi-0000@myhost.test.ex>
-F From: "Phil \"Q Hazel" <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmbD-000000005vi-0000@myhost.test.ex>
+ F From: "Phil \"Q Hazel" <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmbD-000000005vi-0000-D
Data file written for message 10HmbD-000000005vi-0000
>>Headers received:
>>Headers after rewriting and local additions:
-I Message-Id: <E10HmbE-000000005vi-0000@myhost.test.ex>
-F From: "Phil \"Q" "X." Hazel <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmbE-000000005vi-0000@myhost.test.ex>
+ F From: "Phil \"Q" "X." Hazel <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmbE-000000005vi-0000-D
Data file written for message 10HmbE-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
search_tidyup called
>>Headers after rewriting and local additions:
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
rewrite_one_header: type=F:
From: CALLER_NAME <CALLER@myhost.test.ex>
search_tidyup called
>>Headers after rewriting and local additions:
-I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
-F From: CALLER_NAME <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
rewrite_one_header: type=F:
From: CALLER_NAME <CALLER@myhost.test.ex>
search_tidyup called
>>Headers after rewriting and local additions:
-I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
-F From: CALLER_NAME <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and rewrite headers
rewrite_one_header: type=F:
From: CALLER_NAME <CALLER@myhost.test.ex>
search_tidyup called
>>Headers after rewriting and local additions:
-I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
-F From: CALLER_NAME <CALLER@myhost.test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@myhost.test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and 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-000000005vi-0000@mail.test.ex>
-F From: CALLER_NAME <CALLER@test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaX-000000005vi-0000@mail.test.ex>
+ F From: CALLER_NAME <CALLER@test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and 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-000000005vi-0000@myhost.test.ex>
-F From: CALLER_NAME <CALLER@test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and 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: <E10HmaY-000000005vi-0000@myhost.test.ex>
-F From: CALLER_NAME <CALLER@test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaY-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaY-000000005vi-0000-D
Data file written for message 10HmaY-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and 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: <E10HmaZ-000000005vi-0000@myhost.test.ex>
-F From: CALLER_NAME <CALLER@test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaZ-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaZ-000000005vi-0000-D
Data file written for message 10HmaZ-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and 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: <E10HmbA-000000005vi-0000@myhost.test.ex>
-F From: CALLER_NAME <CALLER@test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmbA-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmbA-000000005vi-0000-D
Data file written for message 10HmbA-000000005vi-0000
>>Headers received:
qualify & rewrite recipients list
-global rewrite rules
-rewrite headers
+rewrite rules on sender address
+qualify and 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-000000005vi-0000@myhost.test.ex>
-F From: CALLER_NAME <CALLER@test.ex>
- Date: Tue, 2 Mar 1999 09:44:33 +0000
+ I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
+ F From: CALLER_NAME <CALLER@test.ex>
+ Date: Tue, 2 Mar 1999 09:44:33 +0000
Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
Data file written for message 10HmaX-000000005vi-0000
reply-to: User@d.domain
env-from: User@d.domain
env-to: User@d.domain
+
+**** SMTP testing session as if from host 127.0.0.1
+**** but without any ident (RFC 1413) callback.
+**** This is not for real!
+
+220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000\r
+250 myhost.test.ex Hello tester [127.0.0.1]\r
+250 OK\r
+250 Accepted\r
+354 Enter message, ending with "." on a line by itself\r
+250 OK id=10HmaX-000000005vi-0000\r
+
+**** SMTP testing: that is not a real message id!
+
+221 myhost.test.ex closing connection\r