[rt-devel] problem with rt-mailgate

Michael mike at westphila.net
Fri Jul 27 16:55:11 EDT 2001


>>> feargal at thecia.ie wrote a 3.6KB message. i replied ...............................
> There may also be something in the FAQ at http://www.helgrim.com/rtdocs/
> 

Its definately because of suidperl.

Problem is , i rebuilt perl in six different ways (suid,no suid, suid emulation..)
and now  all it says is 'Can't do suid'.   

I'm running redhat 6.2 and there is next to no chance that i can get the kernel 
rebuilt in the correct way (if that is even necessary).  

Is there a way to run mailgate non-suid rt ?
If so, what are the consequences?

Going to do some more research on this sperl stuff ...

thanks,


_M.

ps:  thanks Jesse!


> On Thu, 26 Jul 2001 19:30:54 -0400
> Jesse <jesse at fsck.com> wrote:
> 
> > 'll bet your setuid perl isn't working properly. There's some discussion of this
> > in the archives.
> > 
> > 
> > On Thu, Jul 26, 2001 at 02:46:06PM -0400, Michael wrote:
> > > 
> > > I have smrsh setup to run rt-mailgate, but for some reason
> > > its bombing out .
> > > 
> > > # $Header: /raid/cvsroot/rt/bin/Attic/rt-mailgate,v 1.1.2.13 2001/07/25 05:05:07 jesse Exp $
> > > 
> > > It works fine from the command line, so i'm assuming that 
> > > its an environmental problem.
> > > 
> > > I seem to be running sendmail 8.9.3 .   One unique circumstance
> > > is that we're running blackmail which proxies mail from
> > > SMTP and pipes it to sendmail after a battery of spam checks.
> > > 
> > > rt-mailgate has the proper include lines too.
> > > use lib "/www/rt/lib";
> > > use lib "/www/rt/etc";
> > > 
> > > Any suggestions would be appreciated,
> > > 
> > > 
> > > 
> > > _Michael.
> > > 
> > > 
> > > 
> > > 
> > > ----- Forwarded message from Mail Delivery Subsystem <MAILER-DAEMON at XXX.net> -----
> > > 
> > > Date: Thu, 26 Jul 2001 14:35:23 -0400
> > > From: Mail Delivery Subsystem <MAILER-DAEMON at XXX.net>
> > > To: mike at XXX.net
> > > Subject: Returned mail: see transcript for details
> > > 
> > > The original message was received at Thu, 26 Jul 2001 14:35:22 -0400
> > > from mike at localhost
> > > 
> > >    ----- The following addresses had permanent fatal errors -----
> > > "|/www/rt/bin/rt-mailgate --queue projects --action correspond"
> > >     (reason: 2)
> > >     (expanded from: projects at megaglobal.net)
> > > 
> > >    ----- Transcript of session follows -----
> > > Can't locate config.pm in @INC (@INC contains: /www/rt/etc /www/rt/lib/i686-linux /www/rt/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 /www/rt/lib/RT/Interface/Email.pm line 81.
> > > BEGIN failed--compilation aborted at /www/rt/lib/RT/Interface/Email.pm line 81.
> > > Compilation failed in require at /usr/adm/sm.bin/rt-mailgate line 20.
> > > BEGIN failed--compilation aborted at /usr/adm/sm.bin/rt-mailgate line 20.
> > > 554 5.3.0 "|/www/rt/bin/rt-mailgate --queue projects --action correspond"... unknown mailer error 2
> > > 
> > > Reporting-MTA: dns; XXX.net
> > > Arrival-Date: Thu, 26 Jul 2001 14:35:22 -0400
> > > 
> > > Final-Recipient: RFC822; projects at megaglobal.net
> > > X-Actual-Recipient: X-Unix; |/www/rt/bin/rt-mailgate --queue projects --action correspond
> > > Action: failed
> > > Status: 5.0.0
> > > Diagnostic-Code: X-Unix; 2
> > > Last-Attempt-Date: Thu, 26 Jul 2001 14:35:22 -0400
> > > 
> > > 
> > > --
> > > Michael Jastremski  
> > > openphoto.net/mike
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > Rt-devel mailing list
> > > Rt-devel at lists.fsck.com
> > > http://lists.fsck.com/mailman/listinfo/rt-devel
> > > 
> > 
> > -- 
> > jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com 
> > 70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90
> > 
> > . . . when not in doubt, get in doubt.  -- Old Discordian Proveb
> > 
> > _______________________________________________
> > Rt-devel mailing list
> > Rt-devel at lists.fsck.com
> > http://lists.fsck.com/mailman/listinfo/rt-devel
> > 
> 
> 
> -- 
> Feargal Reilly,
> Systems Administrator,
> The CIA.
> 



-- 

--
Michael Jastremski  
openphoto.net/mike






More information about the Rt-devel mailing list