[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I restrict message size?

On Thu, 29 Feb 1996, Bruce Sterling Woodcock wrote:

> Apologies for the newbie question, but I didn't see anything obvious in
> Zmailer that allows me to restrict the maximum size of a message it is
> processing, and reject it if it's too big.  Is this possible?
> Recently, we got spammed with several large messages and our scheduler
> got huge... I don't know if that was the cause or not, but in any case
> I want to restrict the maximum size of the message that we receive.

See the smtpserver regarding the -M option.  For example, we invoke our
smtpserver with the options "-asve -M 5000000 -l /var/logs/mail/smtpserver",
to limit mail to 5MB.

David Riley         - University of Waterloo
driley@direct.ca    - Internet Direct (Vancouver, B.C.)