[Mimedefang] RE:Email attachment size

Matthew.van.Eerde at hbinc.com Matthew.van.Eerde at hbinc.com
Fri Sep 9 17:37:01 EDT 2005


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





More information about the MIMEDefang mailing list