Re: [Vserver] Odd exim issue?

2005-07-01 Thread Herbert Poetzl
On Fri, Jul 01, 2005 at 02:43:33PM +0100, Gaz Wilson wrote:
> 
> 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...

what about 2.0-rc4 without grsec?

> 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

depending on the setup, changing rlimits is not permitted

> 2005-07-01 14:40:16 unable to set gid=65533 or uid=0 (euid=0): forcing real =
> effective

no idea, probably grsec related

> 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

best,
Herbert

> Gary
> 
> -- 
>/   Gary Wilson, aka dragon/dragonlord/dragonv480\
>  .'(_.--.  e: [EMAIL PROTECTED] MSN: dragonv480   .--._)`.
> <   _   |  Skype:dragonv480 ICQ:342070475 AIM:dragonv480   |   _   >
>  `.( `--' w: http://volvo480.northernscum.org.uk   `--' ).'
>\w: http://www.northernscum.org.uk   /
> ___
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Odd exim issue?

2005-07-01 Thread Gaz Wilson

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: [EMAIL PROTECTED] MSN: dragonv480   .--._)`.
<   _   |  Skype:dragonv480 ICQ:342070475 AIM:dragonv480   |   _   >
 `.( `--' w: http://volvo480.northernscum.org.uk   `--' ).'
   \w: http://www.northernscum.org.uk   /
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver