"unknown string noticesizeinfected"

Desai, Jason jase at sensis.com
Tue Jun 26 14:07:41 IST 2007


Doing some more digging - I think I found where this is being set:

in MessageBatch.pm around line 930:

$reasons .= MailScanner::Config::LanguageValue($message, "notice" .

And $thisreason can get set to "sizeinfected" around line 926:

$reasons{sizeinfected}      = 1 if $message->{sizeinfected};

I think this happens when the postmaster gets notified of an email with
an attachment which is too small or too large.  Does this help?  If not,
no big deal - I can just ignore the warning or manually put something

NoticeSizeInfected = Attachment too small or too large detected

in my languages.conf file.  Thanks!


> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info 
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf 
> Of Desai, Jason
> Sent: Monday, June 25, 2007 6:04 PM
> To: MailScanner discussion
> Subject: RE: "unknown string noticesizeinfected"
> Strangely enough, I don't see the string "noticesizeinfected" anywhere
> in the MailScanner code either.  I do have a slightly 
> different version
> of languages.conf - not sure if it matters or not, but here's the diff
> from the distributed version:


More information about the MailScanner mailing list