Advertisement
Guest User

Exim dummy delivery

a guest
Aug 4th, 2014
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [root@corp-2 exim]# exim -bh 172.17.0.136
  2.  
  3. **** SMTP testing session as if from host 172.17.0.136
  4. **** but without any ident (RFC 1413) callback.
  5. **** This is not for real!
  6.  
  7. >>> host in hosts_connection_nolog? no (option unset)
  8. >>> host in host_lookup? yes (matched "*")
  9. >>> looking up host name for 172.17.0.136
  10. >>> IP address lookup using gethostbyaddr()
  11. >>> IP address lookup failed: h_errno=1
  12. LOG: no host name found for IP address 172.17.0.136
  13. >>> host in host_reject_connection? no (option unset)
  14. >>> host in sender_unqualified_hosts? no (option unset)
  15. >>> host in recipient_unqualified_hosts? no (option unset)
  16. >>> host in helo_verify_hosts? no (option unset)
  17. >>> host in helo_try_verify_hosts? no (option unset)
  18. >>> host in helo_accept_junk_hosts? no (option unset)
  19. 220 corp-2.mycompany.co.uk ESMTP Exim 4.63 Fri, 01 Aug 2014 16:51:27 +0100
  20. EHLO SenderPC
  21. >>> SenderPC in helo_lookup_domains? no (end of list)
  22. >>> host in pipelining_advertise_hosts? yes (matched "*")
  23. >>> host in auth_advertise_hosts? yes (matched "*")
  24. >>> host in tls_advertise_hosts? yes (matched "*")
  25. 250-corp-2.mycompany.co.uk Hello SenderPC [172.17.0.136]
  26. 250-SIZE 52428800
  27. 250-PIPELINING
  28. 250-AUTH LOGIN
  29. 250-STARTTLS
  30. 250 HELP
  31. AUTH LOGIN
  32. 334 HJNUBUYmbmuM
  33. NGxYN8NG87gM7gygmca9fn2BFmF67fmr7Fd67fMzf8F82fg=
  34. 334 GyuYbIUBIuBi
  35. JNIiuBYUBUY=
  36. >>> auth_login authenticator:
  37. >>> $auth1 = the.sender@mycompany.co.uk
  38. >>> $auth2 = password
  39. >>> $1 = the.sender@mycompany.co.uk
  40. >>> $2 = password
  41. >>> expanded string: 1
  42. 235 Authentication succeeded
  43. MAIL FROM: <the.sender@mycompany.co.uk>
  44. 250 OK
  45. RCPT TO: <recipient@recipient.fsnet.co.uk>
  46. >>> using ACL "acl_check_rcpt"
  47. >>> processing "accept"
  48. >>> check hosts = :
  49. >>> host in ":"? no (end of list)
  50. >>> accept: condition test failed
  51. >>> processing "defer"
  52. >>> check !authenticated = *
  53. >>> auth_login in "*"? yes (matched "*")
  54. >>> defer: condition test failed
  55. >>> processing "warn"
  56. >>> check condition = ${if match{$sender_helo_name}{\Nlocalhost\.localdomain\N}}
  57. >>> =
  58. >>> warn: condition test failed
  59. >>> processing "warn"
  60. >>> check condition = ${if isip{$sender_helo_name}}
  61. >>> =
  62. >>> warn: condition test failed
  63. >>> processing "warn"
  64. >>> check condition = ${if match{$sender_helo_name}{\N^\[\N}{no}{yes}}
  65. >>> = yes
  66. >>> check condition = ${if match{$sender_helo_name}{\N\.\N}{no}{yes}}
  67. >>> = yes
  68. >>> warn: condition test succeeded
  69. LOG: H=(SenderPC) [172.17.0.136] Warning: HELO (SenderPC) is no FQDN (contains no dot) (See RFC2821 4.1.1.1)
  70. >>> processing "warn"
  71. >>> check condition = ${if match{$sender_helo_name}{\N\.$\N}}
  72. >>> =
  73. >>> warn: condition test failed
  74. >>> processing "warn"
  75. >>> check condition = ${if match{$sender_helo_name}{\N\.\.\N}}
  76. >>> =
  77. >>> warn: condition test failed
  78. >>> processing "warn"
  79. >>> check condition = ${if match{$sender_helo_name}{$primary_hostname}{yes}{no}}
  80. >>> = no
  81. >>> warn: condition test failed
  82. >>> processing "warn"
  83. >>> check condition = ${if or{{eq{[$interface_address]}{$sender_helo_name}}{eq{$interface_address}{$sender_helo_name}}}}
  84. >>> =
  85. >>> warn: condition test failed
  86. >>> processing "warn"
  87. >>> check condition = ${if !def:sender_helo_name}
  88. >>> =
  89. >>> warn: condition test failed
  90. >>> processing "deny"
  91. >>> check domains = +local_domains
  92. >>> recipient.fsnet.co.uk in ""? no (end of list)
  93. >>> recipient.fsnet.co.uk in "+local_domains"? no (end of list)
  94. >>> deny: condition test failed
  95. >>> processing "deny"
  96. >>> check domains = !+local_domains
  97. >>> recipient.fsnet.co.uk in ""? no (end of list)
  98. >>> recipient.fsnet.co.uk in "!+local_domains"? yes (end of list)
  99. >>> check local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
  100. >>> recipient in "^[./|] : ^.*[@%!] : ^.*/\.\./"? no (end of list)
  101. >>> deny: condition test failed
  102. >>> processing "accept"
  103. >>> check local_parts = postmaster
  104. >>> recipient in "postmaster"? no (end of list)
  105. >>> accept: condition test failed
  106. >>> processing "require"
  107. >>> check verify = sender
  108. >>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  109. >>> routing the.sender@mycompany.co.uk
  110. >>> mycompany.co.uk in "mycompany.co.uk"? yes (matched "mycompany.co.uk")
  111. >>> mycompany.co.uk in "! +local_domains"? no (matched "! +local_domains")
  112. >>> mycompany.co.uk in "mycompany.co.uk"? yes (matched "mycompany.co.uk")
  113. >>> mycompany.co.uk in "+local_domains"? yes (matched "+local_domains")
  114. >>> the.sender in "alle"? no (end of list)
  115. >>> mycompany.co.uk in "mycompany.co.uk"? yes (matched "mycompany.co.uk")
  116. >>> mycompany.co.uk in "+local_domains"? yes (matched "+local_domains")
  117. >>> calling mysql_alias router
  118. >>> mysql_alias router declined for the.sender@mycompany.co.uk
  119. >>> mycompany.co.uk in "mycompany.co.uk"? yes (matched "mycompany.co.uk")
  120. >>> mycompany.co.uk in "+local_domains"? yes (matched "+local_domains")
  121. >>> calling mysql_user router
  122. >>> routed by mysql_user router
  123. >>> ----------- end verify ------------
  124. >>> require: condition test succeeded
  125. >>> processing "warn"
  126. >>> check !verify = sender/callout=10s,random
  127. >>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  128. >>> routing the.sender@mycompany.co.uk
  129. >>> mycompany.co.uk in "mycompany.co.uk"? yes (matched "mycompany.co.uk")
  130. >>> mycompany.co.uk in "! +local_domains"? no (matched "! +local_domains")
  131. >>> mycompany.co.uk in "mycompany.co.uk"? yes (matched "mycompany.co.uk")
  132. >>> mycompany.co.uk in "+local_domains"? yes (matched "+local_domains")
  133. >>> the.sender in "alle"? no (end of list)
  134. >>> mycompany.co.uk in "mycompany.co.uk"? yes (matched "mycompany.co.uk")
  135. >>> mycompany.co.uk in "+local_domains"? yes (matched "+local_domains")
  136. >>> calling mysql_alias router
  137. >>> mysql_alias router declined for the.sender@mycompany.co.uk
  138. >>> mycompany.co.uk in "mycompany.co.uk"? yes (matched "mycompany.co.uk")
  139. >>> mycompany.co.uk in "+local_domains"? yes (matched "+local_domains")
  140. >>> calling mysql_user router
  141. >>> routed by mysql_user router
  142. >>> Cannot do callout: neither router nor transport provided a host list
  143. >>> ----------- end verify ------------
  144. >>> warn: condition test failed
  145. >>> processing "warn"
  146. >>> check verify = sender/callout=10s,random
  147. >>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  148. >>> routing the.sender@mycompany.co.uk
  149. >>> mycompany.co.uk in "mycompany.co.uk"? yes (matched "mycompany.co.uk")
  150. >>> mycompany.co.uk in "! +local_domains"? no (matched "! +local_domains")
  151. >>> mycompany.co.uk in "mycompany.co.uk"? yes (matched "mycompany.co.uk")
  152. >>> mycompany.co.uk in "+local_domains"? yes (matched "+local_domains")
  153. >>> the.sender in "alle"? no (end of list)
  154. >>> mycompany.co.uk in "mycompany.co.uk"? yes (matched "mycompany.co.uk")
  155. >>> mycompany.co.uk in "+local_domains"? yes (matched "+local_domains")
  156. >>> calling mysql_alias router
  157. >>> mysql_alias router declined for the.sender@mycompany.co.uk
  158. >>> mycompany.co.uk in "mycompany.co.uk"? yes (matched "mycompany.co.uk")
  159. >>> mycompany.co.uk in "+local_domains"? yes (matched "+local_domains")
  160. >>> calling mysql_user router
  161. >>> routed by mysql_user router
  162. >>> Cannot do callout: neither router nor transport provided a host list
  163. >>> ----------- end verify ------------
  164. >>> warn: condition test succeeded
  165. >>> processing "accept"
  166. >>> check hosts = +relay_from_hosts
  167. >>> host in "127.0.0.1 : 172.17.0.0/24"? yes (matched "172.17.0.0/24")
  168. >>> host in "+relay_from_hosts"? yes (matched "+relay_from_hosts")
  169. >>> check control = submission
  170. >>> accept: condition test succeeded
  171. 250 Accepted
  172. DATA
  173. 354 Enter message, ending with "." on a line by itself
  174. From: "The Sender" <the.sender@mycompany.co.uk>
  175. To: "'The Recipient'" <recipient@recipient.fsnet.co.uk>
  176. Subject: test 9
  177. Date: Fri, 1 Aug 2014 16:25:36 +0100
  178. Organization: My Company Ltd
  179. Message-ID: <75ABBB9A523646199656FC5B8CC2BF03@SenderPC>
  180. MIME-Version: 1.0
  181. Content-Type: multipart/alternative;
  182. .boundary="----=_NextPart_000_013E_01CFADA5.3C803D00"
  183. X-Mailer: Microsoft Office Outlook 11
  184. Thread-Index: Ac+tnNeOdJczQYfHTzi9S7nz30xt3g==
  185. X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
  186.  
  187. This is a multi-part message in MIME format.
  188.  
  189. ------=_NextPart_000_013E_01CFADA5.3C803D00
  190. Content-Type: text/plain;
  191. .charset="us-ascii"
  192. Content-Transfer-Encoding: 7bit
  193.  
  194.  
  195.  
  196.  
  197. ------=_NextPart_000_013E_01CFADA5.3C803D00
  198. Content-Type: text/html;
  199. .charset="us-ascii"
  200. Content-Transfer-Encoding: quoted-printable
  201.  
  202. <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
  203. xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
  204. xmlns=3D"http://www.w3.org/TR/REC-html40">
  205.  
  206. <head>
  207. <META HTTP-EQUIV=3D"Content->>> host in ignore_fromline_hosts? no (option unset)
  208. Type" CONTENT=3D"text/html; =
  209. charset=3Dus-ascii">
  210. <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
  211. <style>
  212. <!--
  213. /* Style Definitions */
  214. p.MsoNormal, li.MsoNormal, div.MsoNormal
  215. .{margin:0cm;
  216. .margin-bottom:.0001pt;
  217. .font-size:12.0pt;
  218. .font-family:"Times New Roman";}
  219. a:link, span.MsoHyperlink
  220. .{color:blue;
  221. .text-decoration:underline;}
  222. a:visited, span.MsoHyperlinkFollowed
  223. .{color:purple;
  224. .text-decoration:underline;}
  225. span.EmailStyle17
  226. .{mso-style-type:personal-compose;
  227. .font-family:Arial;
  228. .color:windowtext;}
  229. @page Section1
  230. .{size:612.0pt 792.0pt;
  231. .margin:72.0pt 90.0pt 72.0pt 90.0pt;}
  232. div.Section1
  233. .{page:Section1;}
  234. -->
  235. </style>
  236.  
  237. </head>
  238.  
  239. <body lang=3DEN-US link=3Dblue vlink=3Dpurple>
  240.  
  241. <div class=3DSection1>
  242.  
  243. <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
  244. style=3D'font-size:10.0pt;
  245. font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
  246.  
  247. </div>
  248.  
  249. </body>
  250.  
  251. </html>
  252.  
  253. ------=_NextPart_000_013E_01CFADA5.3C803D00--
  254.  
  255. .
  256. >>> Found content-type: MIME header, value is 'multipart/alternative'
  257. >>> using ACL "acl_check_mime"
  258. >>> processing "deny"
  259. >>> check condition = ${if match {${lc:$mime_filename}} {\N(\.exe|\.pif|\.bat|\.scr|\.lnk|\.com)$\N} {1}{0}}
  260. >>> = 0
  261. >>> deny: condition test failed
  262. >>> processing "accept"
  263. >>> accept: condition test succeeded
  264. >>> using ACL "acl_check_data"
  265. >>> processing "deny"
  266. >>> check demime = com:exe:vbs:bat:pif:reg:scr
  267. >>> deny: condition test failed
  268. >>> processing "deny"
  269. >>> check demime = *
  270. >>> check condition = ${if >{$demime_errorlevel}{2}{1}{0}}
  271. >>> = 0
  272. >>> deny: condition test failed
  273. >>> processing "defer"
  274. >>> check !authenticated = *
  275. >>> auth_login in "*"? yes (matched "*")
  276. >>> defer: condition test failed
  277. >>> processing "warn"
  278. >>> check !authenticated = *
  279. >>> auth_login in "*"? yes (matched "*")
  280. >>> warn: condition test failed
  281. >>> processing "warn"
  282. >>> warn: condition test succeeded
  283. >>> processing "warn"
  284. >>> warn: condition test succeeded
  285. >>> processing "warn"
  286. >>> warn: condition test succeeded
  287. LOG: 1XDF8E-0001RH-GT H=(SenderPC) [172.17.0.136] Warning: DEBUG load_avgx1000: 1540 spam_score: message_size: 1958
  288. >>> processing "accept"
  289. >>> accept: condition test succeeded
  290. >>> unspool_mbox(): unlinking '/var/spool/exim/scan/1XDF8E-0001RH-GT/1XDF8E-0001RH-GT-00000.com'
  291. >>> unspool_mbox(): unlinking '/var/spool/exim/scan/1XDF8E-0001RH-GT/1XDF8E-0001RH-GT.eml'
  292. LOG: 1XDF8E-0001RH-GT <= "the.sender@mycompany.co.uk"@corp-2.mycompany.co.uk H=(SenderPC) [172.17.0.136] P=esmtpa A=auth_login:the.sender@mycompany.co.uk S=2617 id=75ABBB9A523646199656FC5B8CC2BF03@SenderPC
  293. 250 OK id=1XDF8E-0001RH-GT
  294.  
  295. **** SMTP testing: that is not a real message id!
  296.  
  297. QUIT
  298. 221 corp-2.mycompany.co.uk closing connection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement