attachment rule with multiple attachment

shprahi shprahi shprahi at
Fri Sep 11 19:52:39 IST 2009

Hi All,

I have Postix+MailScanner+spma ssassin+clamAv on Centos 5.3 and also i have
rule set file for attachment limitation with respect to users.

now i am facing some strange problem which i would like to share

Ex : user abc has From 2 MB and To as 3 MB attachment set.

1. If user send one file as greater than 2 MB recipient is getting warning
message saying attachment restriction
2. If same user is attaching multiple files of 1.5 MB (3 files) are reaching
to recipient.

How to restrict multiple attachment, since user may attach one or more file.
If it is one file then Mailscanner is checking against the rule set file but
same if multiple files attached then mailscanner not checking against the
rule set file or may be considering individual file as within the limit and
sending even though cumulative size of attachment is exceeding the allowed

Please share if any one has come across the same..

Thanks a lot in advance......

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list