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!!)
Then regenerate your sendmail.cf and restart sendmail (if you're on VPS2).
Unless you tell sendmail otherwise, the maximum incoming message size is
unlimited.
If you don't know how to generate a cf file from a macro configuration
file, ask and I (or someone else) can tell you how. (Make sure to mention
whether you're on VPS1 or VPS2.)
Ben
--
Bennett Lanford
ben@xxxxxxxxxxxxx
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).