The maximum size of a message can be set using the MaxMessageSize option in
your sendmail.cf file located in /etc or /etc/mail.  I believe sendmail will
take in the entire message before rejecting it.  You can tweak the rejection
to happen before accepting the entire message by adding some code in the
check_compat area of the sendmail source to read the ESMTP header and look
for file sizes above the set limit.

  More information on the settings can be found at
http://www.sendmail.org/m4/tweakingoptions.html.

Hope this helps,
Ty

----- Original Message -----
From: "Steve Lee" <[EMAIL PROTECTED]>
To: "Steve Lee" <[EMAIL PROTECTED]>
Sent: Thursday, November 08, 2001 9:30 PM
Subject: Sendmail size limit


> does anyone know how to set the file
> size limit for sendmail, or better yet maybe
> pop mail before it gets to sendmail.
> Someone using my server tried to send a
> file 140megs in size, Yes 140megs.
>
> i would like to set the file size to maybe
> 10megs at most.
>
>
> Please respond.
>
> thanks.
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to