Restricting message size per recipient

mbneto mbneto at gmail.com
Wed Aug 27 15:13:17 IST 2008


Thanks.

I'll try that.

On Sat, Aug 23, 2008 at 3:34 PM, Hugo van der Kooij <
hvdkooij at vanderkooij.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> mbneto wrote:
>
> > I'd like to limit the size of the message sent/received by users based
> > on the email address of that user.   I can do this at MTA level but for
> > all users.
> >
> > Can I do this from MailScanner?  I'd like to set the maximum in my MTA
> > and lower that limit for the rest of users.
>
> Just create a ruleset to define limits you want to impose.
>
> Call it from MailScaner like this:
> Maximum Message Size = %rules-dir%/max.message.size.rules
>
> Then define the limits per user as you see fit:
> #To:       *@domain1.com     10M
> #To:       *@domain2.com     20M
> #From:     user at domain3.com   5M
> #From:     *@domain3.com     500K
>
>
> Hugo.
>
>
> - --
> hvdkooij at vanderkooij.org               http://hugo.vanderkooij.org/
> PGP/GPG <http://hugo.vanderkooij.org/PGP/GPG>? Use:
> http://hugo.vanderkooij.org/0x58F19981.asc
>
>        A: Yes.
>        >Q: Are you sure?
>        >>A: Because it reverses the logical flow of conversation.
>        >>>Q: Why is top posting frowned upon?
>
> Bored? Click on http://spamornot.org/ and rate those images.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
>
> iD8DBQFIsGYsBvzDRVjxmYERAii5AJ43UX+uljk8am2Ur6NBcFMCpI+wJwCguUFU
> DRAFjRmKGNQHXmibFDFJZgA=
> =PARA
> -----END PGP SIGNATURE-----
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080827/4dc237a7/attachment.html


More information about the MailScanner mailing list