[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: write_error_or_disk_full
Jeff Dickens <jeff@xxxxxxxxxxxxxxxxxx> wrote:
>
> My inside server's /service/qmail-smtp/run file invoked tcpserver like
> this:
>
> envuidgid qmaild \
> softlimit -m 3000000 -f 10000000 \
> tcpserver -v -HR \
> ...
>
> So, it couldn't write more than 10MB to any file due to the limit.
>
> Now, the question is, what is the proper thing to do here ? I want to
> protect my servers from denial of service, but I also don't want
> messages to disappear or hang in the queue when the rules specify that
> the message can never be delivered.
>
> Just for the sake of argument, say that my policy is that I will accept
> no message larger than 10MB. What's the "friendly" way to reject the
> message?
See the control/databytes file, or corresponding env var.
Charles
--
--------------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at: http://pyropus.ca/software/
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
--------------------------------------------------------------------------