Rt 2.0.13/RedHat 7.1: Can't get ticket submission by mail to work

Hi,

I’ve just “upgraded” my rt 1.0.7 to rt 2.0.13.

However, I cannot manage to get the mail interface to work:
I’m using RedHat 7.1 with sendmail and /etc/smrsh/rt-mailgate

Mails are returned with:
----- The following addresses had permanent fatal errors -----

|“/u/rt/rt2i/bin/rt2i-mailgate --queue sanjose --action correspond”

(reason: 2)

(expanded from: help-sjc@engapp1.sanjose.siliconaccess.com)

----- Transcript of session follows -----

Can’t locate config.pm in @INC (@INC contains: /u/rt/rt2i/etc /u/rt/rt2i/lib
/usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/local/lib/perl5/5.00503
/usr/local/lib/perl5/site_perl/5.005 .) at
/u/rt/rt2i/lib/RT/Interface/Email.pm line 107.

BEGIN failed–compilation aborted at /u/rt/rt2i/lib/RT/Interface/Email.pm
line 107.

Compilation failed in require at /etc/smrsh/rt2i-mailgate line 30.

BEGIN failed–compilation aborted at /etc/smrsh/rt2i-mailgate line 30.

554 5.3.0 |“/u/rt/rt2i/bin/rt2i-mailgate --queue sanjose --action
correspond”… unknown mailer error 2

One way to solve this is to give read permissions to everybody

to /u/rt/rt2i/etc/config.pm

Then rt works, but then, I have a security hole :frowning:

What did I miss ?

Thanks,

Gilles-Eric DESCAMPS, SILICON ACCESS NETWORKS
< Enabling the Future Internet >
211 River Oaks Parkway - San Jose, CA, 95134
mailto:Gilles-Eric.Descamps@SiliconAccess.com
“Sed quis custodiet ipsos custodes ?”

Gilles-Eric Descamps wrote:

Can’t locate config.pm in @INC (@INC contains: /u/rt/rt2i/etc /u/rt/rt2i/lib

One way to solve this is to give read permissions to everybody
to /u/rt/rt2i/etc/config.pm

Check that:

  • rt-mailgate is setgid to your RT group
  • your config.pm has that group ownership and is group-readable
  • your suidperl is setuid to root

Hi,

I’ve just “upgraded” my rt 1.0.7 to rt 2.0.13.

However, I cannot manage to get the mail interface to work:
I’m using RedHat 7.1 with sendmail and /etc/smrsh/rt-mailgate

Mails are returned with:
----- The following addresses had permanent fatal errors -----

|“/u/rt/rt2i/bin/rt2i-mailgate --queue sanjose --action correspond”

(reason: 2)

(expanded from: help-sjc@engapp1.sanjose.siliconaccess.com)

----- Transcript of session follows -----

Can’t locate config.pm in @INC (@INC contains: /u/rt/rt2i/etc /u/rt/rt2i/lib
/usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/local/lib/perl5/5.00503
/usr/local/lib/perl5/site_perl/5.005 .) at
/u/rt/rt2i/lib/RT/Interface/Email.pm line 107.

BEGIN failed–compilation aborted at /u/rt/rt2i/lib/RT/Interface/Email.pm
line 107.

Compilation failed in require at /etc/smrsh/rt2i-mailgate line 30.

BEGIN failed–compilation aborted at /etc/smrsh/rt2i-mailgate line 30.

554 5.3.0 |“/u/rt/rt2i/bin/rt2i-mailgate --queue sanjose --action
correspond”… unknown mailer error 2

One way to solve this is to give read permissions to everybody

to /u/rt/rt2i/etc/config.pm

Then rt works, but then, I have a security hole :frowning:

What did I miss ?

Thanks,

Gilles-Eric DESCAMPS, SILICON ACCESS NETWORKS
< Enabling the Future Internet >
211 River Oaks Parkway - San Jose, CA, 95134
mailto:Gilles-Eric.Descamps@SiliconAccess.com
“Sed quis custodiet ipsos custodes ?”