Tweak for new processing method.
[exim.git] / test / stdout / 0002
CommitLineData
54c5ebb1
PH
1>
2> # These expansions can test variables in the configuration, but as there
3> # is no message being processed, there is no message-related data. But
4> # that of course gets tested in plenty of other places.
5>
6> # Some fixed variables
7>
8> exim_path: TESTSUITE/eximdir/exim
9> primary_hostname: myhost.test.ex
10> primary_hostname: myhost.test.ex
11> qualify_domain: myhost.test.ex
12> bounce_return_size_limit: 102400
13> spool_directory: TESTSUITE/spool
14> Failed: unknown variable in "${unknown}"
15> h_subject: (should be empty)
16> h_subject: (should be empty)
17> Failed: unknown expansion operator "header_subject"
18>
19> # $message_headers should be empty
20> message_headers: ><
21>
22> # Continuation
23> xy
24> xy
25>
26> # Overlong names and overbig numbers
27>
28> Failed: unknown variable name "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
29> Failed: unknown variable in "${aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}"
30> +
31> +
32>
29f89cad
PH
33> # List operations
34>
35> filter: "a:b:c"
36> filter: a:c
37> filter: a'c
38> filter: ''a' ''c
39> filter: ""
40>
41> map: ""
42> map: a:b:c
43> map: ::a::: ::b::: ::c::
44> map: fail string
45> map: []:[b]:[c]
46>
47> reduce: "+"
48> reduce: +abc
49> reduce: 6
50> reduce: 9
51>
54c5ebb1
PH
52> # Operators
53>
54> addrss: local-part@dom.ain
55> addrss: local-part@dom.ain
56> domain: dom.ain
57> domain: dom.ain
29f89cad
PH
58>
59> addresses: ''abc@xyz' ''pqr@xyz
60> addresses: local-part@dom.ain
61> addresses: local-part@dom.ain+xyz@abc
62> addresses: local-part@dom.ain:xyz@abc:p@q:r@s
63> addresses:
64>
54c5ebb1
PH
65> escape: B7\267F2\362
66> eval: 2
67> eval: 7
68> eval: 9
69> eval: 4
70> eval: 6
71> eval: 42
72> Failed: error in expression evaluation: expecting number or opening parenthesis (after processing "")
73> eval: -2
74> eval: 1
75> eval: 1
76> Failed: error in expression evaluation: expecting closing parenthesis (after processing "-2 - (-3")
af561417 77> Failed: error in expression evaluation: expecting operator (after processing "-2 - -3")
54c5ebb1
PH
78> eval: 1
79> eval: -5
af561417 80> eval: 1
54c5ebb1
PH
81> eval: 40962
82> eval: 63
af561417 83> Failed: error in expression evaluation: expecting operator (after processing "0")
54c5ebb1
PH
84> eval10: 77
85> eval10: 8
af561417
PH
86> Failed: error in expression evaluation: expecting operator (after processing "0")
87> eval: 4
88> eval: 4
89> eval: 4
90> eval: 13
91> eval: 9
92> eval: 6
93> eval: 3
94> eval: 0
95> eval: 24
96> eval: 4608
97> eval: 4608
98> eval: -4608
99>
54c5ebb1
PH
100> expand: $primary_hostname myhost.test.ex
101> hash: jmg monty fbWx
102> hash: abcX abX aX X
103> hex2b64:EjRWeA==
104> hex2b64:q83v
105> hex2b64:q83v
106> hex2b64:Gis8TV5v
107> Failed: "1a2b3c4d5e6" contains an odd number of characters
108> Failed: "1a2b3c4d5e6g" is not a hex string
109> hex2b64:MPPJPkZDbetYunCBao7BJA==
110> hex2b64:ztcfpyNSMb7Tg/rP3EHE3cwi7PE=
111>
112> The base62 operator is actually a base36 operator in the Darwin and Cygwin
113> environments. Write cunning tests that produce the same output in both cases,
114> while doing a reasonable check.
115>
116> base62: OK
117> base62d: OK
118> base62d: OK
119> Failed: argument for base62 operator is "12345x", which is not a decimal number
120> Failed: argument for base62d operator is "0003D7.", which is not a base 36/62 number
121>
122> hmac: dd97e3ba5d1a61b5006108f8c8252953
123> hmac: 0210cf9d274b53f1550f657c378b29e8bfed1064
124> md5: 77add1d5f41223d5582fca736a5cb335
125> sha1: DA39A3EE5E6B4B0D3255BFEF95601890AFD80709
126> sha1: A9993E364706816ABA3E25717850C26C9CD0D89D
127> mask: 192.168.10.192/28
128> mask: 192.168.10.206/32
129> Failed: mask value too big in "192.168.10.206/33"
130> mask: 0.0.0.0/0
131> Failed: missing mask value in "192.168.10.206"
132> Failed: "a.b.c.d" is not an IP address
133> nhash: 19 0/61
134> lc/uc: the quick BROWN FOX
135> length: The quick abc
136> lclpt: local-part
137> lclpt: local-part
138> quote: aZ09_.-Q "ab*cd" "abcd\"ef"
139> quote: "nl(\n)"
140> quote: "cr(\r)"
141> quote: "tab( )"
142> quote: "xff()"
143> quote: Empty>""<
144> quote_local_part: abcd
145> quote_local_part: O'Reilly
146> quote_local_part: "a space"
147> quote_local_part: ".something"
148> quote_local_part: "something."
149> quote_local_part: joe.bloggs
150> quote_local_part: a!b
151> quote_local_part: "x@y"
152> quote_local_part: ab*cd
153> quote_local_part: "x:y"
154> quote_local_part: "abcd\"ef"
155> quote_local_part: ""
156> rxquote:aZ09\_\,\-Q ab\*cd abcd\"ef
157> substr: ba 34 1
158> substr: barb rhuba
159> substr:
160> substr:
161> str2b64:YWJjZA==
162> str2b64:VGhlIHF1aWNrIGJyb3duIAogZm94
163> strlen: 0
164> strlen: 1
165> strlen: 8
f90d018c
PH
166> time_eval: 10
167> time_eval: 7200
168> time_eval: 86700
169> time_eval: 788645
170> Failed: string "14" is not an Exim time interval in "time_eval" operator
171> Failed: string "rhubarb" is not an Exim time interval in "time_eval" operator
54c5ebb1
PH
172> time_interval: 0s
173> time_interval: 44s
174> time_interval: 1w4d13h46m39s
175> Failed: string "-1" is not a positive number in "time_interval" operator
176> Failed: string "rhubarb" is not a positive number in "time_interval" operator
177>
178> # stat is a bit tricky, but some of the fields of the aux-var directory
179> # should be the same on all systems
180>
181> stat: 40755
182> stat: drwxr-xr-x
183> Failed: stat(/a/non/existent/file) failed: No such file or directory
184>
185> # "Operators" that have expanded arguments
186>
187> hash: jmg monty fbWx
188> hash: abcX abX aX X
189> nhash: 19 0/61
190> length: The quick abc
191> substr: ba 34 1
192> substr:
193>
194> # Error forms
195>
196> Failed: missing or misplaced { or }
197> Failed: "nonnumber" is not a number (in "hash" expansion)
198> Failed: Too many arguments for "hash" (max is 3)
199> Failed: "-2" is not a positive number (in "substr" expansion)
200>
201> # Skipped operators
202>
203> addrss: NO
204> domain: NO
205> escape: NO
206> expand: NO
207> hash: NO
208> md5: NO
209> mask: NO
210>
d45b1de8
PH
211> # Numeric overflow
212>
213> Failed: absolute value of integer "4096M" is too large (overflow)
214> Failed: absolute value of integer "4096000000" is too large (overflow)
215>
54c5ebb1
PH
216> # Conditions
217>
218> 2=2: y
219> 2==2: y
220> 3=2: n
221> 2==3: n
222> !2=2: n
223> !2==2: n
224> !3=2: y
225> !2==3: y
226> 2>3: n
227> 3>3: n
228> 4>3: y
d45b1de8 229> 1>-1: y
54c5ebb1
PH
230> 2>=3: n
231> 3>=3: y
232> 4>=3: y
233> 2<3: y
234> 3<3: n
235> 4<3: n
236> 2<=3: y
237> 3<=3: y
238> 4<=3: n
239> 5<=3: n
d45b1de8 240> -3<=1: y
54c5ebb1
PH
241>
242> 5>3k: n
243> 5>3m: n
d45b1de8
PH
244> Failed: invalid integer "3z "
245> Failed: integer expected but "a" found
54c5ebb1 246>
5dd1517f
PH
247> >0: n
248> =: y
249> -2<: y
250> 08>07: y
251> 011=11: y
252>
54c5ebb1
PH
253> def:y y
254> def:n n
255> Failed: unknown variable "post" after "def:"
256> def:h_f n
257> def:h_f n
258> Failed: missing or misplaced { or }
259>
260> exists: y
261> exists: n
262>
263> eq: y
264> eq: n
265> !eq: n
266> !eq: y
267>
268> eqi: y
269> eqi: y
270> eqi: n
271> !eqi: n
272> !eqi: n
273> !eqi: y
274>
275> lt: y
276> lti: n
277> le: y
278> lei: y
279> gt: n
280> gti: n
281> ge: n
282> gei: y
283>
284> isip: y 1.2.3.4
285> isip4: y 1.2.3.4
286> isip6: n 1.2.3.4
287> isip: n 1:2:3:4
288> isip4: n 1:2:3:4
289> isip6: n 1:2:3:4
290> isip: y ::1
291> isip4: n ::1
292> isip6: y ::1
293> isip: y fe80::a00:20ff:fe86:a061
294> isip4: n fe80::a00:20ff:fe86:a061
295> isip6: y fe80::a00:20ff:fe86:a061
296> isip: n rhubarb
297> isip4: n rhubarb
298> isip6: n rhubarb
299>
300> match: cdab
301> match: cdab
302> match: cdab
303> Failed: "if" failed and "fail" requested
304> match: cd[xyz]ab
305>
306> match_domain: yes
307> match_domain: no
308> match_domain: yes
309> match_domain: yes
310> match_domain: no
311>
f78eb7c6
PH
312> >x@zz.aa.bb< [] >x@zz.aa.bb<
313>
314> >x@xxxabc< [] >x@xxxabc<
315>
54c5ebb1
PH
316> match_address: yes
317> match_address: yes
318>
319> match_local_part:yes
320> match_local_part:yes
321>
322> match_ip: 01 true
323> match_ip: 02
324> match_ip: 03 true
325> match_ip: 04 true
326> match_ip: 05
327> match_ip: 06
328> match_ip: 07 true
329> match_ip: 08 true
330> match_ip: 09
331> match_ip: 10 true
332> Failed: "somename" is not an IP address
333> match_ip: 12 true
334> match_ip: 13 true
335> match_ip: 14 true
336>
337> queue_running: n
338> first_delivery: n
339>
340> queue_running after or: y
341> first_delivery after or: y
342>
343> # Default values for both if strings
344>
345> ${if eq{1}{1}} >true<
346> ${if eq{1}{2}} ><
347>
348> # Lookups: DIR is the testing directory. In this test we can only use the
349> # lookups that are required in all cases.
350>
351> CALLER
352>
353> ==X@Y
354> ==*
355> ==*@Z
356> ==*
357>
358> data for a.b.c.d
359> failed x.y.z
360> data for *.p.q
361> data for *.p.q
362> data for *.p.q
363> Failed: "lookup" failed and "fail" requested
364> data for *
365>
366> q1: "abc"
367> q2: "xyz":
368> q3: "pqr" :
369> q4: "a:b" abc continued data (make sure not key)
370> q5: "\"quoted\""
371> q6: "white space"
372> q7: "b\\s"
373>
374> abc: abc
375> a.b.c: *.b.c
376> ab.c: *b.c
377> xyz: ^X
378> Xyz: ^X
379> Zyz: ^Z
380> a b: "^a +b"
381> a b: "^a +b"
382> a:b: lookup succeeded
383> a.b: ^a\\.+b
384> a..b: ^a\\.+b
385> a9b: \N^a\d+b
386> a99b: \N^a\d+b
387>
388> # Should give the same results as above because expansion does nothing
389>
390> abc: abc
391> a.b.c: *.b.c
392> ab.c: *b.c
393> xyz: ^X
394> Xyz: ^X
395> Zyz: ^Z
396> a b: "^a +b"
397> a b: "^a +b"
398> a:b: lookup succeeded
399>
400> # Should fail because of no expansion
401>
402> a.b: NO
403> a..b: NO
404> a9b: NO
405> a99b: NO
406>
407> # But these should succeed
408>
409> a\:b: ^a\\.+b
410> a\:Xb: ^a\\.+b
411>
366fc9f0
PH
412> # Some tests of case-(in)dependence
413>
414> MiXeD-CD: Data found for case-dependent MiXeD-CD
415> MixeD-CD: NOT FOUND
416> MiXeD-Ncd: Data found for case-independent MiXeD-nCD
417> MixeD-Ncd: Data found for case-independent MiXeD-nCD
418>
54c5ebb1
PH
419> # IP address (CIDR) lookups
420>
421> 1.2.3.4: data for 1.2.3.4
422> 1.2.3.5:
423> 1.2.3.5: data for *
424> abcd::cdab: data for abcd::cdab
425> 192.168.1.2: data for 192.168.0.0/16
426> 192.168.5.6: data for 192.168.0.0/16
427> abcd:abcd:: data for abcd:abcd::/32
428> abcd:abcd:1:: data for abcd:abcd::/32
429> abcd:abcd::3 data for abcd:abcd::/32
430> Failed: lookup of "rhubarb" gave DEFER: "rhubarb" is not a valid iplsearch key (an IP address, with optional CIDR mask, is wanted): in a host list, use net-iplsearch as the search type
431>
432>
433> # Nested Lookups - style 1
434>
435> The data for key1->key2
436> Failed: "lookup" failed and "fail" requested
437>
438> # Nested Lookups - style 2
439>
440> The data for key1->key2
441> failed for key4
442>
443> # Other nesting tests
444>
445> 1-in-1
446> 2-in-2
447> both-in-1,both-in-2
448> Failed: "lookup" failed and "fail" requested
449>
450> # Lookup quotes for standardly expected lookups
451>
452> lsearch !@#$%^&*()_-+=|\~`1234567890{[}]qwertyuiop:;"'asdfghjkl<,>.?/zxcvbnm
453> Failed: unknown lookup type "xxx"
454>
455> # Extract
456>
457> 2
458> 2
459> 2
460> 2
461> Empty:<>
462> Empty:<>
463> <3>
464> <3>
465> Empty:<>
466> Empty:<>
467> no Z
468> no 4
469> Failed: "extract" failed and "fail" requested
470> Failed: "extract" failed and "fail" requested
471> D
472> a:b:c:d:e
473> a
474> e
475> a
476> FAIL
477> b
478>
479> b
480> three four
481> Failed: first argument of "extract" must not be empty
482> Failed: first argument of "extract" must not be empty
483> b
484>
485> # Translation
486>
487> abcdea aaa xyz zbcdez
488> abcdea a z zbcdez
489> abcdea a abcdea
490> abcdea abc z zzzdez
491>
492> # RFC 2047
493>
494> abcd abcd
495> <:abcd:> =?iso-8859-8?Q?=3C=3Aabcd=3A=3E?=
496> <:ab cd:> =?iso-8859-8?Q?=3C=3Aab_cd=3A=3E?=
497> Long: =?iso-8859-8?Q?_here_we_go=3A_a_string_that_is_going_to_be_encoded=3A_i?= =?iso-8859-8?Q?t_will_go_over_the_75-char_limit?=
498> Long: =?iso-8859-8?Q?_here_we_go=3A_a_string_that_is_going_to_be_encoded=3A_i?= =?iso-8859-8?Q?t_will_go_over_the_75-char_limit_by_a_long_way=3B_in_fac?= =?iso-8859-8?Q?t_this_one_will_go_over_the_150_character_limit?=
499>
9c57cbc0
PH
500> # RFC 2047 decode
501>
502> abcd abcd
503> <:abcd:> <:abcd:>
504> <:ab cd:> <:ab cd:>
505> Long: here we go: a string that is going to be encoded: it will go over the 75-char limit
506> Long: here we go: a string that is going to be encoded: it will go over the 75-char limit by a long way; in fact this one will go over the 150 character limit
54c5ebb1
PH
507>
508> # UTF-8
509>
510> abcd abcd
511> ad ad
512> toobig a_d
513>
514> # Substitution
515>
516> ${sg{abcdefabcdef}{abc}{xyz}} =xyzdefxyzdef
517> ${sg{ab:xy::z}{:}{::}} =ab::xy::::z
518> ${sg{abcdefabcdef}{(..)[^c]}{>$1<}} =a><><><ef
519> ${sg{abcdefabcdef}{(..)[^c]}{>\$1<}} =a>bc<>ef<>bc<ef
520> ${sg{abcdefabcdef}{(..)[^c]}{>\N$1\N<}}=a>bc<>ef<>bc<ef
521> ${sg{abbab}{a*}{+}} =++b+b++b+
522>
523> # File insertion
524>
525> Failed: missing or misplaced { or }
526> abcde
52712345
528
529xyz
530
531> abcde12345xyz
532> abcde:12345::xyz:
533> abcde - 12345 - - xyz -
534> Failed: failed to open /non/exist/file: No such file or directory
535> non-exist
536> >abcde!12345!!xyz!<
537>
538> # Calling a command
539>
540> abcd
5411234
542
543> RC=0
544> 1
545> RC=0
546> abcd
5471234
548
549> RC=0
550> 2
551> RC=1
552> abcd
5531234
554
555> RC=1
556> N
557> RC=127
558> >><<
559> RC=0
560> 1!=2
561> RC=0
562>
563> # PRVS
564>
565> prvs=userx/xxxxxxxxxx@test.ex
566> prvs=userx/xxxxxxxxxx@test.ex
567> prvs=userx/xxxxxxxxxx@test.ex
568>
569> # Syntax errors
570>
571> Failed: prvs second argument must be a single digit
572> Failed: prvs second argument must be a single digit
573> Failed: prvs second argument must be a single digit
574>
575> # Correct checks; can't put explicit addresses in the tests, because they
576> # will change over time.
577>
578> userx@test.ex
579> result=1
580>
581> >1< >userx@test.ex< >1<
582> result=1
583>
584> userx@test.ex
585> result=1
586>
587> # Incorrect secret
588>
589> userx@test.ex
590> result=
591>
592> 0
593> result=
594>
595> # Non-prvs address
596>
597> >><<
598> result=
599>
600> # Syntax errors
601>
602> Failed: "${tod_log" is not a known operator (or a } is missing in a variable reference)
603> Failed: "${tod_log" is not a known operator (or a } is missing in a variable reference)
604> Failed: missing } at end of string
605> Failed: missing } at end of string
606> Failed: hmac algorithm "xxx" is not recognised
607> Failed: each subcondition inside an "and{...}" condition must be in its own {}
608> Failed: unknown condition "xya" inside "and{...}" condition
609> Failed: condition name expected, but found "${lookup{x}lsear" inside "and{...}" condition
610> Failed: missing } at end of string - could be header name not terminated by colon
0d85fa3f
PH
611> Failed: missing or misplaced { or }
612> Failed: missing or misplaced { or } - could be header name not terminated by colon
54c5ebb1
PH
613> Failed: each subcondition inside an "or{...}" condition must be in its own {}
614> Failed: missing } at end of condition inside "or" group
615> Failed: unknown condition "yes" inside "or{...}" condition
616> Failed: non-digit after underscore in "substr_1_"
617> Failed: non-digit after underscore in "substr__3"
618>
0ce9abe6
PH
619> # Iterations: forany and forall
620>
621> yes
622> yes
623> yes
624> no
625> yes
626> no
627> no
628> yes
629> yes
630>
631> Failed: unknown condition "yes" inside "forany" condition
632> Failed: missing } at end of condition inside "forany"
633>
634> yes
635> no
636> no
637> no
638>
639> no
640> yes
641> yes
642> yes
643>
644> # Expect yes
645> outer=yes item='' (unset)
646>
647> # Expect no
648> outer=no
649>
650> # Error inside nest - check message is helpful
651> Failed: missing } at end of condition inside "forall" inside "forany" condition
652>
653>
54c5ebb1
PH
654> # Miscellaneous (for bug fixes, etc)
655>
656> true
657>
658>
659> escape: B7F2
660>
661> primary_hostname: myhost.test.ex
662> match: cdab
663> Failed: "if" failed and "fail" requested
664> yes
665> match_address: no
666>
667> -oMa sender_host_address =
668> sender_host_port = 0
669> -oMaa sender_host_authenticated =
670> -oMai authenticated_id = CALLER
671> -oMas authenticated_sender = CALLER@myhost.test.ex
672> -oMi interface_address =
673> interface_port = -1
674> -oMr received_protocol =
675> -oMs sender_host_name =
676> -oMt sender_ident = CALLER
677>
678> -oMa sender_host_address = V4NET.0.0.1
679> sender_host_port = 1234
680> -oMaa sender_host_authenticated = AAA
681> -oMai authenticated_id = philip
682> -oMas authenticated_sender = xx@yy.zz
683> -oMi interface_address = 1.1.1.1
684> interface_port = 99
685> -oMr received_protocol = special
686> -oMt sender_ident = me
687>
688> -oMa sender_host_address = V4NET.0.0.1
689> sender_host_port = 1234
690> -oMs sender_host_name = my.host.name
691>
692> -oMs sender_host_name =
693> host_lookup_failed = 1
694>
695> -p received_protocol = special
696> -p sender_host_name = host.name
697>
698> -oMa sender_host_address = V4NET.0.0.1
699> sender_host_port = 1234
700> -oMaa sender_host_authenticated = AAA
701> -oMai authenticated_id = philip
702> -oMas authenticated_sender = xx@yy.zz
703> -oMi interface_address = 1.1.1.1
704> interface_port = 99
705> -oMr received_protocol = special
706> ----> No lookup yet: No
707> -oMs sender_host_name = ten-1.test.ex
708> -oMt sender_ident = me
709>
710
711**** SMTP testing session as if from host V4NET.0.0.1
712**** but without any ident (RFC 1413) callback.
713**** This is not for real!
714
715550 Administrative prohibition\r
716
717**** SMTP testing session as if from host V4NET.0.0.2
718**** but without any ident (RFC 1413) callback.
719**** This is not for real!
720
721550 Administrative prohibition\r
722
723**** SMTP testing session as if from host V4NET.0.0.0
724**** but without any ident (RFC 1413) callback.
725**** This is not for real!
726
727220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000\r
728250 OK\r
729250 Accepted\r
730354 Enter message, ending with "." on a line by itself\r
731550 reply_address=<>\r
732250 OK\r
733250 Accepted\r
734354 Enter message, ending with "." on a line by itself\r
735550 reply_address=<a@b>\r
736250 OK\r
737250 Accepted\r
738354 Enter message, ending with "." on a line by itself\r
739550 reply_address=<c@d>\r
740250 OK\r
741250 Accepted\r
742354 Enter message, ending with "." on a line by itself\r
743550 reply_address=<>\r
744250 OK\r
745250 Accepted\r
746354 Enter message, ending with "." on a line by itself\r
747550 reply_address=<x@y>\r
748221 myhost.test.ex closing connection\r
749
750**** SMTP testing session as if from host V4NET.0.0.0
751**** but without any ident (RFC 1413) callback.
752**** This is not for real!
753
754220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000\r
755250 OK\r
756250 Accepted\r
757354 Enter message, ending with "." on a line by itself\r
758550 reply_address=<>\r
759221 myhost.test.ex closing connection\r
760
761**** SMTP testing session as if from host V4NET.0.0.0
762**** but without any ident (RFC 1413) callback.
763**** This is not for real!
764
765220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000\r
766250 OK\r
767250 Accepted\r
768354 Enter message, ending with "." on a line by itself\r
769550 reply_address=<>\r
770221 myhost.test.ex closing connection\r
1688f43b
PH
771> match_ip: 15
772> match_ip: 16
773>