[Mimedefang] RE:Email attachment size

Pramod Anugu pramod.r.anugu at jsums.edu
Fri Sep 9 17:40:11 EDT 2005


The below does limit for every users. But I need to limit for certain users
5 MB, For some users 20 MB and for some 50MB.
thanks

-----Original Message-----
From: mimedefang-bounces at lists.roaringpenguin.com
[mailto:mimedefang-bounces at lists.roaringpenguin.com] On Behalf Of
Matthew.van.Eerde at hbinc.com
Sent: Friday, September 09, 2005 4:37 PM
To: mimedefang at lists.roaringpenguin.com
Subject: RE: [Mimedefang] RE:Email attachment size

Pramod Anugu wrote:
> does anyone know if its possible (and how to accomplish) enforcing a
>  size limitation on email . if I want to limit email to 5Mb or under,
> and then reject it. I wan to reject it as soon as
> 5.1Mb is received. is this possible?.Can i also limit based on the
> groups. For certain group the limit is 5 MB and other group it is 20
> MB and for the other group it 50 MB.
> thanks

sendmail.mc:

dnl Reject messages bigger than 50 MB
dnl size is specified in bytes
dnl 50 MB * 1024 KB/MB * 1024 B/KB = 52428800 B
define(`confMAX_MESSAGE_SIZE', `52428800')dnl


_______________________________________________
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang




More information about the MIMEDefang mailing list