[Mimedefang] SMALLBUF ?

David F. Skoll dfs at roaringpenguin.com
Tue Feb 3 10:19:40 EST 2004


On Mon, 2 Feb 2004, Cahya Wirawan wrote:

> I read in the Changelog that SMALLBUF in mimedefang.h is changed
> from 4096 to 16384, but SMALLBUF is only 8192 in mimedefang.h .

Increasing it to 16384 makes mimedefang crash on FreeBSD 4.7.  I have no
idea why; I suspect it has to do with stack-size limitations.

> and another little question, I see in the init-script that mimedefang
> save its pid and socket in /var/spool/MIMEDefang, I just wonder
> if it is not better to put it in /var/run/MIMEDefang like many other
> daemon processes that put it's pid file in /var/run directory?

Whichever directory is used, it must be writable by "defang", because
mimedefang and mimedefang-multiplexor call setuid() early on.

Regards,

David.



More information about the MIMEDefang mailing list