From: Gaz Wilson (dragon_at_dragons.org.uk)
Date: Fri 01 Jul 2005 - 14:43:33 BST
Hi all!
Using VS 1.9.5 with GRSec on a Debian box and have come across an
interesting issue with Exim/Exim's sendmail wrapper...
If I "su -" from root to a user, I can send mail out with mailx,
php's mail() function etc etc all fine.
However, if I log into the vserver from outside as the user, when I
try to do the same operation, I get:
2005-07-01 14:40:16 setrlimit(RLIMIT_NOFILE) failed: Operation not permitted
2005-07-01 14:40:16 setrlimit(RLIMIT_NPROC) failed: Operation not permitted
2005-07-01 14:40:16 unable to set gid=65533 or uid=0 (euid=0): forcing real =
effective
Can't send mail: sendmail process failed with error code 1
Can anyone help me sort out what's going on here? I have GRSec set
to medium security level and have got setGID protection on, but I believe
that only affects files?
I really need Exim to work for all cases, not just for odd cases.
If anyone has seen this or similar before, please help me! :) Google
has not been my friend on the issue...
Many thanks
Gary
-- / Gary Wilson, aka dragon/dragonlord/dragonv480 \ .'(_.------. e: dragon_at_northernscum.org.uk MSN: dragonv480 .------._)`. < _ | Skype:dragonv480 ICQ:342070475 AIM:dragonv480 | _ > `.( `------' w: http://volvo480.northernscum.org.uk `------' ).' \ w: http://www.northernscum.org.uk / _______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver