From MailScanner at ecs.soton.ac.uk Thu May 1 09:42:20 2008 From: MailScanner at ecs.soton.ac.uk (Julian Field) Date: Thu May 1 10:07:35 2008 Subject: MailScanner ANNOUNCE: 4.69.8 released Message-ID: <4819826C.9080508@ecs.soton.ac.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Morning all! I have just released the latest stable release of MailScanner, 4.69. There's quite a lot this month, but the main new features this month are: - - Can now extract embedded files from within Microsoft Office documents and subject them to all the file tests like any other attachments. - - Added new keywords available in Spam Actions, the SpamAssassin Rule Actions and Archive Mail locations. You can now specify _DATE_, _FROMUSER_, _FROMDOMAIN_, _TOUSER_ and _TODOMAIN_ keywords in any of those and they will be replaced with the user and domain halves of the relevant addresses of the original message. - - Using the "store" Spam Action, you can now specify an arbitrary directory path after the '-', so "store-/var/spool/MailScanner/quarantine/spam/_TOUSER_._TODOMAIN_" will store the message in a location determined by the recipient addresses. Any of the _DATE_, _FROMUSER_, _FROMDOMAIN_, _TOUSER_ and _TODOMAIN_ keywords can be used. - - Added new command-line options "--id=" and "--inqueuedir=" to assist with debugging and testing. There are many other new features, and some important fixes, which are described below in the Change Log. Download as usual from www.mailscanner.info. The full Change Log is this: * New Features and Improvements * 1 Added command-line option "--id=" which will force it to scan just the message described by . Only works when used with "--debug". 1 Commented out definition of ORDB-RBL to force a syntax error in setups which are still mistakenly using it (and not getting any mail as a result!). 1 Added comand-line option "--inqueuedir=" which can take a) a directory name, or b) a directory name glob (or wildcard), or c) a text file listing any combination of (a) and (b) above. This specifies where to look for incoming messages. This is very useful when debugging, as test messages can be put in their own queue directory, and the main MailScanner running will not touch them, only a MailScanner run with this command-line option will see them. 1 Can now extract embedded files from within Microsoft Office documents and subject them to all the file tests like any other attachments. 1 To allow for executables embedded in zipped Office documents, default value for "Maximum Archive Depth" has been increased to 3. Remember that using upgrade_MailScanner_conf will *not* over-ride your current settings, so you will have to change this manually to use the new value. 3 Added new keywords available in Spam Actions, the SpamAssassin Rule Actions and Archive Mail locations. You can now specify _DATE_, _FROMUSER_, _FROMDOMAIN_, _TOUSER_ and _TODOMAIN_ keywords in any of those and they will be replaced with the user and domain halves of the relevant addresses of the original message. If, for example, you specify a "forward" address "spam.archive-_TOUSER_-at-_TODOMAIN_@mydomain.com", then a new recipient will be added to the message for *each* of the original recipients. So a message with 5 original recipients will have 5 new ones added to it. 3 Added new configuration setting "Missing Mail Archive Is =" which can take the values "file" or "directory". This allows you archive to mbox files whose name is based on the addresses of the original recipients. 4 Using the "store" Spam Action, you can now specify an arbitrary directory path after the '-', so "store-/var/spool/MailScanner/quarantine/spam/_TOUSER_._TODOMAIN_" will store the message in a location determined by the recipient addresses. Any of the _DATE_, _FROMUSER_, _FROMDOMAIN_, _TOUSER_ and _TODOMAIN_ keywords can be used. 4 Changed "Monitors for ClamAV Updates" for ClamAV version 0.93. 5 If the image signature tag includes alt="MailScanner Signature" then it notices the sig file is present and so doesn't add it again. The "alt" attribute is matched by the word "MailScanner" followed by anything followed by the word "Signature" in any combination of upper- and lower-case so you can adapt this text quite a lot. See note for "6" below. 6 Added new configuration setting "IP Protocol Version Header" which will tell you the IP version number used in the last hop to this server. It produces either "IPv4" or "IPv6" in the header. To stop the header appearing, just set it to be blank. Added at special request by my boss :-) 6 Added new configuration setting "Allow Multiple HTML Signatures". If the message has been signed with an HTML signature containing an tag, whose "alt" attribute contains "MailScanner" and "Signature" and "%org-name%", then it will not be signed again if this option is set to "no". Once a message (with an image in the signature) has been replied to a few times, it starts getting very large and ugly. This option keeps the message size down and makes it look better. This is set to "no" by default as messages look better this way. 7 Debian/Ubuntu have changed the default %org-name% value to "unconfigured- debian-site" so I have to check for that as well in the 'Have I Been Configured" code at startup :-( * Fixes * 1 "IPBlock" Custom Function will start up properly without MailScanner.conf location on the command-line. 2 Fixed problem with file MIME type checks were being incorrectly applied. 2 Added OLE::Storage_Lite to the list output by "MailScanner -v". 4 Forced "Debug SpamAssassin" to no unless "Debug" is set to yes. 7 Fixed problem with "--debug-sa" and MailScanner freezing using 100% CPU. 8 Fixed problem with modules not reporting properly with "MailScanner -v". 8 Fixed problem where "MailScanner --lint" would sometimes report false errors. That's all folks! Jules - -- Julian Field MEng CITP CEng www.MailScanner.info Buy the MailScanner book at www.MailScanner.info/store Need help customising MailScanner? Contact me! Need help fixing or optimising your systems? Contact me! Need help getting you started solving new requirements from your boss? Contact me! PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -----BEGIN PGP SIGNATURE----- Version: PGP Desktop 9.8.2 (Build 3005) Comment: Use Enigmail to decrypt or check this message is legitimate Charset: ISO-8859-1 wj8DBQFIGYJyEfZZRxQVtlQRAnZ+AKCpOBmqKfT5nr8x7QuVl48/1790jgCg+4rr PsLVXIxmarfdHIwUwbUJQZw= =+YLV -----END PGP SIGNATURE----- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.