1 # content scan interface: spamassassin
3 # The spooled file for scanning includes the test-runner's user name
4 # hence size varies. Munge that.
8 # A good-comms test, returning not-spam.
9 # (we could use a second one that returns is-spam...)
23 <Content-type: text/plain
30 >Spam: False ; 4.5 / 5.0
32 >Spam detection software, running on the system "demo",
33 >has NOT identified this incoming email as spam. The original
34 >message has been attached to this so you can view it or label
35 >similar future email. If you have any questions, see
36 >@@CONTACT_ADDRESS@@ for details.
38 >Content preview: test [...]
40 >Content analysis details: (4.5 points, 5.0 required)
42 > pts rule name description
43 >---- ---------------------- --------------------------------------------------
44 >-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
45 > 1.2 MISSING_HEADERS Missing To: header
46 > 1.0 MISSING_FROM Missing From: header
47 > 1.8 MISSING_SUBJECT Missing Subject: header
48 > 1.4 MISSING_DATE Missing Date: header
49 > 0.1 MISSING_MID Missing Message-Id: header
53 exim -odi -oMt fromuser -bs
55 mail from:<fromuser@myhost.test.ex>
56 rcpt to:<userx@test.ex>
58 Content-type: text/plain
68 # Server spec line with timeout option, not exercised
69 # (could we cut down the massive content?)
83 <Content-type: text/plain
90 >Spam: False ; 4.5 / 5.0
92 >Spam detection software, running on the system "demo",
93 >has NOT identified this incoming email as spam. The original
94 >message has been attached to this so you can view it or label
95 >similar future email. If you have any questions, see
96 >@@CONTACT_ADDRESS@@ for details.
98 >Content preview: test [...]
100 >Content analysis details: (4.5 points, 5.0 required)
102 > pts rule name description
103 >---- ---------------------- --------------------------------------------------
104 >-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
105 > 1.2 MISSING_HEADERS Missing To: header
106 > 1.0 MISSING_FROM Missing From: header
107 > 1.8 MISSING_SUBJECT Missing Subject: header
108 > 1.4 MISSING_DATE Missing Date: header
109 > 0.1 MISSING_MID Missing Message-Id: header
113 exim -odi -oMt fromuser -bs -DOPT='127.0.0.1 7833 retry=10s'
115 mail from:<fromuser@myhost.test.ex>
116 rcpt to:<userx@test.ex>
118 Content-type: text/plain
127 # Server spec line with timeout option, exercised
141 <Content-type: text/plain
148 >Spam: False ; 4.5 / 5.0
150 >Spam detection software, running on the system "demo",
151 >has NOT identified this incoming email as spam. The original
152 >message has been attached to this so you can view it or label
153 >similar future email. If you have any questions, see
154 >@@CONTACT_ADDRESS@@ for details.
156 >Content preview: test [...]
158 >Content analysis details: (4.5 points, 5.0 required)
160 > pts rule name description
161 >---- ---------------------- --------------------------------------------------
162 >-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
163 > 1.2 MISSING_HEADERS Missing To: header
164 > 1.0 MISSING_FROM Missing From: header
165 > 1.8 MISSING_SUBJECT Missing Subject: header
166 > 1.4 MISSING_DATE Missing Date: header
167 > 0.1 MISSING_MID Missing Message-Id: header
171 exim -odi -oMt fromuser -bs -DOPT='127.0.0.1 7833 retry=4s'
173 mail from:<fromuser@myhost.test.ex>
174 rcpt to:<userx@test.ex>
176 Content-type: text/plain
185 # Multiple servers, prioritised, with timeout spec; first one fails
186 # List separator changed
200 <Content-type: text/plain
207 >Spam: False ; 4.5 / 5.0
209 >Spam detection software, running on the system "demo",
210 >has NOT identified this incoming email as spam. The original
211 >message has been attached to this so you can view it or label
212 >similar future email. If you have any questions, see
213 >@@CONTACT_ADDRESS@@ for details.
215 >Content preview: test [...]
217 >Content analysis details: (4.5 points, 5.0 required)
219 > pts rule name description
220 >---- ---------------------- --------------------------------------------------
221 >-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
222 > 1.2 MISSING_HEADERS Missing To: header
223 > 1.0 MISSING_FROM Missing From: header
224 > 1.8 MISSING_SUBJECT Missing Subject: header
225 > 1.4 MISSING_DATE Missing Date: header
226 > 0.1 MISSING_MID Missing Message-Id: header
230 exim -odi -oMt fromuser -bs -DOPT='<; 127.0.0.1 7833 ; HOSTIPV4 7834 pri=2 tmo=2s'
232 mail from:<fromuser@myhost.test.ex>
233 rcpt to:<userx@test.ex>
235 Content-type: text/plain