Size checking for mails when using CC field

Ashok Kumar writetoashok at gmail.com
Thu Sep 6 07:45:03 IST 2007


Hi list,

I could limit the size of messages sent based on user/domain using the
following directives.

Maximum Message Size = %rules-dir%/max.message.size.rules
Maximum Attachment Size = %rules-dir%/max.attachment.size.rules

But, the restriction doesn't seem to apply if mails are send using the CC
field.  since CC field doesn't appear in the headers, the rules like,
FromOrTo:   user at example.com 5M cannot be used.

Is there a solution for this, so that the restriction applies even when the
mail is send using the CC fields?


-- 
regards,
Ashok.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20070906/9dd2cab0/attachment.html


More information about the MailScanner mailing list