Mail Gate Problem - Aliases

Hi there… I’m recently set up RT2… got all the aliases typed out…
and tried to send a message to the mail gate… But it fails everytime.
I’m looked up on the lists, and found out about smrsh… So i put a
symlink to /usr/lib/sendmail.d/bin (where smrsh looks…) and still,
nothing happens…

I’m running SuSE 7.3 w/2.4.17d (selfcompiled)… Can anyone help?

This is the error mail I’m getting

----- The following addresses had permanent fatal errors -----
"|/usr/rt/bin/rt-mailgate --queue general --action correspond"
(reason: 2)
(expanded from: rt@tpl005.twinsburg.org)

----- Transcript of session follows -----
Can’t locate config.pm in @INC (@INC contains: /usr/rt/etc /usr/rt/lib
/usr/lib/perl5/5.6.1/i586-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i586-linux
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at
/usr/rt/lib/RT/Interface/Email.pm
line 105.
BEGIN failed–compilation aborted at /usr/rt/lib/RT/Interface/Email.pm
line 105.
Compilation failed in require at /usr/rt/bin/rt-mailgate line 30.
BEGIN failed–compilation aborted at /usr/rt/bin/rt-mailgate line 30.
554 5.3.0 unknown mailer error 2

Reporting-MTA: dns; tpl005.twinsburg.org
Received-From-MTA: DNS; tpl.twinsburg.lib.oh.us
Arrival-Date: Fri, 15 Mar 2002 07:15:53 -0500

Final-Recipient: RFC822; rt@tpl005.twinsburg.org
X-Actual-Recipient: X-Unix; |/usr/rt/bin/rt-mailgate --queue general
–action correspond
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Unix; 2
Last-Attempt-Date: Fri, 15 Mar 2002 07:15:54 -0500

I WAS GETTING THIS… but then it stopped and started with the message
above…
----- The following addresses had permanent fatal errors -----
/usr/rt/bin/rt-mailgate --queue technology --action correspond
(reason: can’t create (user) output file)
(expanded from: techbug@tpl005.twinsburg.org)

----- Transcript of session follows -----
554 5.3.0 cannot open
/usr/rt/bin/rt-mailgate.–queue.technology.–action.correspond:
Permission
denied
550 5.0.0 /usr/rt/bin/rt-mailgate --queue technology --action
correspond… Can’t create output

Reporting-MTA: dns; tpl005.twinsburg.org
Received-From-MTA: DNS; tpl.twinsburg.lib.oh.us
Arrival-Date: Fri, 15 Mar 2002 05:15:09 -0500

Final-Recipient: RFC822; techbug@tpl005.twinsburg.org
X-Actual-Recipient: X-Unix;
/usr/rt/bin/rt-mailgate.–queue.technology.–action.correspond
Action: failed
Status: 5.3.0
Diagnostic-Code: X-Unix; 73
Last-Attempt-Date: Fri, 15 Mar 2002 05:15:09 -0500

And this is what my smrsh directory looks like
drwxr-xr-x 2 root root 4096 Mar 15 07:34 ./
drwxr-xr-x 3 root root 4096 Mar 13 01:38 …/
lrwxrwxrwx 1 root root 13 Mar 13 01:38 mail ->
/usr/bin/mail
-r-x–x--x 1 root root 746860 Sep 23 23:25 mail.local*
lrwxrwxrwx 1 root root 17 Mar 13 01:38 procmail ->
/usr/bin/procmail*
lrwxrwxrwx 1 root root 23 Mar 15 07:34 rt-mailgate ->
/usr/rt/bin/rt-mailgate*
-r-x–x--x 1 root root 6956 Sep 23 23:25 smrsh*
lrwxrwxrwx 1 root root 17 Mar 13 01:38 vacation ->
/usr/bin/vacation
tpl005:/usr/lib/sendmail.d/bin #

And this is what my /usr/rt/bin Looks like
drwxr-xr-x 2 root rt 4096 Mar 15 03:42 ./
drwxr-xr-x 8 root root 4096 Mar 15 02:58 …/
-rwxr-sr-x 1 root rt 5136 Mar 15 02:59
mason_handler.fcgi*
-rwxr-sr-x 1 root rt 4631 Mar 15 02:59
mason_handler.scgi*
-rwxr-sr-x 1 root rt 29979 Mar 15 02:59 rt*
-rwxrwxr-x 1 root rt 8858 Mar 15 02:59 rt-mailgate*
-rwxr-sr-x 1 root rt 23821 Mar 15 02:59 rtadmin*
-rw-r–r-- 1 root root 3560 Mar 15 03:42 rtadminhelp
-rwxr-xr-x 1 root rt 4459 Mar 15 02:59 webmux.pl*
tpl005:/usr/rt/bin #

Sorry for all the junk… but maybe it will help you all…

–CJ

#!~ CJ Lynce ~!#
#!~ Twinsburg Public Library ~!#
#!~ cjlynce@twinsburg.lib.oh.us ~!#

probably incorrect permissions on config.pm

CJ Lynce wrote:

Hi there… I’m recently set up RT2… got all the aliases typed out…
and tried to send a message to the mail gate… But it fails everytime.
I’m looked up on the lists, and found out about smrsh… So i put a
symlink to /usr/lib/sendmail.d/bin (where smrsh looks…) and still,
nothing happens…

I’m running SuSE 7.3 w/2.4.17d (selfcompiled)… Can anyone help?

This is the error mail I’m getting


----- The following addresses had permanent fatal errors -----
"|/usr/rt/bin/rt-mailgate --queue general --action correspond"
(reason: 2)
(expanded from: rt@tpl005.twinsburg.org)

----- Transcript of session follows -----
Can’t locate config.pm in @INC (@INC contains: /usr/rt/etc /usr/rt/lib
/usr/lib/perl5/5.6.1/i586-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i586-linux
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at
/usr/rt/lib/RT/Interface/Email.pm
line 105.
BEGIN failed–compilation aborted at /usr/rt/lib/RT/Interface/Email.pm
line 105.
Compilation failed in require at /usr/rt/bin/rt-mailgate line 30.
BEGIN failed–compilation aborted at /usr/rt/bin/rt-mailgate line 30.
554 5.3.0 unknown mailer error 2

Reporting-MTA: dns; tpl005.twinsburg.org
Received-From-MTA: DNS; tpl.twinsburg.lib.oh.us
Arrival-Date: Fri, 15 Mar 2002 07:15:53 -0500

Final-Recipient: RFC822; rt@tpl005.twinsburg.org
X-Actual-Recipient: X-Unix; |/usr/rt/bin/rt-mailgate --queue general
–action correspond
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Unix; 2
Last-Attempt-Date: Fri, 15 Mar 2002 07:15:54 -0500

I WAS GETTING THIS… but then it stopped and started with the message
above…

----- The following addresses had permanent fatal errors -----
/usr/rt/bin/rt-mailgate --queue technology --action correspond
(reason: can’t create (user) output file)
(expanded from: techbug@tpl005.twinsburg.org)

----- Transcript of session follows -----
554 5.3.0 cannot open
/usr/rt/bin/rt-mailgate.–queue.technology.–action.correspond:
Permission
denied
550 5.0.0 /usr/rt/bin/rt-mailgate --queue technology --action
correspond… Can’t create output

Reporting-MTA: dns; tpl005.twinsburg.org
Received-From-MTA: DNS; tpl.twinsburg.lib.oh.us
Arrival-Date: Fri, 15 Mar 2002 05:15:09 -0500

Final-Recipient: RFC822; techbug@tpl005.twinsburg.org
X-Actual-Recipient: X-Unix;
/usr/rt/bin/rt-mailgate.–queue.technology.–action.correspond
Action: failed
Status: 5.3.0
Diagnostic-Code: X-Unix; 73
Last-Attempt-Date: Fri, 15 Mar 2002 05:15:09 -0500

And this is what my smrsh directory looks like

drwxr-xr-x 2 root root 4096 Mar 15 07:34 ./
drwxr-xr-x 3 root root 4096 Mar 13 01:38 …/
lrwxrwxrwx 1 root root 13 Mar 13 01:38 mail ->
/usr/bin/mail
-r-x–x--x 1 root root 746860 Sep 23 23:25 mail.local*
lrwxrwxrwx 1 root root 17 Mar 13 01:38 procmail ->
/usr/bin/procmail*
lrwxrwxrwx 1 root root 23 Mar 15 07:34 rt-mailgate ->
/usr/rt/bin/rt-mailgate*
-r-x–x--x 1 root root 6956 Sep 23 23:25 smrsh*
lrwxrwxrwx 1 root root 17 Mar 13 01:38 vacation ->
/usr/bin/vacation
tpl005:/usr/lib/sendmail.d/bin #

And this is what my /usr/rt/bin Looks like

drwxr-xr-x 2 root rt 4096 Mar 15 03:42 ./
drwxr-xr-x 8 root root 4096 Mar 15 02:58 …/
-rwxr-sr-x 1 root rt 5136 Mar 15 02:59
mason_handler.fcgi*
-rwxr-sr-x 1 root rt 4631 Mar 15 02:59
mason_handler.scgi*
-rwxr-sr-x 1 root rt 29979 Mar 15 02:59 rt*
-rwxrwxr-x 1 root rt 8858 Mar 15 02:59 rt-mailgate*
-rwxr-sr-x 1 root rt 23821 Mar 15 02:59 rtadmin*
-rw-r–r-- 1 root root 3560 Mar 15 03:42 rtadminhelp
-rwxr-xr-x 1 root rt 4459 Mar 15 02:59 webmux.pl*
tpl005:/usr/rt/bin #

Sorry for all the junk… but maybe it will help you all…

–CJ


#!~ CJ Lynce ~!#
#!~ Twinsburg Public Library ~!#
#!~ cjlynce@twinsburg.lib.oh.us ~!#


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

Michael Thompson +353 1 291 1710
RF IC Design Engineer +353 1 676 3199
Silicon & Software Systems

well chmod 644 on confing.pm from /mon/etc
should workOn Thu, 14 Mar 2002 20:18:43 -0500 CJ Lynce cjlynce@twinsburg.lib.oh.us wrote:

Hi there… I’m recently set up RT2… got all the aliases typed out…
and tried to send a message to the mail gate… But it fails everytime.
I’m looked up on the lists, and found out about smrsh… So i put a
symlink to /usr/lib/sendmail.d/bin (where smrsh looks…) and still,
nothing happens…

I’m running SuSE 7.3 w/2.4.17d (selfcompiled)… Can anyone help?

This is the error mail I’m getting


----- The following addresses had permanent fatal errors -----
"|/usr/rt/bin/rt-mailgate --queue general --action correspond"
(reason: 2)
(expanded from: rt@tpl005.twinsburg.org)

----- Transcript of session follows -----
Can’t locate config.pm in @INC (@INC contains: /usr/rt/etc /usr/rt/lib
/usr/lib/perl5/5.6.1/i586-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i586-linux
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at
/usr/rt/lib/RT/Interface/Email.pm
line 105.
BEGIN failed–compilation aborted at /usr/rt/lib/RT/Interface/Email.pm
line 105.
Compilation failed in require at /usr/rt/bin/rt-mailgate line 30.
BEGIN failed–compilation aborted at /usr/rt/bin/rt-mailgate line 30.
554 5.3.0 unknown mailer error 2

Reporting-MTA: dns; tpl005.twinsburg.org
Received-From-MTA: DNS; tpl.twinsburg.lib.oh.us
Arrival-Date: Fri, 15 Mar 2002 07:15:53 -0500

Final-Recipient: RFC822; rt@tpl005.twinsburg.org
X-Actual-Recipient: X-Unix; |/usr/rt/bin/rt-mailgate --queue general
–action correspond
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Unix; 2
Last-Attempt-Date: Fri, 15 Mar 2002 07:15:54 -0500

I WAS GETTING THIS… but then it stopped and started with the message
above…

----- The following addresses had permanent fatal errors -----
/usr/rt/bin/rt-mailgate --queue technology --action correspond
(reason: can’t create (user) output file)
(expanded from: techbug@tpl005.twinsburg.org)

----- Transcript of session follows -----
554 5.3.0 cannot open
/usr/rt/bin/rt-mailgate.–queue.technology.–action.correspond:
Permission
denied
550 5.0.0 /usr/rt/bin/rt-mailgate --queue technology --action
correspond… Can’t create output

Reporting-MTA: dns; tpl005.twinsburg.org
Received-From-MTA: DNS; tpl.twinsburg.lib.oh.us
Arrival-Date: Fri, 15 Mar 2002 05:15:09 -0500

Final-Recipient: RFC822; techbug@tpl005.twinsburg.org
X-Actual-Recipient: X-Unix;
/usr/rt/bin/rt-mailgate.–queue.technology.–action.correspond
Action: failed
Status: 5.3.0
Diagnostic-Code: X-Unix; 73
Last-Attempt-Date: Fri, 15 Mar 2002 05:15:09 -0500

And this is what my smrsh directory looks like

drwxr-xr-x 2 root root 4096 Mar 15 07:34 ./
drwxr-xr-x 3 root root 4096 Mar 13 01:38 …/
lrwxrwxrwx 1 root root 13 Mar 13 01:38 mail ->
/usr/bin/mail
-r-x–x--x 1 root root 746860 Sep 23 23:25 mail.local*
lrwxrwxrwx 1 root root 17 Mar 13 01:38 procmail ->
/usr/bin/procmail*
lrwxrwxrwx 1 root root 23 Mar 15 07:34 rt-mailgate ->
/usr/rt/bin/rt-mailgate*
-r-x–x--x 1 root root 6956 Sep 23 23:25 smrsh*
lrwxrwxrwx 1 root root 17 Mar 13 01:38 vacation ->
/usr/bin/vacation
tpl005:/usr/lib/sendmail.d/bin #

And this is what my /usr/rt/bin Looks like

drwxr-xr-x 2 root rt 4096 Mar 15 03:42 ./
drwxr-xr-x 8 root root 4096 Mar 15 02:58 …/
-rwxr-sr-x 1 root rt 5136 Mar 15 02:59
mason_handler.fcgi*
-rwxr-sr-x 1 root rt 4631 Mar 15 02:59
mason_handler.scgi*
-rwxr-sr-x 1 root rt 29979 Mar 15 02:59 rt*
-rwxrwxr-x 1 root rt 8858 Mar 15 02:59 rt-mailgate*
-rwxr-sr-x 1 root rt 23821 Mar 15 02:59 rtadmin*
-rw-r–r-- 1 root root 3560 Mar 15 03:42 rtadminhelp
-rwxr-xr-x 1 root rt 4459 Mar 15 02:59 webmux.pl*
tpl005:/usr/rt/bin #

Sorry for all the junk… but maybe it will help you all…

–CJ


#!~ CJ Lynce ~!#
#!~ Twinsburg Public Library ~!#
#!~ cjlynce@twinsburg.lib.oh.us ~!#


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

well chmod 644 on confing.pm from /mon/etc
should work

… and give everybody read-access to the password of the database.

I remember some articel about it in the archive, but I am not sure wether it
was

http://lists.fsck.com/pipermail/rt-users/2001-December/005542.html

or something else, that shows how to fix the problem.

Regards,

Benne> On Thu, 14 Mar 2002 20:18:43 -0500 CJ Lynce cjlynce@twinsburg.lib.oh.us wrote:

Hi there… I’m recently set up RT2… got all the aliases typed out…
and tried to send a message to the mail gate… But it fails everytime.
I’m looked up on the lists, and found out about smrsh… So i put a
symlink to /usr/lib/sendmail.d/bin (where smrsh looks…) and still,
nothing happens…

I’m running SuSE 7.3 w/2.4.17d (selfcompiled)… Can anyone help?

This is the error mail I’m getting


----- The following addresses had permanent fatal errors -----
"|/usr/rt/bin/rt-mailgate --queue general --action correspond"
(reason: 2)
(expanded from: rt@tpl005.twinsburg.org)

----- Transcript of session follows -----
Can’t locate config.pm in @INC (@INC contains: /usr/rt/etc /usr/rt/lib
/usr/lib/perl5/5.6.1/i586-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i586-linux
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at
/usr/rt/lib/RT/Interface/Email.pm
line 105.
BEGIN failed–compilation aborted at /usr/rt/lib/RT/Interface/Email.pm
line 105.
Compilation failed in require at /usr/rt/bin/rt-mailgate line 30.
BEGIN failed–compilation aborted at /usr/rt/bin/rt-mailgate line 30.
554 5.3.0 unknown mailer error 2

Reporting-MTA: dns; tpl005.twinsburg.org
Received-From-MTA: DNS; tpl.twinsburg.lib.oh.us
Arrival-Date: Fri, 15 Mar 2002 07:15:53 -0500

Final-Recipient: RFC822; rt@tpl005.twinsburg.org
X-Actual-Recipient: X-Unix; |/usr/rt/bin/rt-mailgate --queue general
–action correspond
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Unix; 2
Last-Attempt-Date: Fri, 15 Mar 2002 07:15:54 -0500

I WAS GETTING THIS… but then it stopped and started with the message
above…

----- The following addresses had permanent fatal errors -----
/usr/rt/bin/rt-mailgate --queue technology --action correspond
(reason: can’t create (user) output file)
(expanded from: techbug@tpl005.twinsburg.org)

----- Transcript of session follows -----
554 5.3.0 cannot open
/usr/rt/bin/rt-mailgate.–queue.technology.–action.correspond:
Permission
denied
550 5.0.0 /usr/rt/bin/rt-mailgate --queue technology --action
correspond… Can’t create output

Reporting-MTA: dns; tpl005.twinsburg.org
Received-From-MTA: DNS; tpl.twinsburg.lib.oh.us
Arrival-Date: Fri, 15 Mar 2002 05:15:09 -0500

Final-Recipient: RFC822; techbug@tpl005.twinsburg.org
X-Actual-Recipient: X-Unix;
/usr/rt/bin/rt-mailgate.–queue.technology.–action.correspond
Action: failed
Status: 5.3.0
Diagnostic-Code: X-Unix; 73
Last-Attempt-Date: Fri, 15 Mar 2002 05:15:09 -0500

And this is what my smrsh directory looks like

drwxr-xr-x 2 root root 4096 Mar 15 07:34 ./
drwxr-xr-x 3 root root 4096 Mar 13 01:38 …/
lrwxrwxrwx 1 root root 13 Mar 13 01:38 mail ->
/usr/bin/mail
-r-x–x--x 1 root root 746860 Sep 23 23:25 mail.local*
lrwxrwxrwx 1 root root 17 Mar 13 01:38 procmail ->
/usr/bin/procmail*
lrwxrwxrwx 1 root root 23 Mar 15 07:34 rt-mailgate ->
/usr/rt/bin/rt-mailgate*
-r-x–x--x 1 root root 6956 Sep 23 23:25 smrsh*
lrwxrwxrwx 1 root root 17 Mar 13 01:38 vacation ->
/usr/bin/vacation
tpl005:/usr/lib/sendmail.d/bin #

And this is what my /usr/rt/bin Looks like

drwxr-xr-x 2 root rt 4096 Mar 15 03:42 ./
drwxr-xr-x 8 root root 4096 Mar 15 02:58 …/
-rwxr-sr-x 1 root rt 5136 Mar 15 02:59
mason_handler.fcgi*
-rwxr-sr-x 1 root rt 4631 Mar 15 02:59
mason_handler.scgi*
-rwxr-sr-x 1 root rt 29979 Mar 15 02:59 rt*
-rwxrwxr-x 1 root rt 8858 Mar 15 02:59 rt-mailgate*
-rwxr-sr-x 1 root rt 23821 Mar 15 02:59 rtadmin*
-rw-r–r-- 1 root root 3560 Mar 15 03:42 rtadminhelp
-rwxr-xr-x 1 root rt 4459 Mar 15 02:59 webmux.pl*
tpl005:/usr/rt/bin #

Sorry for all the junk… but maybe it will help you all…

–CJ


#!~ CJ Lynce ~!#
#!~ Twinsburg Public Library ~!#
#!~ cjlynce@twinsburg.lib.oh.us ~!#


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


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

change the group for config.pm to rt (or whatever group RT is in)
and chmod 640.

well chmod 644 on confing.pm from /mon/etc
should work

… and give everybody read-access to the password of the database.

I remember some articel about it in the archive, but I am not
sure wether it
was

http://lists.fsck.com/pipermail/rt-users/2001-December/005542.html

or something else, that shows how to fix the problem.

Regards,

Benne

Hi there… I’m recently set up RT2… got all the aliases
typed out…

and tried to send a message to the mail gate… But it
fails everytime.

I’m looked up on the lists, and found out about smrsh…
So i put a

symlink to /usr/lib/sendmail.d/bin (where smrsh looks…)
and still,

nothing happens…

I’m running SuSE 7.3 w/2.4.17d (selfcompiled)… Can anyone help?

This is the error mail I’m getting


----- The following addresses had permanent fatal errors -----
"|/usr/rt/bin/rt-mailgate --queue general --action correspond"
(reason: 2)
(expanded from: rt@tpl005.twinsburg.org)

----- Transcript of session follows -----
Can’t locate config.pm in @INC (@INC contains: /usr/rt/etc
/usr/rt/lib

/usr/lib/perl5/5.6.1/i586-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i586-linux
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at
/usr/rt/lib/RT/Interface/Email.pm
line 105.
BEGIN failed–compilation aborted at
/usr/rt/lib/RT/Interface/Email.pm

line 105.
Compilation failed in require at /usr/rt/bin/rt-mailgate line 30.
BEGIN failed–compilation aborted at
/usr/rt/bin/rt-mailgate line 30.

554 5.3.0 unknown mailer error 2