[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: [vps-mail] Limit files size on procmail and clamav



On Mon, November 22, 2004 6:15 pm, Abigail Marshall said:
>> On Fri, Nov 19, 2004 at 08:17:30PM -0700, Jonathan Duncan wrote:
>>> - how to limit e-mail file sizes coming in?
>
>> If you want sendmail to limit the size of incoming messages, you can add
>> something like this to your sendmail mc file:
>
>> define(`confMAX_MSG_SIZE', `2048000')dnl
>
>> substituting your favorite maximum message size (in bytes) for 2048000.
>> (Note the two different kinds of single quotes used above--they are
>> significant!!)
>
>
> Ben,
>
> If this is set, will there be a bounce message generated to
> the extent that file size limits have been exceeded?

I agree with the answers that have already been given. (Yes, the bounce
message that ends up at the user's box--if it preserves what sendmail
returned during the SMTP conversation--will indicate that the message was
too big. Some intermediate mail servers will lose the original message ...
[sigh].)

I notice that I don't configure max message size on my servers at the
moment. (I removed the limit several months ago, when I asked someone to
send me some large jpegs and they bounced the first time.)

It's a good weapon for your arsenal if you need it, though ...

Ben
======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: