On Tue, Jul 24, 2001 at 05:04:25PM +0200, Frank Moeller wrote:
> Hi all.
>
> I'd like to do some mailsize limiting with qmail and I'm wondering
> if there's a simple way to do this:
>
> - external to local should be limited to i.e. 5Mb
> - local to local mail should be unlimited
>
> What I'm looking for is some kind of domain dependend maximum mail size
> limiting...
You can set the environment variable DATABYTES
in your tcp.smtp-file (that I assume you use and compile to tcp.smtp.cdb,
and use with tcpserver according to life with qmail).
Just like you set RELAYCLIENT="", you can set DATABYTES there to different
values.
Set DATABYTES TO 0 if you don't want any limit.
set it to something else to limit.
/magnus
--
"Unfortunately, those people who have nothing better to do than post on the
Internet all day long are rarely the ones who have the most insights."
- Jakob Nielsen, August 1997