Beta release: MailScanner 4.56.5 --- please test

Holger Gebhard holger at
Sat Sep 23 22:47:09 IST 2006

Hi Julian,

just read the full changes for MailScanner 4.56.5...
I found a little mistake in the Postfixregex posted in the past, sorry for 
that :-(

Must be:  =~ /^[ARO].+@(?:\w|-|\.)+\.\w{2,}/;

----- Original Message ----- 
From: "Julian Field" <MailScanner at>
To: "MailScanner discussion" <mailscanner at>; 
"MailScanner beta testers" <mailscanner-beta at>
Sent: Saturday, September 23, 2006 4:20 PM
Subject: Beta release: MailScanner 4.56.5 --- please test

Hash: SHA1

I have just released a new beta test version of MailScanner, 4.56.5.
Please test it for me if you possibly can.

The main additions over the past 2 months have been:

- - Fine control of reporting for messages breaking size limits
- - Upgraded to Kaspersky 5.5
- - Upgraded to Postfix 2.3
- - Sys::Syslog compatibility problems solved with 1.18
- - More detailed control over "Max SpamAssassin Size" and what happens
when the truncation point is reached half way through an attachment
- - Upgraded to tnef 1.4.3 to solve problems with UTF-encoded filenames.
- - Upgraded to Archive::Zip 1.16 to solve problems building on 64-bit

Please download as usual from

The full Change Log is:

* New Features and Improvements *
1 Added a complete new set of configuration settings to report on
  messages and attachments that are outside the size limits set in
  MailScanner.conf. These are:
  Sender Size Report
  Stored Size Message Report
  Deleted Size Message Report
  Size Modify Subject
  Size Subject Text
  These are used in exactly the same way as the other sets of options
  that tag and modify the message for other reasons.
3 Improved report of "message too large" case.
3 Updated Catalan language files courtesy of Jordi Sanfeliu.
3 Increased default max SpamAssassin message size to catch more single-image
  spam messages.
3 Solved compatibility with Postfix 2.3.
3 Upgraded Sys::Syslog to 0.18 which fixes all the compatibility problems of
  0.17 and 0.16.
3 Upgraded Kaspersky support to 5.5.
4 Added new features to "Max SpamAssassin Size" setting:
  <number> --- behave as before
  <number n> trackback --- get n bytes then backtrack looking for the start
                           of the attachment we are in the middle of.
  <number n> continue <number m> --- get n bytes then continue up to a
                                     of m extra bytes looking for the end of
                                     the attachment we are in the middle of.
5 Upgraded to tnef version 1.4.3.
5 Upgraded Archive::Zip to 1.16. Builds properly on x64 architectures.

* Fixes *
1 When 'Outgoing Queue Dir' was changed from the default, kicking sendmail
  into attempting delivery of a new processed message in the outgoing queue
  would just wait for the next regular run of the queue. Now fixed so that
  a delivery attempt is made immediately. This fix only affects users who
  have changed the "Outgoing Queue Dir" setting and who are also using
  sendmail as their MTA.
2 Missed 2 "defined" checks on variables before using them.
  Thanks to Andy Kirkpatrick for spotting that one.
2 Fixed version number check.
3 Fixed output bug in less strict phishing net. Does anyone use this?
3 Fixed bug in Sendmail KickMessage() function. Thanks to Martin Billy.
4 Removed Postfix 2.3 extra, and reverted to simple regexp as Holger's
  is buggy (mismatched ')').
5 Changed number of viruses found reported to be max of each AV
package's value.

- -- 
Julian Field
Buy the MailScanner book at

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

Version: PGP Desktop 9.5.0 (Build 1112)
Comment: Fetch my public key foot-print from
Charset: ISO-8859-1


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

MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list