RT and postfix rights problem

Hello,

I have installed RT with postfix and I have this problem:

Extract from mail.log:
/services/rt2/bin/rt-mailgate --queue itsec-request --action correspond".
Command output: Can’t locate config.pm in @INC (@INC
contains: /services/rt2/etc /services/rt2/lib /usr/local/lib/perl/5.6.1 /usr/l ocal/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr /share/perl/5.6.1 /usr/local/lib/site_perl .)
at /services/rt2/lib/RT/Interface/Email.pm line 107. BEGIN failed-- compilation aborted at /services/rt2/lib/RT/Interface/Email.pm line 107.
Compilation failed in require at /services/rt2/bin/rt-mailgate line 30. BEGIN
failed–compilation aborted at /services/rt2/bin/rt-mailgate line 30.>

It seems like not enought rights for user postfix under Postfix is running but config.pm is:
-rwxr-x— 1 root rt 14311 Jul 8 23:31 config.pm

And rt group contains user postfix.

Thank you for any help.

Vladimir Jirasek

Vladimír Jirásek (vladimir.jirasek@t-mobile.cz).vcf (533 Bytes)

Jir?sek Vladim?r wrote:

It seems like not enought rights for user postfix under Postfix is running but config.pm is:
-rwxr-x— 1 root rt 14311 Jul 8 23:31 config.pm

Is your rt-mailgate setgid rt as it should be? Does your suidperl
work?
Phil Homewood, Systems Janitor, www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances

Hello,

I have installed RT with postfix and I have this problem:

Extract from mail.log:
/services/rt2/bin/rt-mailgate --queue itsec-request --action correspond".
Command output: Can’t locate config.pm in @INC (@INC
contains: /services/rt2/etc /services/rt2/lib /usr/local/lib/perl/5.6.1 /usr/l ocal/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr /share/perl/5.6.1 /usr/local/lib/site_perl .)

which OS are you using?
do you have more than one version of perl in your system (base vs a port?)
If yes, you may need to change all system defaults to use 5.6.1 in /usr/local
before anything else.

I’m a regular FreeBSD user but for heavy perl dependent servers I
sometimes switch to Slackware.

–clark