OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix Archives: Strange behaviour

Strange behaviour


Aleksey I Zavilohin (villainvillain.home.ems.chel.su)
Mon, 8 Nov 1999 14:45:32 +0500


I setup new linux kernel on my home computer (2.3.24 as you see in header 8-))
And postfix began complain in syslog

Nov 8 14:13:34 villain postfix/master[253]: \
 warning: file size limit 4294967295 < message_size_limit 10240000 -- reset

Who is wrong?

I don`t have source code for postfix at home 8-), but i think you use getrlimit
for check maximum file size
and this comment i find in linux/include/linux/resorce.h

/*
* SuS says limits have to be unsigned.
*
* Which makes a ton more sense anyway.
*/

#define RLIM_INFINITY (~0UL)

struct rlimit {
        unsigned long rlim_cur;
        unsigned long rlim_max;
};

fileds define as unsigned long (in glibc source - this fields define as long, and
in may man page define as int 8-())

-- 
QOTD:
	"You're so dumb you don't even have wisdom teeth."



This archive was generated by hypermail 2.0b3 on Mon Nov 08 1999 - 11:51:02 CST