Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Paul McEnery on April 04, 2002, 01:38:08 PM

Title: SMTP Outgoing File Size Limit
Post by: Paul McEnery on April 04, 2002, 01:38:08 PM
Hi All

Is there a way to limit the outgoing mail file size.

I have accomplished this with straight qmail in the past with tcpserver setting the DATABYTES variable for the local subnet, or a range of hosts based on IP address. I see e-smith uses smtpd and not qmail-smtpd.

P.S I am not trying this with webmail, only SMTP.

Thanks

Paul
Title: Re: SMTP Outgoing File Size Limit
Post by: Rob Wellesley on April 05, 2002, 01:36:17 AM
Paul McEnery wrote:

> Is there a way to limit the outgoing mail file size.
>
> e-smith uses smtpd and not qmail-smtpd.
>

E-smith uses obtuse smtp. Try this link and note the -s maxsize option.

http://www.obtuse.com/juniper-docs/man/smtpd.html

You could try adding this option to the startup command and restart server

HAven't tried it myself yet..

Rob