Feedback on MailScanner 4.56.1-1 beta

Julian Field MailScanner at
Wed Aug 23 08:41:43 IST 2006

Julian Field wrote:
> Jim Holland wrote:
>> You have very kindly included a new facility for providing separate 
>> reports for messages and attachments which have been blocked or 
>> quarantined due to user specified size restrictions.  I have done 
>> some testing on both oversize messages and attachments, and am 
>> pleased to report that it works exactly as intended for attachments, 
>> giving a report such as:
>>     MailScanner: Attachment is too large: 154303 bytes
>> However in the case of oversize messages, the report is just:
>>     MailScanner: Message is too large
>> with no indication of the size of the message that has been 
>> quarantined.  Would it be possible to include the size in that case 
>> as well?  That would be very helpful for people who don't want to 
>> unquarantine a message that is far too large for them to handle.
> I'll take a look and see. I can only think that there was some good 
> reason why I couldn't do it.
Edit /usr/lib/MailScanner/MailScanner/ and around line 
131 you need to change it to say

        MailScanner::Config::LanguageValue($message, 'toobig') . ": " 
.                                            $message->{size} . " bytes\n";

Julian Field
Buy the MailScanner book at

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

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

More information about the MailScanner mailing list