Feedback on MailScanner 4.56.1-1 beta
Jim Holland
mailscanner at mango.zw
Wed Aug 23 22:41:49 IST 2006
On Wed, 23 Aug 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/SweepContent.pm and around line
> 131 you need to change it to say
>
> MailScanner::Config::LanguageValue($message, 'toobig') . ": "
> . $message->{size} . " bytes\n";
Thanks. That does the trick.
Regards
Jim Holland
System Administrator
MANGO - Zimbabwe's non-profit e-mail service
More information about the MailScanner
mailing list