On Wed, 14 Oct 2015, Rejaine Monteiro wrote:
how can i write a rule to get xml attach files from an e-mail?
Headers:
Content-Type: multipart/mixed;
boundary=--boundary_6_9e03550b-93b5-4e32-88c8-2a1cd6037099
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: base64
Content-Type: application/octet-stream; name=filename.xml
Content-Transfer-Encoding: base64
Content-Type: application/octet-stream; name=filename.pdf
Content-Transfer-Encoding: base64
I tried,
header FILE_XML Content-type =~ /xml/i
header FILE_XML Content-type =~ /\.xml/i
rawbody FILE_XML /xml/
rawbody FILE_XML /\.xml/i
body FILE_XML /xml/i
none took effect....
https://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Plugin_MIMEHeader.html
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhar...@impsec.org FALaholic #11174 pgpk -a jhar...@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Drugs will always be around. Politicians are therefore making an
active decision to distribute them through violent gangs. --twitter
-----------------------------------------------------------------------