Beta release: 4.60.5 - compress attachments

Andrew MacLachlan amaclach at yahoo.co.uk
Mon May 28 00:43:21 IST 2007


Works just like it says on the tin.
Only observation is that the zip program doesn't like apostrophes in file names:

"Employer's Liability Certificate.pdf"  becomes "Employer%27s Lia.pdf"
The file content remains intact, so not really an issue.

-Andy

----- Original Message ----
From: Andrew MacLachlan <amaclach at yahoo.co.uk>
To: MailScanner discussion <mailscanner at lists.mailscanner.info>
Sent: Sunday, 27 May, 2007 11:48:59 PM
Subject: Re: Beta release: 4.60.5 - compress attachments

OK - I've installed it now and the new MailScanner.conf file has answered my question - yes it can.

----- Original Message ----
From: Andrew MacLachlan <amaclach at yahoo.co.uk>
To: MailScanner discussion <mailscanner at lists.mailscanner.info>
Sent: Sunday, 27 May, 2007 11:11:49 PM
Subject: Re: Beta release: 4.60.5 - compress attachments

Hi Julian,
Sad as I am, I'm downloading it now. Just one question though:
-Can this use a ruleset (e.g. only zip outbound messages)?

-Andy

----- Original Message ----
From: Julian Field <MailScanner at ecs.soton.ac.uk>
To: MailScanner discussion <mailscanner at lists.mailscanner.info>; MailScanner beta testers <mailscanner-beta at lists.mailscanner.info>
Sent: Sunday, 27 May, 2007 9:51:57 PM
Subject: Beta release: 4.60.5 - compress attachments

I have just written the feature you wanted to compress attachments into 
a zip file.

The new MailScanner.conf configuration settings for this are:

# Should the attachments be compressed and put into a single zip file?
# This can also be the filename of a ruleset.
Zip Attachments = no

# If the attachments are to be compressed into a single zip file,
# this is the filename of the zip file.
# This can also be the filename of a ruleset.
Attachments Zip Filename = MessageAttachments.zip

You will obviously want to set the first one to "yes" to use it :-)

Please test this for me!
It is switched off by default, so you will need to set it to "yes" in 
your MailScanner.conf file to use it.

Download it as usual from www.mailscanner.info.

The full Change Log for this version is...

* New Features and Improvements *
1 Improved Sophos.install script so that it sets up /etc/ld.so.conf 
ready for
  installation of Perl-SAVI module required for "sophossavi" virus scanner.
1 Custom Functions can now receive parameters not only to their Init and End
  functions, but also to their run-time calculation functions (i.e. the real
  custom function itself used when processing each message). The Custom
  Function is now passed not only the message, but also a ref to a list of
  parameters specified in the MailScanner.conf file.
1 Improvement to phishing net.
1 'clamavmodule' scanner no longer detects encrypted zips/rars as viruses,
  leaving MailScanner to do the check later in the dangerous content 
scanning.
  The consequence is that MailWatch will allow them to be released from
  quarantine.
2 Updated a whole load of Perl modules in the pre-requisites lists for both
  MailScanner and SpamAssassin.
2 Added a "--nomodules" command-line option to the MailScanner install.sh
  script to skip installing required Perl modules.
2-2 Fixed bugs introduced by 4.60.2 in generic installer. Only affects 
'other
  Linux and non-Linux' installer.
2-4 Fixed more non-Linux installer problems.
4 Added more modules to the list output by "MailScanner --version".
4 Improved phishing net detection of HTML tags, courtesy of 
snifer_ at hotmail.com.
4 Added patches to provide full "p record" support in Postfix 2.3 and 2.4,
  courtesy of Glenn Steen <glenn.steen at gmail.com>.
5 Added a new feature, to compress all the attachments in a message and
  replace them with a single zip file.
  Set "Zip Attachments = yes" (no by default), and
  set "Attachments Zip Filename = MessageAttachments.zip"

* Fixes *
1 Phishing net now correctly handles HTML tags inside links.
1 Deprecated clamscan flag replaced with supported one to stop it printing
  the summary.
1 Added '-b' to nod32-1.99 command-line options in SweepViruses.pm to stop
  scanner producing licensing details. Thanks to UxBoD.
1 Removed test in RPM distribution's test for RedHat 6 as it will clash with
  RHEL 6 and Fedora. Anyone still running RedHat 6 has bigger problems! :-)
1 Worked round Perl bug in returning number of RBLs hit by a message.
1 Fixed problem causing some password-protected RAR archives to be missed.
3 Fixed bug introduced in earlier beta in RBL code.

Jules

-- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk

-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 



-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 



-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 





More information about the MailScanner mailing list