Postfix and RT2

I’m getting the following error:

Feb 28 15:15:55 help postfix/local[3810]: E2FA570005:
to=rt@help.qa.tripwire.com, relay=local, delay=1, status=bounced (Command
died with status 2: “/local/rt2/bin/rt-mailgate --queue Network --action
correspond”. Command output: Can’t locate config.pm in @INC (@INC contains:
/local/rt2/etc /local/rt2/lib /usr/local/lib/perl5/5.6.1/i686-linux
/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at
/local/rt2/lib/RT/Interface/Email.pm line 96. BEGIN failed–compilation
aborted at /local/rt2/lib/RT/Interface/Email.pm line 96. Compilation failed
in require at /local/rt2/bin/rt-mailgate line 30. BEGIN failed–compilation
aborted at /local/rt2/bin/rt-mailgate line 30. )

What I’m reading here is “Can’t locate config.pm in @INC (@INC contains:
/local/rt2/etc…”

Well, I have news… config.pm is in /local/rt2/etc.

I checked Email.pm, and found I was missing (or had an old version of)
Mail::Address. But it still gives the same error…

Any ideas?

Russ Johnson
Stargate Online

http://www.dimstar.net
telnet://telnet.dimstar.net
ICQ: 3739685

I feel like I’m diagonally parked in a parallel universe.

I’m getting the exact same error too…

bp

Quoting Russ Johnson russj@dimstar.net:

What do you have in your aliases file ?

Also have a check what the first 16 lines of rt-mailgate say

Something like :
use lib “/some/dir/where/rt/resides/lib”;

use lib “/some/dir/where/rt/resides/etc”;From: Bruce Pea [mailto:pea@andrewpea.com]
Sent: vrijdag 1 maart 2002 0:28
To: Russ Johnson
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] Postfix and RT2

I’m getting the exact same error too…

bp

Quoting Russ Johnson russj@dimstar.net:

I’m getting the following error:

Feb 28 15:15:55 help postfix/local[3810]: E2FA570005:
to=rt@help.qa.tripwire.com, relay=local, delay=1,
status=bounced (Command
died with status 2: “/local/rt2/bin/rt-mailgate --queue Network
–action
correspond”. Command output: Can’t locate config.pm in @INC (@INC
contains:

What do you have in your aliases file ?

It seems to me, you don’t have perl-suid installed…

Also have a check what the first 16 lines of rt-mailgate say

Something like :

use lib “/some/dir/where/rt/resides/lib”;

use lib “/some/dir/where/rt/resides/etc”;

-----Original Message-----
From: Bruce Pea [mailto:pea@andrewpea.com]
Sent: vrijdag 1 maart 2002 0:28
To: Russ Johnson
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] Postfix and RT2

I’m getting the exact same error too…

bp

Quoting Russ Johnson russj@dimstar.net:

I’m getting the following error:

Feb 28 15:15:55 help postfix/local[3810]: E2FA570005:
to=rt@help.qa.tripwire.com, relay=local, delay=1,
status=bounced (Command
died with status 2: “/local/rt2/bin/rt-mailgate --queue Network
–action
correspond”. Command output: Can’t locate config.pm in @INC (@INC
contains:


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Jan Okrouhly
-----------------------------------------±----okrouhly@civ.zcu.cz—
Laboratory for Computer Science | phone: (420 19) 7491588
University of West Bohemia | location: Univerzitni 22
Americka 42, 306 14 Pilsen, Czech Republic | room: UI404
------------------------------------------73!-de-OK1INC@OK0PPL.#BOH.CZE.EU-

I’m getting the following error:

Feb 28 15:15:55 help postfix/local[3810]: E2FA570005:
to=rt@help.qa.tripwire.com, relay=local, delay=1, status=bounced (Command
died with status 2: “/local/rt2/bin/rt-mailgate --queue Network --action
correspond”. Command output: Can’t locate config.pm in @INC (@INC contains:
/local/rt2/etc /local/rt2/lib /usr/local/lib/perl5/5.6.1/i686-linux

What I’m reading here is “Can’t locate config.pm in @INC (@INC contains:
/local/rt2/etc…”

Well, I have news… config.pm is in /local/rt2/etc.

The user that you are executing rt-mailgate does not have permission to
access /local/rt2/etc/config.pm . Please check the ownership and
permissions on this file, and the same on each directory back down to / to
ensure that you are not getting blocked elsewhere.

Please note that if you are depending on setuid perl in order for RT to
work, that it does actually work.

Regards,

                         Bruce Campbell                            RIPE
               Systems/Network Engineer                             NCC
             www.ripe.net - PGP562C8B1B                      Operations

I just searched CPAN for ‘perl-suid’ and didn’t find anything. Could you point me to the module or directions on how I install ‘perl-suid’?

Thanks -
Bruce

Quoting Jan Okrouhly okrouhly@civ.zcu.cz:> On Fri, 1 Mar 2002, Maurits Bloos wrote:

It seems to me, you don’t have perl-suid installed…

|+ I just searched CPAN for ‘perl-suid’ and didn’t find anything. Could you point me to the module or directions on how I install ‘perl-suid’?

SUID Perl is not a CPAN Module. Check the RT FAQ for instrustions.