freebsd-ports/mail/mimedefang
ml@netfence.it a8a45bdf49 mail/mimedefang: Allow setting MX_MAX_RSS and MX_MAX_AS in rc.conf
In order to avoid DOSes due to complex MIME, MIMEDefang sets some limits
on how much memory a process can use (MX_MAX_RSS and MX_MAX_AS).

The provided example init script sets these variables to very low values
(which probably made sense when RAM was much scarcer); the port already
patches that file, increasing them, but they are still way too low in
some cases, resulting in some mail messages crashing the filter and not
passing.

This patch, while retaining the current port defaults, allows these
thresholds to be set in rc.conf.

PR:		256711
Approved by:	maintainer
2021-12-11 00:25:57 +01:00
..
files mail/mimedefang: Allow setting MX_MAX_RSS and MX_MAX_AS in rc.conf 2021-12-11 00:25:57 +01:00
distinfo
Makefile mail/mimedefang: Allow setting MX_MAX_RSS and MX_MAX_AS in rc.conf 2021-12-11 00:25:57 +01:00
pkg-descr
pkg-plist