Koozali.org: home of the SME Server

SMTP Outgoing File Size Limit

Paul McEnery

SMTP Outgoing File Size Limit
« 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

Rob Wellesley

Re: SMTP Outgoing File Size Limit
« Reply #1 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