blob: 8a9ae2366e3068c5cd73470033362ec774d02f98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
Connecting to 127.0.0.1 port 1225 ... connected
??? 220
<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
>>> HELO tester
??? 250
<<< 250 myhost.test.ex Hello tester [127.0.0.1]
>>> MAIL FROM:<implcit@test.ex>
??? 250
<<< 250 OK
>>> RCPT TO:<CALLER@test.ex>
??? 250
<<< 250 Accepted
>>> DATA
??? 354
<<< 354 Enter message, ending with "." on a line by itself
>>> From: <good@test.ex>
>>> Subject: this should be accepted and filed
>>>
>>> a single body line
>>> .
??? 250
<<< 250 OK id=10HmaX-000000005vi-0000
>>> RSET
??? 250
<<< 250 Reset OK
+++ 1
>>> MAIL FROM:<discard@test.ex>
??? 250
<<< 250 OK
>>> RCPT TO:<CALLER@test.ex>
??? 250
<<< 250 Accepted
>>> DATA
??? 354
<<< 354 Enter message, ending with "." on a line by itself
>>> From: <coyote@test.ex>
>>> Subject: this should be discarded by the filter
>>> .
??? 250
<<< 250 OK id=10HmaY-000000005vi-0000
>>> RSET
??? 250
<<< 250 Reset OK
+++ 1
>>> MAIL FROM:<identified@test.ex>
??? 250
<<< 250 OK
>>> RCPT TO:<CALLER@test.ex>
??? 250
<<< 250 Accepted
>>> DATA
??? 354
<<< 354 Enter message, ending with "." on a line by itself
>>> From: <spot_this@test.ex>
>>> Subject: this should be delivered to a speicifc place by the filter
>>> .
??? 250
<<< 250 OK id=10HmaZ-000000005vi-0000
>>> RSET
??? 250
<<< 250 Reset OK
+++ 1
>>> MAIL FROM:<redirect@test.ex>
??? 250
<<< 250 OK
>>> RCPT TO:<CALLER@test.ex>
??? 250
<<< 250 Accepted
>>> DATA
??? 354
<<< 354 Enter message, ending with "." on a line by itself
>>> From: <redirect@test.ex>
>>> Subject: this should be redirected by the filter to a different address
>>> .
??? 250
<<< 250 OK id=10HmbA-000000005vi-0000
>>> QUIT
??? 221
<<< 221 myhost.test.ex closing connection
End of script
|