I've run into a problem with grsec and RLIMIT_FSIZE. When a user on my system tries to mail a large mail (around 10MB) with postfix, grsec outputs the following:
- Code: Select all
Mar 10 10:15:36 ssh1.c1.internal kernel: grsec: (user:U:/usr/sbin/postdrop) denied resource overstep by requesting 10240000 for RLIMIT_FSIZE against limit 10240000 for /usr/sbin/postdrop[postdrop:3201] uid/euid:17818/17818 gid/egid:1001/103, parent /usr/sbin/sendmail[sendmail:3200] uid/euid:17818/17818 gid/egid:1001/1001
Trying to solve the problem I added
- Code: Select all
RES_FSIZE unlimited unlimited
to the user policy.
Unfortunatly the error still occurs. What am I doing wrong?
Thanks in advance.
Vincent