[Mimedefang] FreeBSD patch for 2.15

Stephane Lentz Stephane.Lentz at ansf.alcatel.fr
Mon Jun 17 18:24:30 EDT 2002


Hi Adadm, 

On Mon, Jun 17, 2002 at 02:18:45PM -0400, Adam Beatham wrote:
> At 09:15 PM 6/14/2002 -0400, you wrote:
> 
> Ran the patch on my machine, which is OpenBSD.  Compiled and ran fine.. but 
> I'm getting these now...
> 
> Jun 17 14:13:03 goblin mimedefang-multiplexor: setrlimit(RLIMIT_RSS, 
> 4294966272) failed: Operation not permitted
> Jun 17 14:13:03 goblin mimedefang-multiplexor: setrlimit(RLIMIT_DATA, 
> 4294966272) failed: Operation not permitted
> 
> 

Hi Adadm, 

I don't use OpenBSD but ssoon use Mimedefang on FreeBSD 4.6
(and so will maybe encounter such problem).
I did some search and found some information that may be useful :

Taken from 
http://www.openbsd.org/cgi-bin/man.cgi?query=setrlimit&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html


[EPERM]       The limit specified to setrlimit() would have raised
the maximum limit value, and the caller is not the superuser

Only the superuser may raise the maximum limits.  Other users may only
alter rlim_cur within the range from 0 to rlim_max or (irreversibly)
low-er rlim_max.

Hope it can help a bit, ....

SL/



More information about the MIMEDefang mailing list