Can't write to '/var/log/rt2/rt.log8'

RedHat 8.0
suidperl is installed:

ls -l which suidperl

-rws–x--x 2 root root 77025 Sep 2 00:14

When I email a ticket, sendmail correctly pipes:
"|/opt/rt2/bin/rt-mailgate --queue student --debug --action correspond"

but here is the error:
Effective User 8 (Real User 8) can’t write to ‘/var/log/rt2/rt.log8’:
Permission denied at /usr/lib/perl5/site_perl/5.8.0/Log/Dispatch/File.pm
line 72.
554 5.3.0 unknown mailer error 13

(I added the user info. User 8 is ‘mail’.)

Any help?
Thanks,
Phil R Lawrence

but here is the error:
Effective User 8 (Real User 8) can’t write to ‘/var/log/rt2/rt.log8’:
Permission denied at /usr/lib/perl5/site_perl/5.8.0/Log/Dispatch/File.pm
line 72.
554 5.3.0 unknown mailer error 13

What are the permissions on /var/log/rt2/rt.log8 and /var/log/rt2/ ?

Those being to limited for the user that runs rt would be the most
simple cause.

Lynoure Rajamäki
lynoure@otaverkko.fi

Lynoure Rajam�ki wrote:> On Tue, 2002-12-03 at 17:34, Phil R Lawrence wrote:

but here is the error:
Effective User 8 (Real User 8) can’t write to ‘/var/log/rt2/rt.log8’:
Permission denied at /usr/lib/perl5/site_perl/5.8.0/Log/Dispatch/File.pm
line 72.
554 5.3.0 unknown mailer error 13

What are the permissions on /var/log/rt2/rt.log8 and /var/log/rt2/ ?

Those being to limited for the user that runs rt would be the most
simple cause.

I’ve added group write to the dir
drwxrwxr-x 2 root rt 4096 Dec 3 09:52 rt2

and made mail user a member of rt group. That seems to work ok. Are
there any other users I need to make a member of rt? Currently:

grep rt /etc/group

rt:x:35:rt,apache,mail

Thanks,
Phil

and made mail user a member of rt group. That seems to work ok. Are
there any other users I need to make a member of rt? Currently:

grep rt /etc/group

rt:x:35:rt,apache,mail

Those should be enough.

Lynoure Rajamäki