From mkrebs at telocity.com Sat Dec 1 19:39:41 2001 From: mkrebs at telocity.com (Mike Krebs) Date: Sun Apr 11 16:09:38 2004 Subject: Fwd: [rt-users] New Install question Message-ID: <5.1.0.14.2.20011201193857.033a7f80@csibriarcliff.org> I upgraded... yet I still get this error. Any ideas? [root@stewie rt-2-0-9]# make install mkdir -p //opt/rt2/bin mkdir -p //opt/rt2/WebRT/data mkdir -p //opt/rt2/WebRT/sessiondata mkdir -p //opt/rt2/etc mkdir -p //opt/rt2/lib mkdir -p //opt/rt2/WebRT/html mkdir -p //opt/rt2/local/WebRT/html /usr/bin/perl tools/initdb 'mysql' '/usr/local/mysql' 'localhost' '' 'root' 'rt' create Now creating a database for RT. Enter the mysql password for root: Creating mysql database rt. DBI->connect(dbname=;host=localhost) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) at /usr/local/lib/perl5/site_perl/5.6.1/DBIx/DataSource/Driver.pm line 74 Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) at /usr/local/lib/perl5/site_perl/5.6.1/DBIx/DataSource/Driver.pm line 74, line 1. make: *** [createdb] Error 255 [root@stewie rt-2-0-9]# mysqladmin version mysqladmin Ver 8.23 Distrib 3.23.45, for pc-linux-gnu on i686 Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL license Server version 3.23.45 Protocol version 10 Connection Localhost via UNIX socket UNIX socket /tmp/mysql.sock Uptime: 18 min 20 sec Threads: 1 Questions: 9 Slow queries: 0 Opens: 6 Flush tables: 1 Open tables: 0 Queries per second avg: 0.008 >Delivered-To: telocity.com%mkrebs@telocity.com >X-Received: 30 Nov 2001 02:53:11 GMT >Delivered-To: rt-users@pallas.eruditorum.org >X-Sender: mkrebs@mail.telocity.com >X-Mailer: QUALCOMM Windows Eudora Version 5.1 >Date: Thu, 29 Nov 2001 21:49:00 -0500 >To: rt-users@lists.fsck.com >From: Mike Krebs >Subject: [rt-users] New Install question >Sender: rt-users-admin@lists.fsck.com >X-BeenThere: rt-users@lists.fsck.com >X-Mailman-Version: 2.0beta5 >List-Id: For users of RT: Request Tracker > >For some reason, when I'm installing I get this: > >/usr/bin/perl tools/initdb 'mysql' '/usr/local' 'localhost' '' 'root' >'rt' create >Now creating a database for RT. >Enter the mysql password for root: >Creating mysql database rt. >DBI->connect(dbname=;host=localhost) failed: Can't connect to local MySQL >server through socket '/var/lib/mysql/mysql.sock' (111) at >/usr/local/lib/perl5/site_perl/5.6.1/DBIx/DataSource/Driver.pm line 74 >Can't connect to local MySQL server through socket >'/var/lib/mysql/mysql.sock' (111) at >/usr/local/lib/perl5/site_perl/5.6.1/DBIx/DataSource/Driver.pm line 74, > line 1. >make: *** [createdb] Error 255 >[root@stewie rt-2-0-9]# > >But MySQL *IS* working. > >[root@stewie rt-2-0-9]# mysql -u root -p >Enter password: >Welcome to the MySQL monitor. Commands end with ; or \g. >Your MySQL connection id is 47 to server version: 3.22.32 > >Type 'help' for help. > > >Any ideas? > >thanks. > >------------------------------------------------------------------- >Thanks, >Mike Krebs > >"The things you own end up owning you." - Tyler Durden > > > >_______________________________________________ >rt-users mailing list >rt-users@lists.fsck.com >http://lists.fsck.com/mailman/listinfo/rt-users ------------------------------------------------------------------- Thanks, Mike Krebs "The things you own end up owning you." - Tyler Durden From jesse at bestpractical.com Sat Dec 1 20:00:42 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:38 2004 Subject: Fwd: [rt-users] New Install question In-Reply-To: <5.1.0.14.2.20011201193857.033a7f80@csibriarcliff.org>; from mkrebs@telocity.com on Sat, Dec 01, 2001 at 07:39:41PM -0500 References: <5.1.0.14.2.20011201193857.033a7f80@csibriarcliff.org> Message-ID: <20011201200042.C2251@pallas.fsck.com> This is well-covered in the archives. you've either got a permissions problem or a mysql config problem. Go to http://lists.fsck.com Search for mysql.sock On Sat, Dec 01, 2001 at 07:39:41PM -0500, Mike Krebs wrote: > I upgraded... yet I still get this error. > > Any ideas? > > [root@stewie rt-2-0-9]# make install > mkdir -p //opt/rt2/bin > mkdir -p //opt/rt2/WebRT/data > mkdir -p //opt/rt2/WebRT/sessiondata > mkdir -p //opt/rt2/etc > mkdir -p //opt/rt2/lib > mkdir -p //opt/rt2/WebRT/html > mkdir -p //opt/rt2/local/WebRT/html > /usr/bin/perl tools/initdb 'mysql' '/usr/local/mysql' 'localhost' '' > 'root' 'rt' create > Now creating a database for RT. > Enter the mysql password for root: > Creating mysql database rt. > DBI->connect(dbname=;host=localhost) failed: Can't connect to local MySQL > server through socket '/var/lib/mysql/mysql.sock' (111) at > /usr/local/lib/perl5/site_perl/5.6.1/DBIx/DataSource/Driver.pm line 74 > Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (111) at > /usr/local/lib/perl5/site_perl/5.6.1/DBIx/DataSource/Driver.pm line 74, > line 1. > make: *** [createdb] Error 255 > > [root@stewie rt-2-0-9]# mysqladmin version > mysqladmin Ver 8.23 Distrib 3.23.45, for pc-linux-gnu on i686 > Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB > This software comes with ABSOLUTELY NO WARRANTY. This is free software, > and you are welcome to modify and redistribute it under the GPL license > > Server version 3.23.45 > Protocol version 10 > Connection Localhost via UNIX socket > UNIX socket /tmp/mysql.sock > Uptime: 18 min 20 sec > > Threads: 1 Questions: 9 Slow queries: 0 Opens: 6 Flush tables: 1 Open > tables: 0 Queries per second avg: 0.008 > >Delivered-To: telocity.com%mkrebs@telocity.com > >X-Received: 30 Nov 2001 02:53:11 GMT > >Delivered-To: rt-users@pallas.eruditorum.org > >X-Sender: mkrebs@mail.telocity.com > >X-Mailer: QUALCOMM Windows Eudora Version 5.1 > >Date: Thu, 29 Nov 2001 21:49:00 -0500 > >To: rt-users@lists.fsck.com > >From: Mike Krebs > >Subject: [rt-users] New Install question > >Sender: rt-users-admin@lists.fsck.com > >X-BeenThere: rt-users@lists.fsck.com > >X-Mailman-Version: 2.0beta5 > >List-Id: For users of RT: Request Tracker > > > >For some reason, when I'm installing I get this: > > > >/usr/bin/perl tools/initdb 'mysql' '/usr/local' 'localhost' '' 'root' > >'rt' create > >Now creating a database for RT. > >Enter the mysql password for root: > >Creating mysql database rt. > >DBI->connect(dbname=;host=localhost) failed: Can't connect to local MySQL > >server through socket '/var/lib/mysql/mysql.sock' (111) at > >/usr/local/lib/perl5/site_perl/5.6.1/DBIx/DataSource/Driver.pm line 74 > >Can't connect to local MySQL server through socket > >'/var/lib/mysql/mysql.sock' (111) at > >/usr/local/lib/perl5/site_perl/5.6.1/DBIx/DataSource/Driver.pm line 74, > > line 1. > >make: *** [createdb] Error 255 > >[root@stewie rt-2-0-9]# > > > >But MySQL *IS* working. > > > >[root@stewie rt-2-0-9]# mysql -u root -p > >Enter password: > >Welcome to the MySQL monitor. Commands end with ; or \g. > >Your MySQL connection id is 47 to server version: 3.22.32 > > > >Type 'help' for help. > > > > > >Any ideas? > > > >thanks. > > > >------------------------------------------------------------------- > >Thanks, > >Mike Krebs > > > >"The things you own end up owning you." - Tyler Durden > > > > > > > >_______________________________________________ > >rt-users mailing list > >rt-users@lists.fsck.com > >http://lists.fsck.com/mailman/listinfo/rt-users > > ------------------------------------------------------------------- > Thanks, > Mike Krebs > > "The things you own end up owning you." - Tyler Durden > > > > _______________________________________________ > rt-users mailing list > rt-users@lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. From bam at intrinsic.com Sun Dec 2 03:35:53 2001 From: bam at intrinsic.com (Brian McClendon) Date: Sun Apr 11 16:09:38 2004 Subject: [rt-users] Two questions: comments-to-ccfolk, statistics cgi... where to run Message-ID: <20011202003553.A24702@intrinsic.com> I'm running 2.0.7 on RH 7.1. I think I've read all the docs for 1.0/2.0, but I'm sure I missed something. I currently have global scrips: OnCreate AutoreplyToRequestors with template Autoreply OnCorrespond NotifyAllWatchers with template Correspondence OnResolve NotifyRequestors with template Resolved OnComment NotifyAdminCcsAsComment with template AdminComment OnCreate NotifyAllWatchers with template Correspondence Yet a comment does not get sent to CCers, only watchers of the queue. I tried "OnComment, NotifyAllWatchers", but this sends mail to the Requestor also, and that is not what I intended. --- --- --- To further demonstrate my ignorance, I really like that rt2stats CGI, but I can't seem to make it run as a cgi from the httpd as configured for RT. I tried forcing a directory to be cgi-enabled, but something seems to be preventing it from running. The cgi runs fine from the command line, so its just an httpd config issue. Any help would be appreciated... thanks. -- -------------------------------------------------------- Brian McClendon bam@intrinsic.com 650-966-6804 -------------------------------------------------------- From jhein at jhein.de Sun Dec 2 06:45:48 2001 From: jhein at jhein.de (Julian Hein) Date: Sun Apr 11 16:09:38 2004 Subject: [rt-users] Mail to ticket number Message-ID: <000001c17b26$e340c110$c80aa8c0@int.netways.de> Hi, I would like to implement a solution in rt2 that allows users to send mail to a ticket number directly, e.g. 9999@rt.domain.com. Does anybody know a solution for that or has a hint for me? Thanks, Julian From jesse at bestpractical.com Sun Dec 2 14:30:30 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:38 2004 Subject: [rt-users] Mail to ticket number In-Reply-To: <000001c17b26$e340c110$c80aa8c0@int.netways.de>; from jhein@jhein.de on Sun, Dec 02, 2001 at 12:45:48PM +0100 References: <000001c17b26$e340c110$c80aa8c0@int.netways.de> Message-ID: <20011202143030.E2251@pallas.fsck.com> Well, you happen to be in luck. I ended up dropping just that functionality into the codebase the other night for a friend. It works as alias+1234@domain, but pretty much any MTA should be able to do the rewriting you want to get 1234@domain. The code is in CVS, but the patches you want are: if ($flag eq '--ticket-id-from-extension') { $TicketId = $ENV{'EXTENSION'}; } after if (($flag eq '-q') or ($flag eq '--queue')) { $Queue = shift @ARGV; } and $TicketId = ParseTicketId($Subject) unless ($TicketId); instead of $TicketId = ParseTicketId($Subject); On Sun, Dec 02, 2001 at 12:45:48PM +0100, Julian Hein wrote: > Hi, > > I would like to implement a solution in rt2 that allows users to send > mail to a ticket number directly, e.g. 9999@rt.domain.com. Does anybody > know a solution for that or has a hint for me? > > Thanks, Julian > > > _______________________________________________ > rt-users mailing list > rt-users@lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. From jesse at bestpractical.com Sun Dec 2 14:31:49 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:38 2004 Subject: [rt-users] command line bug? In-Reply-To: <0EFDD4B425B6CE49899DA99A4B37BCA81F24@server01.staff.sporg.com>; from j.freeman@sporg.com on Fri, Nov 30, 2001 at 03:26:43PM -0800 References: <20011201083256.A77072@dorfl.internal.moreton.com.au> <0EFDD4B425B6CE49899DA99A4B37BCA81F24@server01.staff.sporg.com> Message-ID: <20011202143149.F2251@pallas.fsck.com> Well, there was a bug in the priority setting code until very recently. (Post 2.0.9, I believe) Are you using the names or IDs of keywords and keyword selects? you should be using names.... -j On Fri, Nov 30, 2001 at 03:26:43PM -0800, Jeremy Freeman wrote: > I am trying to import a bunch of tickets from the commandline program and > seem to be having difficulty setting priority and keywords when creating > tickets. I am using the following: > > /usr/local/rt2/bin/rt --verbose --create --status=open --owner=13 --queue=7 > --subject='Evaluate Additional Payment > pig' --priority=25 --keywords+15/20 --noedit > > The keywords are never set and the priority remains 0. > > i do get the following response: > > 15/20Ticket 53 created in queue 'dev::changes'. > > Seems a little strange... > > Any ideas? > > -- > Jeremy > -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. From Fred.Percynski at divine.com Sun Dec 2 14:40:50 2001 From: Fred.Percynski at divine.com (Percynski, Fred) Date: Sun Apr 11 16:09:38 2004 Subject: [rt-users] command line bug? Message-ID: <1456676BC1FA194DAE8625B9BE42197A02167B@LIILMTFSSTE04.mailtask.com> As for the priority problem that is a bug in the CLI. I think Jesse said it will be fixed in 2.0.10. But you can fix it now by modifying the rt script. Find the section that has this line # {{{ Check if we're creating, if so, create the ticket and be done In that section is the line Priority => $priority, Change that line to InitialPriority => $priority, I have never used keywords from the CLI so I can't help with that problem. -----Original Message----- From: Jeremy Freeman [mailto:j.freeman@sporg.com] Sent: Friday, November 30, 2001 6:27 PM To: rt-users@lists.fsck.com Subject: [rt-users] command line bug? I am trying to import a bunch of tickets from the commandline program and seem to be having difficulty setting priority and keywords when creating tickets. I am using the following: /usr/local/rt2/bin/rt --verbose --create --status=open --owner=13 --queue=7 --subject='Evaluate Additional Payment pig' --priority=25 --keywords+15/20 --noedit The keywords are never set and the priority remains 0. i do get the following response: 15/20Ticket 53 created in queue 'dev::changes'. Seems a little strange... Any ideas? -- Jeremy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://pallas.eruditorum.org/pipermail/rt-users/attachments/20011202/feb1a448/attachment.html From jesse at bestpractical.com Sun Dec 2 16:30:33 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:38 2004 Subject: [rt-users] [rt-announce] FTP Service to be discontinued on 1/1/2002 Message-ID: <20011202163033.H2251@pallas.fsck.com> Over the course of the past several years, the overhead required to provide FTP service has increased dramatically, while its utility, for anonymous download-only service has faded as http has taken over the world. On January 1, 2001, FTP service on ftp.fsck.com will be discontinued. The same archive has been, and will continue to be available by http from http://www.fsck.com/pub/ Thanks, Jesse Vincent Best Practical Solutions, LLC -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. _______________________________________________ rt-announce mailing list rt-announce@lists.fsck.com http://lists.fsck.com/mailman/listinfo/rt-announce From pdh at snapgear.com Sun Dec 2 17:03:08 2001 From: pdh at snapgear.com (Phil Homewood) Date: Sun Apr 11 16:09:38 2004 Subject: Fwd: [rt-users] New Install question In-Reply-To: <5.1.0.14.2.20011201193857.033a7f80@csibriarcliff.org> References: <5.1.0.14.2.20011201193857.033a7f80@csibriarcliff.org> Message-ID: <20011203080308.A330@moreton.com.au> Mike Krebs wrote: > I upgraded... yet I still get this error. > > Any ideas? Hmm... > /usr/bin/perl tools/initdb 'mysql' '/usr/local/mysql' 'localhost' '' > 'root' 'rt' create Looks good, but... > Now creating a database for RT. > Enter the mysql password for root: > Creating mysql database rt. > DBI->connect(dbname=;host=localhost) failed: Can't connect to local MySQL > server through socket '/var/lib/mysql/mysql.sock' (111) at > /usr/local/lib/perl5/site_perl/5.6.1/DBIx/DataSource/Driver.pm line 74 "dbname=". Maybe some kind of parsing bug in DBIx::DataSource::mysql.... Jesse/Ivan? From matthew.zeier at thirdcoast.net Sun Dec 2 17:53:42 2001 From: matthew.zeier at thirdcoast.net (matthew zeier) Date: Sun Apr 11 16:09:38 2004 Subject: [rt-users] rt command changed? No RT user found... Message-ID: <01f001c17b84$312b5ef0$0b16160a@Desktop> My nag script used /opt/rt2/bin/rt to do it's work. After upgrading to 2.0.9 I noticed that the script stopped sending out emails. If I run it as any user other than root, I get the following error: mrz@irv1-core [~/] 526> /opt/rt2/bin/rt No RT user found. Please consult your RT administrator. Looking through the src, I see that GetCurrentUser "Figures out the uid of the current user and returns an RT::CurrentUser object loaded with that user. if the current user isn't found, returns a copy of RT::Nobody." That doesn't appear to be working anymore or I lost whatever RT:Nobody is. Help? -- matthew zeier - "In mathematics you don't understand things. You just get used to them." - John von Newmann From jesse at bestpractical.com Sun Dec 2 19:14:22 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:38 2004 Subject: [rt-users] rt command changed? No RT user found... In-Reply-To: <01f001c17b84$312b5ef0$0b16160a@Desktop>; from matthew.zeier@thirdcoast.net on Sun, Dec 02, 2001 at 02:53:42PM -0800 References: <01f001c17b84$312b5ef0$0b16160a@Desktop> Message-ID: <20011202191422.J2251@pallas.fsck.com> Your scripts are running as a user who doesn't have an RT account and were, in effect, exploiting the security hole that was fixed in 2.0.8_01. create an rt user with the unix username set to whatever your scripts run as. On Sun, Dec 02, 2001 at 02:53:42PM -0800, matthew zeier wrote: > > My nag script used /opt/rt2/bin/rt to do it's work. After upgrading to > 2.0.9 I noticed that the script stopped sending out emails. If I run it as > any user other than root, I get the following error: > > mrz@irv1-core [~/] 526> /opt/rt2/bin/rt > > No RT user found. Please consult your RT administrator. > > Looking through the src, I see that GetCurrentUser "Figures out the uid of > the current user and returns an RT::CurrentUser object loaded with that > user. if the current user isn't found, returns a copy of RT::Nobody." > > > That doesn't appear to be working anymore or I lost whatever RT:Nobody is. > Help? > > -- > matthew zeier - "In mathematics you don't understand things. You just > get used to them." - John von Newmann > > > _______________________________________________ > rt-users mailing list > rt-users@lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. From matthew.zeier at thirdcoast.net Sun Dec 2 20:52:51 2001 From: matthew.zeier at thirdcoast.net (matthew zeier) Date: Sun Apr 11 16:09:38 2004 Subject: [rt-users] rt command changed? No RT user found... References: <01f001c17b84$312b5ef0$0b16160a@Desktop> <20011202191422.J2251@pallas.fsck.com> Message-ID: <030101c17b9d$37d6f200$0b16160a@Desktop> > Your scripts are running as a user who doesn't have an RT account and were, > in effect, exploiting the security hole that was fixed in 2.0.8_01. > > create an rt user with the unix username set to whatever your scripts run as. I'm actually running this as myself and my username and my RT login name are the same - mrz@irv1-core [~/] 532> id -a uid=1294(mrz) gid=1001(sysadm) groups=1001(sysadm),1100(company) mrz@irv1-core [~/] 533> /opt/rt2/bin/rt No RT user found. Please consult your RT administrator. mrz@irv1-core [~/] 534> mysql> select Name from Users where Name = "mrz"; +------+ | Name | +------+ | mrz | +------+ 1 row in set (0.00 sec) From jesse at bestpractical.com Sun Dec 2 21:23:46 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:38 2004 Subject: [rt-users] rt command changed? No RT user found... In-Reply-To: <030101c17b9d$37d6f200$0b16160a@Desktop>; from matthew.zeier@thirdcoast.net on Sun, Dec 02, 2001 at 05:52:51PM -0800 References: <01f001c17b84$312b5ef0$0b16160a@Desktop> <20011202191422.J2251@pallas.fsck.com> <030101c17b9d$37d6f200$0b16160a@Desktop> Message-ID: <20011202212346.K2251@pallas.fsck.com> Use the web based admin tool to look at the user for you. Look for 'unix login'. Is that set to your unix login? On Sun, Dec 02, 2001 at 05:52:51PM -0800, matthew zeier wrote: > > > > Your scripts are running as a user who doesn't have an RT account and > were, > > in effect, exploiting the security hole that was fixed in 2.0.8_01. > > > > create an rt user with the unix username set to whatever your scripts run > as. > > I'm actually running this as myself and my username and my RT login name are > the same - > > mrz@irv1-core [~/] 532> id -a > uid=1294(mrz) gid=1001(sysadm) groups=1001(sysadm),1100(company) > mrz@irv1-core [~/] 533> /opt/rt2/bin/rt > No RT user found. Please consult your RT administrator. > mrz@irv1-core [~/] 534> > > > mysql> select Name from Users where Name = "mrz"; > +------+ > | Name | > +------+ > | mrz | > +------+ > 1 row in set (0.00 sec) > > > > > > -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. From matthew.zeier at thirdcoast.net Sun Dec 2 22:03:17 2001 From: matthew.zeier at thirdcoast.net (matthew zeier) Date: Sun Apr 11 16:09:38 2004 Subject: [rt-users] rt command changed? No RT user found... References: <01f001c17b84$312b5ef0$0b16160a@Desktop> <20011202191422.J2251@pallas.fsck.com> <030101c17b9d$37d6f200$0b16160a@Desktop> <20011202212346.K2251@pallas.fsck.com> Message-ID: <033301c17ba7$0eed6b80$0b16160a@Desktop> Ah indeed - that was blank. Thanks! ----- Original Message ----- From: "Jesse Vincent" To: "matthew zeier" Cc: Sent: Sunday, December 02, 2001 6:23 PM Subject: Re: [rt-users] rt command changed? No RT user found... > > Use the web based admin tool to look at the user for you. Look for 'unix login'. Is that set to your unix login? > > > On Sun, Dec 02, 2001 at 05:52:51PM -0800, matthew zeier wrote: > > > > > > > Your scripts are running as a user who doesn't have an RT account and > > were, > > > in effect, exploiting the security hole that was fixed in 2.0.8_01. > > > > > > create an rt user with the unix username set to whatever your scripts run > > as. > > > > I'm actually running this as myself and my username and my RT login name are > > the same - > > > > mrz@irv1-core [~/] 532> id -a > > uid=1294(mrz) gid=1001(sysadm) groups=1001(sysadm),1100(company) > > mrz@irv1-core [~/] 533> /opt/rt2/bin/rt > > No RT user found. Please consult your RT administrator. > > mrz@irv1-core [~/] 534> > > > > > > mysql> select Name from Users where Name = "mrz"; > > +------+ > > | Name | > > +------+ > > | mrz | > > +------+ > > 1 row in set (0.00 sec) > > > > > > > > > > > > > > -- > http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. > From jesse at bestpractical.com Sun Dec 2 23:56:54 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:38 2004 Subject: [rt-users] [rt-announce] Re: FTP Service to be discontinued on 1/1/2002 In-Reply-To: <20011202163033.H2251@pallas.fsck.com>; from jesse@bestpractical.com on Sun, Dec 02, 2001 at 04:30:33PM -0500 References: <20011202163033.H2251@pallas.fsck.com> Message-ID: <20011202235654.L2251@pallas.fsck.com> Er. January 1, 2002. But you all knew what I meant ;) On Sun, Dec 02, 2001 at 04:30:33PM -0500, Jesse Vincent wrote: > Over the course of the past several years, the overhead required to > provide FTP service has increased dramatically, while its utility, for > anonymous download-only service has faded as http has taken over the world. > > On January 1, 2001, FTP service on ftp.fsck.com will be discontinued. > The same archive has been, and will continue to be available by http from > > http://www.fsck.com/pub/ > > Thanks, > > Jesse Vincent > Best Practical Solutions, LLC > > > -- > http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. > -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. _______________________________________________ rt-announce mailing list rt-announce@lists.fsck.com http://lists.fsck.com/mailman/listinfo/rt-announce From feargal at thecia.ie Mon Dec 3 04:19:38 2001 From: feargal at thecia.ie (Feargal Reilly) Date: Sun Apr 11 16:09:38 2004 Subject: [rt-users] Two questions: comments-to-ccfolk, statistics cgi... where to run In-Reply-To: <20011202003553.A24702@intrinsic.com> References: <20011202003553.A24702@intrinsic.com> Message-ID: <20011203091938.43df1ace.feargal@thecia.ie> I suppose there should be another scrip action installed by default which mails comment to Ccs. Execute the following SQL query to create a new scrip action: rt2=# INSERT INTO scripactions (name,description,execmodule,argument,creator,created,lastupdatedby,lastupdated) VALUES ('example.com-NotifyCcsAsComment','Sends mail to Ccs','NotifyAsComment','Cc',1,'now',1,now); Note, that's for postgres, I assume 'now' will work for mysql also as the current date. It's the execmodule='NotifyAsComment' and the argument='Cc' that does the work. Do a 'SELECT * FROM scripactions;' to get a look at how the existing scrip actions are set up first. -Feargal. On Sun, 2 Dec 2001 00:35:53 -0800, Brian McClendon wrote: > I'm running 2.0.7 on RH 7.1. > > I think I've read all the docs for 1.0/2.0, but I'm sure I > missed something. I currently have global scrips: > OnCreate AutoreplyToRequestors with template Autoreply > OnCorrespond NotifyAllWatchers with template Correspondence > OnResolve NotifyRequestors with template Resolved > OnComment NotifyAdminCcsAsComment with template AdminComment > OnCreate NotifyAllWatchers with template Correspondence > > Yet a comment does not get sent to CCers, only watchers of the queue. > I tried "OnComment, NotifyAllWatchers", but this sends mail to the > Requestor also, and that is not what I intended. > > --- > --- > --- > > To further demonstrate my ignorance, I really like that rt2stats CGI, > but I can't seem to make it run as a cgi from the httpd as configured > for RT. I tried forcing a directory to be cgi-enabled, but something > seems to be preventing it from running. The cgi runs fine from the > command line, so its just an httpd config issue. > > Any help would be appreciated... thanks. > > > > -- > -------------------------------------------------------- > Brian McClendon bam@intrinsic.com 650-966-6804 > -------------------------------------------------------- > > _______________________________________________ > rt-users mailing list > rt-users@lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > -- Feargal Reilly, | Communications House, Systems Administrator. | 1a Lower Pembroke Street, The CIA - http://www.thecia.ie/ | Dublin 2, Ph: +353-1-6768230 Fax: +353-1-6767720 | Ireland. PGP fingerprint: 9EA0 F62E 2345 6062 E522 00F2 31D0 B1B0 D678 96DB -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://pallas.eruditorum.org/pipermail/rt-users/attachments/20011203/2df48dda/attachment.pgp From don at zeroazimuth.com Mon Dec 3 06:05:26 2001 From: don at zeroazimuth.com (Don Silvia) Date: Sun Apr 11 16:09:38 2004 Subject: [rt-users] Can't start apache after 2.0.9 installation Message-ID: Hi all, I'm having trouble starting apache after adding the following perl handler for RT: Alias /rt/ /opt/rt2/WebRT/html/ PerlRequire /opt/rt2/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason Summary of my system: - Red Hat 7.1 - Perl 5.6.1 - mod_perl 1.26 - apache 1.3.22 I rebuilt mod_perl and apache as follows: perl Makefile.PL APACHE_PREFIX=/usr/local/apache APACHE_SRC=../apache-1.3.22/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 PERL_TABLE_API=1 I added the PERL_TABLE_API after seeing a previous post on this list, and it did suppress an error with Apache::Table. The apache log file shows these errors: [Sun Dec 2 10:46:41 2001] [error] Can't call method "get" on an undefined value at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 365. Compilation failed in require at /opt/rt2/bin/webmux.pl line 20. BEGIN failed-- compilation aborted at /opt/rt2/bin/webmux.pl line 20. Compilation failed in require at (eval 18) line 1. Syntax error on line 286 of /usr/local/apache/conf/httpd.conf: Can't call method "get" on an undefined value at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 365. Compilation failed in require at /opt/rt2/bin/webmux.pl line 20. BEGIN failed-- compilation aborted at /opt/rt2/bin/webmux.pl line 20. Compilation failed in require at (eval 18) line 1. Any ideas on how to resolve this? Thanks, Don Silvia From EMandel at worldnow.com Mon Dec 3 08:45:32 2001 From: EMandel at worldnow.com (Eric Mandel) Date: Sun Apr 11 16:09:38 2004 Subject: [rt-users] Adding new indexes in 2.0.9 to pre-existing 2.0.9 database Message-ID: Hi, I just upgraded from 2.0.7 to 20.9 and everything seems great. Thanks for the new enhancements Jesse. There's one thing that I would like to implement that I think didn't happen during the upgrade. I remember reading about some new indexes for a MySQL database. During make upgrade, I don't think they were added. Is there a .sql command file that just includes the statements to add the indexes. Is that all that's need to add them? Thanks. Eric Mandel WorldNow Enabling media companies to build powerful new businesses on the Internet. This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. From mole at zebra.co.uk Mon Dec 3 09:59:34 2001 From: mole at zebra.co.uk (Mole) Date: Sun Apr 11 16:09:39 2004 Subject: [rt-users] newby help Message-ID: <01120314593405.08697@moleshole.zebra.co.uk> Hi , I've just installed RT and having trouble getting working if I enter a username and password form the initial login screen I get the following error RT version is 2.09 any helpful pointers gratefully accepted Kind regards Caroline raw error: error while executing /autohandler: Can't call method "SimpleQuery" on an undefined value at /usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm line 788. HTML::Mason::Interp::__ANON__('Can\'t call method "SimpleQuery" on an undefined value at /usr/l...') called at /usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm line 788 DBIx::SearchBuilder::Record::_LoadFromSQL('RT::CurrentUser=HASH(0x81fdc38)', 'SELECT * FROM Users WHERE Name = ?', 'root') called at /usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm line 719 DBIx::SearchBuilder::Record::LoadByCols('RT::CurrentUser=HASH(0x81fdc38)', 'Name', 'root') called at /usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record/Cachable.pm line 71 DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::CurrentUser=HASH(0x81f dc38)', 'Name', 'root') called at /usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm line 688 DBIx::SearchBuilder::Record::LoadByCol('RT::CurrentUser=HASH(0x81fdc38)', 'Name', 'root') called at /rt/opt/lib/RT/CurrentUser.pm line 185 RT::CurrentUser::Load('RT::CurrentUser=HASH(0x81fdc38)', 'root') called at /rt/opt/WebRT/data/obj/autohandler line 43 HTML::Mason::Commands::__ANON__('pass', 'xxxxxx', 'user', 'root') called at /usr/lib/perl5/5.6.1/i386-linux/HTML/Mason/Component.pm line 131 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8d09e50 )', 'pass', 'xxxxxx, 'user', 'root') called at /usr/lib/perl5/5.6.1/i386-linux/HTML/Mason/Request.pm line 653 eval {...} called at /usr/lib/perl5/5.6.1/i386-linux/HTML/Mason/Request.pm line 653 HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x81b896 8)', 'HASH(0x81fdd70)', 'HTML::Mason::Component::FileBased=HASH(0x8d09e50)', 'pass', 'xxxxxx', 'user', 'root') called at /usr/lib/perl5/5.6.1/i386-linux/HTML/Mason/Request.pm line 159 eval {...} called at /usr/lib/perl5/5.6.1/i386-linux/HTML/Mason/Request.pm line 159 HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x81b896 8)', '/index.html', 'pass', 'xxxxxx, 'user', 'root') called at /usr/lib/perl5/5.6.1/i386-linux/HTML/Mason/ApacheHandler.pm line 914 HTML::Mason::ApacheHandler::handle_request_1('HTML::Mason::ApacheHandler=HASH (0x8ce2784)', 'Apache=SCALAR(0x8ce2574)', 'HTML::Mason::Request::ApacheHandler=HASH(0x81b8968)', undef) called at /usr/lib/perl5/5.6.1/i386-linux/HTML/Mason/ApacheHandler.pm line 560 eval {...} called at /usr/lib/perl5/5.6.1/i386-linux/HTML/Mason/ApacheHandler.pm line 560 HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0 x8ce2784)', 'Apache=SCALAR(0x8ce2574)') called at /usr/lib/perl5/5.6.1/i386-linux/HTML/Mason/ApacheHandler.pm line 1037 HTML::Mason::ApacheHandler::handler('Apache=SCALAR(0x8ce2574)') called at /dev/null line 0 eval {...} called at /dev/null line 0 From psneto at telepar.com.br Mon Dec 3 12:19:08 2001 From: psneto at telepar.com.br (Presciliano dos Santos Neto) Date: Sun Apr 11 16:09:39 2004 Subject: [rt-users] Can't do setuid Message-ID: <3D98391A7EA2D31192E5000629385A9606CCAAB1@correio.telepar.com.br> I'm running RT on Conectiva Linux, so I chmoded u+s /usr/bin/suidperl: [root@pinguim bin]# ls -la /usr/bin/suidperl -rwsr-xr-x 1 root root 694872 Sep 5 07:15 /usr/bin/suidperl However, I still get the following error when sending an e-mail to the queue: ----- The following addresses had permanent fatal errors ----- "|/usr/local/rt2/bin/rt-mailgate --queue abuse --action correspond" (expanded from: ) ----- Transcript of session follows ----- Can't do setuid 554 5.3.0 "|/usr/local/rt2/bin/rt-mailgate --queue abuse --action correspond"... unknown mailer error 2 Any idea ? Thanks, Presciliano From mbuehler at musicnet.com Mon Dec 3 13:39:47 2001 From: mbuehler at musicnet.com (Martin Buehler) Date: Sun Apr 11 16:09:39 2004 Subject: [rt-users] Non-authenticated ticket viewing? Message-ID: I've been through the FAQ's and the archives, and haven't found the answer or if it's possible. Is there any way to let the requestor without rights view a ticket without logging in? Don't even care if they all use a common account and the credentials are stuck in the URL (a la the "view your ticket" email generated by scrips). Anybody had luck with this? Thanks, mbuehler From Peter_Losher at isc.org Mon Dec 3 14:59:14 2001 From: Peter_Losher at isc.org (Peter Losher) Date: Sun Apr 11 16:09:39 2004 Subject: [rt-users] Limiting SPAM into rt2 system. Message-ID: <20011203115102.T40254-100000@tardis.isc.org> Hi, This is more of a general implementation question, but I am looking to upgrade out current bug-tracking system from RT1 and req, to a integrated RT2 system, using PostgreSQL as a database backend. One question I do have, one requirement that we do have is that we accept bug reports via email. While this makes it easier (we think), it opens us up to spam... large amounts of spam... REALLY large amounts of spam on a daily basis (as these bugs aliases are very well known in the Internet community, we are on every known spammers list). We even have the occasional mail-loop to provide fun for one and all. Are there ways in the mail gateway abilities in RT2 to prevent this? Something like a cookie-based system, where you have to confirm your bug submission before it gets entered into the db? Or are their other ways other RT admins have dealt with this issue? Thanks for your input... :) -Peter -- Peter_Losher@isc.org - Internet Software Consortium - http://www.isc.org/ From jesse at bestpractical.com Mon Dec 3 15:09:42 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:39 2004 Subject: [rt-users] Limiting SPAM into rt2 system. In-Reply-To: <20011203115102.T40254-100000@tardis.isc.org>; from Peter_Losher@isc.org on Mon, Dec 03, 2001 at 11:59:14AM -0800 References: <20011203115102.T40254-100000@tardis.isc.org> Message-ID: <20011203150942.Q2251@pallas.fsck.com> Personally, I'd recommend using a system like the RBL to limit the spam getting into your systems. I suspect that the ISC can probably negotiate a discounted RBL contract ;) -j On Mon, Dec 03, 2001 at 11:59:14AM -0800, Peter Losher wrote: > Hi, > > This is more of a general implementation question, but I am looking to > upgrade out current bug-tracking system from RT1 and req, to a integrated > RT2 system, using PostgreSQL as a database backend. > > One question I do have, one requirement that we do have is that we accept > bug reports via email. While this makes it easier (we think), it opens us > up to spam... large amounts of spam... REALLY large amounts of spam on a > daily basis (as these bugs aliases are very well known in the Internet > community, we are on every known spammers list). We even have the > occasional mail-loop to provide fun for one and all. > > Are there ways in the mail gateway abilities in RT2 to prevent this? > Something like a cookie-based system, where you have to confirm your bug > submission before it gets entered into the db? Or are their other ways > other RT admins have dealt with this issue? > > Thanks for your input... :) > > -Peter > -- > Peter_Losher@isc.org - Internet Software Consortium - http://www.isc.org/ > > > _______________________________________________ > rt-users mailing list > rt-users@lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. From Peter_Losher at isc.org Mon Dec 3 15:17:59 2001 From: Peter_Losher at isc.org (Peter Losher) Date: Sun Apr 11 16:09:39 2004 Subject: [rt-users] Limiting SPAM into rt2 system. In-Reply-To: <20011203150942.Q2251@pallas.fsck.com> Message-ID: <20011203121029.W40254-100000@tardis.isc.org> On Mon, 3 Dec 2001, Jesse Vincent wrote: > Personally, I'd recommend using a system like the RBL to limit the spam > getting into your systems. I suspect that the ISC can probably negotiate a > discounted RBL contract ;) We already do use the RBL, and have for a long time ;) While it does a good job in a lot of respects, a lot of spam still gets through. (A lot of it new spam that hasn't yet been added to the RBL database). Then there are the broken MTA's/autoresponders that make my life... er um. interesting. (looping mail, oh fun) -Peter -- Peter_Losher@isc.org - Internet Software Consortium - http://www.isc.org/ From matthew.zeier at thirdcoast.net Mon Dec 3 15:34:56 2001 From: matthew.zeier at thirdcoast.net (matthew zeier) Date: Sun Apr 11 16:09:39 2004 Subject: [rt-users] Limiting SPAM into rt2 system. References: <20011203121029.W40254-100000@tardis.isc.org> Message-ID: <084001c17c39$f8f1f0b0$0b16160a@Desktop> Yeah, I second that. I'm using procmail to filter out emails and the hand off the the real RT address. > On Mon, 3 Dec 2001, Jesse Vincent wrote: > > > Personally, I'd recommend using a system like the RBL to limit the spam > > getting into your systems. I suspect that the ISC can probably negotiate a > > discounted RBL contract ;) > > We already do use the RBL, and have for a long time ;) While it does a > good job in a lot of respects, a lot of spam still gets through. (A lot > of it new spam that hasn't yet been added to the RBL database). Then > there are the broken MTA's/autoresponders that make my life... er um. > interesting. (looping mail, oh fun) > > -Peter > -- > Peter_Losher@isc.org - Internet Software Consortium - http://www.isc.org/ > > > _______________________________________________ > rt-users mailing list > rt-users@lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > From psneto at telepar.com.br Mon Dec 3 15:35:06 2001 From: psneto at telepar.com.br (Presciliano dos Santos Neto) Date: Sun Apr 11 16:09:40 2004 Subject: RES: [rt-users] Can't do setuid Message-ID: <3D98391A7EA2D31192E5000629385A9606CCAAB5@correio.telepar.com.br> Aditional information: Sendmail version: 8.11.1/8.8.7 #/etc/aliases ... rt-comment: "|/usr/local/rt2/bin/rt-mailgate --queue general --action comment" rt: "|/usr/local/rt2/bin/rt-mailgate --queue general --action correspond" ... abuse-comment: "|/usr/local/rt2/bin/rt-mailgate --queue abuse --action comment" abuse: "|/usr/local/rt2/bin/rt-mailgate --queue abuse --action correspond" ... Thanks, Presciliano > ----- Mensagem original ----- > De: Presciliano dos Santos Neto > Enviada em: Segunda-feira, 3 de Dezembro de 2001 15:19 > Para: 'rt-users@lists.fsck.com' > Assunto: [rt-users] Can't do setuid > > I'm running RT on Conectiva Linux, so I chmoded u+s /usr/bin/suidperl: > > [root@pinguim bin]# ls -la /usr/bin/suidperl > -rwsr-xr-x 1 root root 694872 Sep 5 07:15 /usr/bin/suidperl > > However, I still get the following error when sending an e-mail to the > queue: > > ----- The following addresses had permanent fatal errors ----- > "|/usr/local/rt2/bin/rt-mailgate --queue abuse --action correspond" > (expanded from: ) > > ----- Transcript of session follows ----- > Can't do setuid > 554 5.3.0 "|/usr/local/rt2/bin/rt-mailgate --queue abuse --action > correspond"... unknown mailer error 2 > > Any idea ? > > Thanks, > > Presciliano > > _______________________________________________ > rt-users mailing list > rt-users@lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users From pdh at snapgear.com Mon Dec 3 16:58:34 2001 From: pdh at snapgear.com (Phil Homewood) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Can't do setuid In-Reply-To: <3D98391A7EA2D31192E5000629385A9606CCAAB1@correio.telepar.com.br> References: <3D98391A7EA2D31192E5000629385A9606CCAAB1@correio.telepar.com.br> Message-ID: <20011204075834.G1668@moreton.com.au> Presciliano dos Santos Neto wrote: > I'm running RT on Conectiva Linux, so I chmoded u+s /usr/bin/suidperl: > > However, I still get the following error when sending an e-mail to the > queue: > > Can't do setuid Assuming nothing is removing the suid bit on that executable, you may have the same problem as has been reported under Slackware. See http://www.helgrim.com/rtdocs/faq.html#71 for suggestions. From bruce_campbell at ripe.net Mon Dec 3 17:36:39 2001 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Limiting SPAM into rt2 system. In-Reply-To: <20011203115102.T40254-100000@tardis.isc.org> Message-ID: On Mon, 3 Dec 2001, Peter Losher wrote: > One question I do have, one requirement that we do have is that we accept > bug reports via email. While this makes it easier (we think), it opens us > up to spam... large amounts of spam... REALLY large amounts of spam on a > daily basis (as these bugs aliases are very well known in the Internet > community, we are on every known spammers list). We even have the > occasional mail-loop to provide fun for one and all. I'll raise you one. We get people whinging about spam mail that they've received, in addition to receiving the sodding crap. And they're not very polite about it either. > Are there ways in the mail gateway abilities in RT2 to prevent this? > Something like a cookie-based system, where you have to confirm your bug > submission before it gets entered into the db? Or are their other ways > other RT admins have dealt with this issue? On a slightly serious note, maybe a 'white' listing approach would work, similar to the spamcop once-off of: Your address is not recognised. Please confirm it by replying to this message, then we'll process your mail/bug report. Elsethread, someone mentioned procmail.. looking at the procmailex man page, this seems trivial to implement.. Actually, I've spent 10 minutes or so and the below is the (untested) result - if it doesn't make sense, read the procmail man pages before asking ;) Have fun. -- Main rt procmail protection :0 :sender.chk * !^FROM_MAILER * !^X-Loop:.*RT * ^TO_rt_address { :0 Whc: sender.chk | formail -rD 81920 sender.cache # If the address wasn't in the cache. :0 e { # Get a random identifier. 1 line THISID="`perl -e '$frflag=0;while(<>)next if($frflag>0);next unless(m/^From\s(\S+)\s\s\S+/);$add=$1;$frflag=1;$crstr=rand(8192) . $add . rand(16234);$lprt=crypt( $add, "rt");print \"$lprt\n\";}'`" # Send back the identifier. :0 hc | (formail -r -I"Precedence: junk"\ -A"X-Loop: RT-auth-loop" \ -I"From: rt-auth@your-domain" \ ; \ cat std_auth_self_template | \ sed -e "s/IDENTIFIER/$THISID/g" ) | \ $SENDMAIL -t # Save the message in a spot indicated by the identifier. # perl 'crypt' function should be pathname safe. :0 maildir/$THISID } # Address was in the cache - Send it on to RT. :0Whc: fastloop.chk | formail -rD 128 fastloop.cache # Address wasn't in the small fast-loop cache :0e | rt-mailgate # Address was in the fast loop cache. Don't send an auto-ack # in case this is a fast loop. Downside is that if this is a # slow ticket queue, multiple issues from one person will not be # acked until someone else emails the ticketing system. You # could put a crontab to delete the fastloop.cache file every # 30 minutes I guess. :0 | rt-mailgate -no-auto-ack-whats-the-flag-for-this? } # Deal with mails from mailer daemons and possible loops :0 * ^TO_rt | rt-mailgate -no-auto-ack-whats-the-flag-for-this? # Mails not to RT, but received :0 ! human_person --- std_auth_self_template Hi there, Thankyou for emailing Example.Com, the organisation proudly used for examples the world over. Our Marketing people insist that we plug our website, at http://www.example.com/ . So that we can serve *you* better, (and so we're not wasting our time by dealing with spam mail), we'd like to ask you to do something special for us. We have put your original message to one side, where it will be kept nice and secure until we've got this trifling administrative detail out of the way, or a week passes. Please verify that you are a human, and not some annoying spam mail, by replying to this message, making sure that you include the line below. Random-Auth-ID: IDENTIFIER Please send your reply to 'rt-auth@example.com'. Once we receive this, we will send your original message onwards to our shiney tracking system, where we'll keep your original date and time of sending. If you need to interact with us (and we hope you do) beyond the items outlined in your message, we will recognise your address the next time, and not ask you to prove your existence again. Yours in hopeful existence-certainty: Example.Com Proud Makers of Example Texts Everywhere. ---RT-auth procmail snippet # Find the identifier in the mail - 13 chars is what crypt # returns? Note we don't bind to the start of the line, as # too many people misunderstand forward (^), reply (^>\s+) or # other requests. As long as its in the body, as-is, its fine. FOUNDID="`perl -e '$found=0;while(<>){next if( $found > 0);next unless(m/Random-Auth-ID:\s*(\S{13,13})\s*/i;$lprt=$1;if( $lprt =~ /^[A-Za-z0-9]+$/){$found=1;print \"$lprt\n";}}'" # See if its there. :0 * ? test -f mail/$FOUNDID { # The file exists. Send this file on. :0 * ? cat mail/$FOUNDID | formail -s $SENDMAIL -t * ? rm mail/$FOUNDID | ( formail -r -I"Precedence: junk" \ -I"X-Loop: RT-auth@your.domain" \ ; \ cat std_auth_ack ) | $SENDMAIL -t # Some error occured. Bounce to a person. :0 ! human_person } # They had no identifier there. :0 Whc | ( formail -r -I"Precedence: junk" \ -I"X-Loop: RT-auth@your.domain" \ ; \ cat std_no_auth_found ) | $SENDMAIL -t # Bounce it to a human just in case. :0 ! human_person --- Cronscript to clean up old auth files - your xargs may not support this flag. # Find files older than 7 days. 5 */8 * * * find mail -mtime +7 -print | xargs --no-run-if-empty rm --- Are you still reading this far? -- Bruce Campbell RIPE NCC Operations From bruce_campbell at ripe.net Mon Dec 3 17:48:57 2001 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Can't do setuid In-Reply-To: <20011204075834.G1668@moreton.com.au> Message-ID: On Tue, 4 Dec 2001, Phil Homewood wrote: > Presciliano dos Santos Neto wrote: > > I'm running RT on Conectiva Linux, so I chmoded u+s /usr/bin/suidperl: > > > > However, I still get the following error when sending an e-mail to the > > queue: > > > > Can't do setuid > > Assuming nothing is removing the suid bit on that executable, > you may have the same problem as has been reported under > Slackware. See > > http://www.helgrim.com/rtdocs/faq.html#71 Hrmmmm... sounds like a job for something like the majordomo setuid wrapper program.. ultra-tiny setuid compiled program whose only function is to invoke a perl script with the appropriate settings. You could probably use the majordomo wrapper program, recompiling to use the rt group, an rt dummy user, and HOME being /path/to/rt2/bin . ( No, I'm not staying up just to read rt-users ) -- Bruce Campbell RIPE NCC Operations From don at zeroazimuth.com Mon Dec 3 17:41:35 2001 From: don at zeroazimuth.com (Don Silvia) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Can't start apache after 2.0.9 installation In-Reply-To: Message-ID: Here's the output: # make testdeps /usr/bin/perl ./tools/testdeps -warn mysql Checking for DBI 1.18 ...found Checking for DBIx::DataSource 0.02 ...found Checking for DBIx::SearchBuilder 0.47 ...found Checking for HTML::Entities...found Checking for MLDBM...found Checking for Net::Domain...found Checking for Net::SMTP...found Checking for Params::Validate 0.02 ...found Checking for HTML::Mason 0.896 ...found Checking for CGI::Cookie 1.20 ...found Checking for Apache::Cookie...found Checking for Apache::Session 1.53 ...found Checking for Date::Parse...found Checking for Date::Format...found Checking for MIME::Entity 5.108 ...found Checking for Mail::Mailer 1.20 ...found Checking for Getopt::Long 2.24 ...found Checking for Tie::IxHash...found Checking for Text::Wrapper...found Checking for Text::Template...found Checking for File::Spec 0.8 ...found Checking for Errno...found Checking for FreezeThaw...found Checking for File::Temp...found Checking for Log::Dispatch 1.6 ...found Checking for DBD::mysql 2.0416 ...found Actually, I have HTML::Mason v. 1.04 installed. The first time I ran 'make testdeps' it found quite a few things that weren't installed or up to date. So I ran 'make fixdeps' and it seemed to take care of everything. Thanks, Don Silvia -----Original Message----- From: Sheeri Kritzer [mailto:awfief@usg.tufts.edu] Sent: Monday, December 03, 2001 2:08 PM To: Don Silvia Cc: rt-users@lists.fsck.com Subject: Re: [rt-users] Can't start apache after 2.0.9 installation I would make sure you have the latest HTML::Mason perl module installed. what does 'make testdeps' say? -- Sheeri Kritzer Systems Administrator University Systems Group Tufts University 617-627-3925 sheeri.kritzer@tufts.edu On Mon, 3 Dec 2001, Don Silvia wrote: > Hi all, > > I'm having trouble starting apache after adding the following perl handler > for RT: > > Alias /rt/ /opt/rt2/WebRT/html/ > PerlRequire /opt/rt2/bin/webmux.pl > > SetHandler perl-script > PerlHandler RT::Mason > > > Summary of my system: > > - Red Hat 7.1 > - Perl 5.6.1 > - mod_perl 1.26 > - apache 1.3.22 > > I rebuilt mod_perl and apache as follows: > > perl Makefile.PL APACHE_PREFIX=/usr/local/apache > APACHE_SRC=../apache-1.3.22/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 > PERL_TABLE_API=1 > > I added the PERL_TABLE_API after seeing a previous post on this list, and it > did suppress an error with Apache::Table. > > The apache log file shows these errors: > > [Sun Dec 2 10:46:41 2001] [error] Can't call method "get" on an undefined > value > at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line > 365. > Compilation failed in require at /opt/rt2/bin/webmux.pl line 20. BEGIN > failed-- > compilation aborted at /opt/rt2/bin/webmux.pl line 20. Compilation failed in > require at (eval 18) line 1. > > Syntax error on line 286 of /usr/local/apache/conf/httpd.conf: Can't call > method > "get" on an undefined value at > /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 365. > Compilation failed in require at /opt/rt2/bin/webmux.pl line 20. BEGIN > failed-- > compilation aborted at /opt/rt2/bin/webmux.pl line 20. Compilation failed in > require at (eval 18) line 1. > > Any ideas on how to resolve this? > > Thanks, > > Don Silvia > > > > _______________________________________________ > rt-users mailing list > rt-users@lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > From lists at wordit.com Mon Dec 3 18:13:33 2001 From: lists at wordit.com (Marcus) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Limiting SPAM into rt2 system. In-Reply-To: <20011203121029.W40254-100000@tardis.isc.org> References: <20011203121029.W40254-100000@tardis.isc.org> Message-ID: <200112040013330606.00CA0158@pop3.wordit.com> On 03.12.01 at 12:17 Peter Losher wrote: >We already do use the RBL, and have for a long time ;) While it does a >good job in a lot of respects, a lot of spam still gets through. Well, the other day I got the message below. It's from a system whereby you have to reply once to be added to the accepted addresses list. When you answer, the mail is delivered, and your address is kept and you won't be asked to confirm again. Otherwise the mail is not delivered. [ This notice was generated by TMDA v0.41 , an automated junk-mail reduction system. ] The homepage is actually: http://software.libertine.org/tmda/ Would that kind of thing be an option? Marcus From richard.soderberg at databuilt.com Mon Dec 3 18:32:59 2001 From: richard.soderberg at databuilt.com (Richard Soderberg) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Limiting SPAM into rt2 system. Message-ID: <245D3383FB8F0C469218514273488A27034207@hh-nts01.databuilt.com> It occurs to me that perhaps adding some kind of RBL support into RT itself such that there was no need to depend on the MTA for spam filtering could be a useful thing? R. From jesse at bestpractical.com Mon Dec 3 18:40:52 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Limiting SPAM into rt2 system. In-Reply-To: <245D3383FB8F0C469218514273488A27034207@hh-nts01.databuilt.com>; from richard.soderberg@databuilt.com on Mon, Dec 03, 2001 at 06:32:59PM -0500 References: <245D3383FB8F0C469218514273488A27034207@hh-nts01.databuilt.com> Message-ID: <20011203184052.S2251@pallas.fsck.com> I believe pretty firmly that something like that should be in a filter in front of RT, either in your MTA or in procmail. Though, as always, good code or good money are really good at influencing me ;) -j On Mon, Dec 03, 2001 at 06:32:59PM -0500, Richard Soderberg wrote: > It occurs to me that perhaps adding some kind of RBL support into RT > itself such that there was no need to depend on the MTA for spam > filtering could be a useful thing? > > R. > > _______________________________________________ > rt-users mailing list > rt-users@lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. From russj at dimstar.net Mon Dec 3 18:37:49 2001 From: russj at dimstar.net (Russ Johnson) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Limiting SPAM into rt2 system. In-Reply-To: <084001c17c39$f8f1f0b0$0b16160a@Desktop> References: <20011203121029.W40254-100000@tardis.isc.org> Message-ID: <5.1.0.14.0.20011203153532.00a748c0@127.0.0.1> Has anyone looked into implementing spambouncer (http://www.spambouncer.org/) in front of RT? At 12:34 PM 12/3/2001 -0800, you wrote: > > We already do use the RBL, and have for a long time ;) While it does a > > good job in a lot of respects, a lot of spam still gets through. (A lot > > of it new spam that hasn't yet been added to the RBL database). Then > > there are the broken MTA's/autoresponders that make my life... er um. > > interesting. (looping mail, oh fun) "The power to untie is stronger than the power to tie." Well, yeah, otherwise my shoes would tie themselves. --- Russ Johnson Stargate Online http://www.dimstar.net telnet://telnet.dimstar.net ICQ: 3739685 From cgilmore at tivoli.com Mon Dec 3 18:47:04 2001 From: cgilmore at tivoli.com (Christian Gilmore) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Limiting SPAM into rt2 system. In-Reply-To: Message-ID: <000001c17c54$d07266e0$69285492@tivoli.com> This suggestion will obviously not be applicable to all (many?) situations, but if you have your users' information be available in an external datasource such as LDAP, you can simply define the $LookupSenderInExternalDatabase and $SenderMustExistInExternalDatabase options in config.pm. This setting ensures that only tickets are created for known (to your external datasource) users. Otherwise, the incoming request will bounce with the AutoRejectRequest template, if defined, or a generic response. Regards, Christian ----------------- Christian Gilmore Team Lead Web Infrastructure & Tools IBM Software Group From atrus at atrustrivalie.org Tue Dec 4 01:21:34 2001 From: atrus at atrustrivalie.org (Yann Ramin) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Not sending mail (Postfix on FreeBSD) Message-ID: <3C0C6B6E.8000404@atrustrivalie.org> I'm trying to get RT working on a FreeBSD system with the stock Sendmail replaced with Postfix. As far as I can tell, it is not sucessfuly sending any mail upon ticket recieved, replys, etc. Any suggestions? What should I set logging to to get a better idea of whats happening? Thanks, Yann From pdh at snapgear.com Tue Dec 4 01:49:46 2001 From: pdh at snapgear.com (Phil Homewood) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Not sending mail (Postfix on FreeBSD) In-Reply-To: <3C0C6B6E.8000404@atrustrivalie.org> References: <3C0C6B6E.8000404@atrustrivalie.org> Message-ID: <20011204164946.Q1668@moreton.com.au> Yann Ramin wrote: > I'm trying to get RT working on a FreeBSD system with the stock Sendmail > replaced with Postfix. As far as I can tell, it is not sucessfuly > sending any mail upon ticket recieved, replys, etc. Any suggestions? > What should I set logging to to get a better idea of whats happening? Have you set up your scrips? http://www.helgrim.com/rtdocs/installation.html#44 (FAQ maintainers: Shouldn't this be in the FAQ?) From scott at xs4all.nl Tue Dec 4 05:08:46 2001 From: scott at xs4all.nl (Scott A. McIntyre) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Including a local file with OnCreate? Message-ID: <20011204110846.I11872@xs4all.nl> Hi, I'm looking for a way to use RT to send out automated messages that are triggered by an external application, or perhaps email, which may contain, or be required to contain, information that isn't already within the RT system itself. For example, say that I wanted RT to send out a virus alert message to notify someone that they're infected with a particular computer virus. If I have a database of usernames and IP addresses, perhaps internet domain names, then I'd like my alert to be sent to the email address in charge of the IP address/domain, but to have the warning sent reference them as well. The easiest way I can think of performing this would be to run rt with --requestors of the destination address, --queue for the virus type, but then have an external file also be included with the OnCreate template which includes whatever extra information out external databases provided. In other words, to have the template object read in from an optionally provided filename, or posibly a new Action which will when applied to an OnCreate will include the text we generate elsewhere as the template. Make sense? The "flow" we've got in mind is that an application on a seperate system will either send a specially crafted email to the RT system, or, more likely, will connect to it and run a command line invocation of RT which will notify someone of their virus infection by creating a ticket in the appropriate queue, as well as include information which we have about their hostname, domains affected, etc. All of this other data is kept outside of RT -- however, perhaps it could be specified in headers and a modified rt-mailgate could use those to put values into a standard template? Anyway, mostly looking for suggestions and ideas...any are welcome! Regards, Scott From bruce_campbell at ripe.net Tue Dec 4 05:20:49 2001 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Including a local file with OnCreate? In-Reply-To: <20011204110846.I11872@xs4all.nl> Message-ID: On Tue, 4 Dec 2001, Scott A. McIntyre wrote: > For example, say that I wanted RT to send out a virus alert message to > notify someone that they're infected with a particular computer virus. You're more wanting to use RT as a record keeper of notification alerts. I wouldn't use RT to send the outgoing notification, but format the message like: Create RT ticket and get ticket number. Set the queue to be the general virus warning one. Send outgoing notification, quoting ticket number in Subject and ensuring the 'from' and 'reply-to' is the RT system. Copy outgoing notification to RT. Change the requestor on the ticket number to be the address you sent the notification to. Standard RT will do the trick, no need for a modified mailgate. -- Bruce Campbell RIPE NCC Operations From denis at imsltd.com Tue Dec 4 06:28:58 2001 From: denis at imsltd.com (Denis Croombs) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Trying to install Request Tracker on RedHat 7.1 Message-ID: <034401c17cb6$de6c0dc0$381bcac2@denisy2k.imsltd.com> Hi, I am having major problems installing Request Tracker, I have RedHat 7.1, Perl 5.6.0-12, Apache 1.3.19-5, Mysqlclient 9.3.23.22-4, Mysql 3.23.36-1, mysql-server 3.23.36-1 installed and apache is serving a number of sites. (ALL installed from RedHat RPM's ! ) I have installed most of the perl modules required for Request Tracker (http://www.helgrim.com/perlmodules/) but I get the following errors when I try and install these 4 modules libapreq Executing /usr/bin/perl Makefile.PL && make .. Checking if your kit is complete... Looks good Writing Makefile for libapreq mkdir ../blib mkdir ../blib/arch mkdir ../blib/arch/auto mkdir ../blib/arch/auto/libapreq Warning: -L../blib/arch/auto/libapreq changed to -L/tmp/.webmin/libapreq-0.31/Request/../blib/arch/a uto/libapreq Writing Makefile for Apache::Request Warning: -L../blib/arch/auto/libapreq changed to -L/tmp/.webmin/libapreq-0.31/Cookie/../blib/arch/au to/libapreq Writing Makefile for Apache::Cookie Writing Makefile for libapreq mkdir blib/lib mkdir blib/lib/auto mkdir blib/lib/auto/libapreq mkdir blib/man3 cp libapreq.pod blib/lib/libapreq.pod cp lib/Apache/libapreq.pm blib/lib/Apache/libapreq.pm make[1]: Entering directory `/tmp/.webmin/libapreq-0.31/c' gcc -c -I/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/Apache/include -I/us r/lib/perl5/site_perl/5. 6.0/i386-linux/auto/Apache/include/modules/perl -fno-strict-aliasing -O2 -ma rch=i386 -mcpu=i686 -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC -I/usr/lib/perl5/5.6.0/i386-l inux/CORE apache_reques t.c In file included from apache_request.c:58: apache_request.h:5:19: httpd.h: No such file or directory apache_request.h:6:25: http_config.h: No such file or directory apache_request.h:7:23: http_core.h: No such file or directory apache_request.h:8:22: http_log.h: No such file or directory apache_request.h:9:23: http_main.h: No such file or directory apache_request.h:10:27: http_protocol.h: No such file or directory apache_request.h:11:25: util_script.h: No such file or directory make[1]: *** [apache_request.o] Error 1 make[1]: Leaving directory `/tmp/.webmin/libapreq-0.31/c' make: *** [subdirs] Error 2 CGI.pm Executing make test .. PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i386-linux -I/us r/lib/ perl5/5.6.0 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/esc...............ok t/form..............ok t/function..........FAILED tests 14-15 Failed 2/27 tests, 92.59% okay t/html..............ok t/pretty............ok t/request...........FAILED tests 15-16 Failed 2/33 tests, 93.94% okay Failed Test Status Wstat Total Fail Failed List of failed --------------------------------------------------------------------- ---------- t/function.t 27 2 7.41% 14-15 t/request.t 33 2 6.06% 15-16 Failed 2/6 test scripts, 66.67% okay. 4/165 subtests failed, 97.58% okay. make: *** [test_dynamic] Error 29 MLDBM Executing make test .. PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i386-linux -I/us r/lib/ perl5/5.6.0 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/dumper............ok t/freezethaw........FAILED test 1 Failed 1/4 tests, 75.00% okay t/storable..........ok Failed Test Status Wstat Total Fail Failed List of failed ---------------------------------------------------------------------------- --- t/freezethaw.t 4 1 25.00% 1 Failed 1/3 test scripts, 66.67% okay. 1/16 subtests failed, 93.75% okay. make: *** [test_dynamic] Error 29 Mysql Executing /usr/bin/perl Makefile.PL && make .. Which drivers do you want to install? 1) MySQL only 2) mSQL only (either of mSQL 1 or mSQL 2) 3) MySQL and mSQL (either of mSQL 1 or mSQL 2) 4) mSQL 1 and mSQL 2 5) MySQL, mSQL 1 and mSQL 2 Enter the appropriate number: [3] 3 Do you want to install the MysqlPerl emulation? You might keep your old Mysql module (to be distinguished from DBD::mysql!) if you are concerned about compatibility to existing applications! [n] n Do you want to install the MsqlPerl emulation? You might keep your old Mysql module (to be distinguished from DBD::mysql!) if you are concerned about compatibility to existing applications! [n] n Where is your MySQL installed? Please tell me the directory that contains the subdir 'include'. [/usr/local] /usr/local Cannot find one of include/mysql/mysql.h, include/mysql.h in /usr/local at lib/DBD/mysql/Install.pm line 165. All help/clues very welcome as I have now tried this on 3 different systems and am now making no progress. Denis Croombs Denis Croombs Technical Support Analyst Intelligent Micro Software Please address all support replies to support@imsltd.com For general technical support issues see http:\\www.imsltd.com Developers site and details of BETA software and forthcoming releases. http:\\development.imsltd.com This message is intended for the use of the person (s) ("the intended recipient(s)") to whom it is addressed. It may contain information which is privileged and confidential within the meaning of applicable law. If you are not the intended recipient, please contact the sender as soon as possible. The views expressed in this communication may not necessarily be the views of IMS Ltd. From psneto at telepar.com.br Tue Dec 4 08:01:50 2001 From: psneto at telepar.com.br (Presciliano dos Santos Neto) Date: Sun Apr 11 16:09:40 2004 Subject: RES: [rt-users] Can't do setuid Message-ID: <3D98391A7EA2D31192E5000629385A9606CCAABF@correio.telepar.com.br> Bruce, I've installed majordomo wrapper, but I'm not sure how to use it to solve my problem. Can you please point me in the right direction ? Thanks, Presciliano > ----- Mensagem original ----- > De: Bruce Campbell [SMTP:bruce_campbell@ripe.net] > Enviada em: Segunda-feira, 3 de Dezembro de 2001 20:49 > Para: Phil Homewood > Cc: Presciliano dos Santos Neto; 'rt-users@lists.fsck.com' > Assunto: Re: [rt-users] Can't do setuid > > On Tue, 4 Dec 2001, Phil Homewood wrote: > > > Presciliano dos Santos Neto wrote: > > > I'm running RT on Conectiva Linux, so I chmoded u+s /usr/bin/suidperl: > > > > > > However, I still get the following error when sending an e-mail to the > > > queue: > > > > > > Can't do setuid > > > > Assuming nothing is removing the suid bit on that executable, > > you may have the same problem as has been reported under > > Slackware. See > > > > http://www.helgrim.com/rtdocs/faq.html#71 > > Hrmmmm... sounds like a job for something like the majordomo setuid > wrapper program.. ultra-tiny setuid compiled program whose only function > is to invoke a perl script with the appropriate settings. > > You could probably use the majordomo wrapper program, recompiling to use > the rt group, an rt dummy user, and HOME being /path/to/rt2/bin . > > ( No, I'm not staying up just to read rt-users ) > > -- > Bruce Campbell > RIPE > > NCC > > Operations From bruce_campbell at ripe.net Tue Dec 4 08:46:54 2001 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Using the majordomo wrapper program to get around setuid problem In-Reply-To: <3D98391A7EA2D31192E5000629385A9606CCAABF@correio.telepar.com.br> Message-ID: ( Subject changed to make it easier for people searching the archives ) This is a brief rundown on how to use a setuid program to invoke rt-mailgate, when your OS's perl cannot (or won't) do setuid properly. Firstly, compile and install RT. Secondly, retrieve and extract majordomo from ftp://ftp.greatcircle.com/pub/majordomo . I used version 1.94.5 for this. I've also attached to this message a cut-down Makefile and the original wrapper.c . Thirdly, edit the Majordomo Makefile (or the attached one) and change the following variables: W_HOME = /path/to/rt2/bin W_USER = NUMERIC_ID_OF_RT_USER W_GROUP = NUMERIC_ID_OF_RT_GROUP Next, run 'make wrapper', and 'make install-wrapper' as root. Finally, put it in your /etc/aliases (or appropriate MTA location) as (on one line of course): rt-comment: "|/path/to/rt2/bin/wrapper rt-mailgate --queue QUEUE_NAME --action comment" and rt: "|/path/to/rt2/bin/wrapper rt-mailgate --queue QUEUE_NAME --action correspond" ( Note that wrapper only looks for the program (1st argument) in the HOME directory defined below. You don't need to put '/path/to/rt2/bin/rt-mailgate' in the alias file ) When fault-finding, note that /path/to/rt2/bin/wrapper should be setuid, be owned by root and the RT group, and the /path/to/rt2/bin should be within the wrapper binary, ie: $ strings -a /path/to/rt2/bin/wrapper HOME HOME=/path/to/rt2/bin HOME is %s, If HOME=/something/else, then you've probably ended up with your majordomo version of wrapper. Your next port of call is ensuring that /path/to/rt2/bin/rt-mailgate /path/to/rt2/bin/rt-mailgate is executable by the RT user, that the directory tree all the way to the / is accessible by the RT user, and the perl indicated by the first '#!' line is executable by the RT user. Then further fault-find by judicious application of perl -c and checking that the RT user can access all the libraries, *including* /path/to/rt2/etc/config.pm . I hope this helps. Regards, -- Bruce Campbell RIPE NCC Operations -------------- next part -------------- # Makefile solely for majordomo wrapper for use by RT2 #------------- Configure these items ----------------# # # Put the location of your Perl binary here: PERL = /bin/perl # What do you call your C compiler? CC = cc # Where should the wrapper program to be installed, and the directory that # the wrapper can execute programs from. W_HOME = /path/to/rt2/bin # Remember to create an RT user and group! # You need to have or create a user and group which the wrapper will run as. # Enter the numeric UID and GID (not their names!) here: W_USER = 97 W_GROUP = 97 # These set the permissions for all installed files and executables (except # the wrapper), respectively. Some sites may wish to make these more # lenient, or more restrictive. FILE_MODE = 644 EXEC_MODE = 755 HOME_MODE = 751 # If your system is POSIX (e.g. Sun Solaris, SGI Irix 5 and 6, Dec Ultrix MIPS, # BSDI or other 4.4-based BSD, Linux) use the following four lines. Do not # change these values! WRAPPER_OWNER = root WRAPPER_GROUP = $(W_GROUP) WRAPPER_MODE = 4755 POSIX = -DPOSIX_UID=$(W_USER) -DPOSIX_GID=$(W_GROUP) # Otherwise, if your system is NOT POSIX (e.g. SunOS 4.x, SGI Irix 4, # HP DomainOS) then comment out the above four lines and uncomment # the following four lines. # WRAPPER_OWNER = $(W_USER) # WRAPPER_GROUP = $(W_GROUP) # WRAPPER_MODE = 6755 # POSIX = # This is the environment that (along with LOGNAME and USER inherited from the # parent process, and without the leading "W_" in the variable names) gets # passed to processes run by "wrapper" W_SHELL = /bin/sh W_PATH = /bin:/usr/bin:/usr/ucb W_MAJORDOMO_CF = $(W_HOME)/majordomo.cf # A directory for temp files.. TMPDIR = /usr/tmp #--------YOU SHOULDN'T HAVE TO CHANGE ANYTHING BELOW THIS LINE.------------- VERSION = 1.94.5 # For those stupid machines that try to use csh. Doh! SHELL = /bin/sh WRAPPER_FLAGS = -DBIN=\"$(W_HOME)\" -DPATH=\"PATH=$(W_PATH)\" \ -DHOME=\"HOME=$(W_HOME)\" -DSHELL=\"SHELL=$(W_SHELL)\" \ -DMAJORDOMO_CF=\"MAJORDOMO_CF=$(W_MAJORDOMO_CF)\" \ $(POSIX) INSTALL = ./install.sh TMP = $(TMPDIR)/mj-install-$(VERSION) default: @echo "make what?" @echo " install-wrapper: only install wrapper." @echo " wrapper: only make wrapper." install-wrapper: wrapper $(INSTALL) -o $(WRAPPER_OWNER) -g $(WRAPPER_GROUP) \ -m $(WRAPPER_MODE) wrapper $(W_HOME)/wrapper @echo "" @echo "To verify that all the permissions and etc are correct," @echo "run the command" @echo "" @echo " cd $(W_HOME); ./wrapper config-test" wrapper: wrapper.c $(CC) $(WRAPPER_FLAGS) -o wrapper wrapper.c clean: rm -f wrapper *~ -------------- next part -------------- /* * $Source: /sources/cvsrepos/majordomo/wrapper.c,v $ * $Revision: 1.8 $ * $Date: 1997/08/27 15:01:12 $ * $Author: cwilson $ * $State: Exp $ * * $Locker: $ * */ #ifndef lint static char rcs_header[] = "$Header: /sources/cvsrepos/majordomo/wrapper.c,v 1.8 1997/08/27 15:01:12 cwilson Exp $"; #endif #include #include #if defined(sun) && defined(sparc) #include #endif #ifndef STRCHR # include # define STRCHR(s,c) strchr(s,c) #endif #ifndef BIN # define BIN "/usr/local/mail/majordomo" #endif #ifndef PATH # define PATH "PATH=/bin:/usr/bin:/usr/ucb" #endif #ifndef HOME # define HOME "HOME=/usr/local/mail/majordomo" #endif #ifndef SHELL # define SHELL "SHELL=/bin/sh" #endif char * new_env[] = { HOME, /* 0 */ PATH, /* 1 */ SHELL, /* 2 */ #ifdef MAJORDOMO_CF MAJORDOMO_CF, /* 3 */ #endif 0, /* possibly for USER or LOGNAME */ 0, /* possible for LOGNAME */ 0, /* possibly for timezone */ 0 }; int new_env_size = 7; /* to prevent overflow problems */ main(argc, argv, env) int argc; char * argv[]; char * env[]; { char * prog; int e, i; if (argc < 2) { fprintf(stderr, "USAGE: %s program [ ...]\n", argv[0]); exit(EX_USAGE); } /* if the command contains a /, then don't allow it */ if (STRCHR(argv[1], '/') != (char *) NULL) { /* this error message is intentionally cryptic */ fprintf(stderr, "%s: error: insecure usage\n", argv[0]); exit(EX_NOPERM); } if ((prog = (char *) malloc(strlen(BIN) + strlen(argv[1]) + 2)) == NULL) { fprintf(stderr, "%s: error: malloc failed\n", argv[0]); exit(EX_OSERR); } sprintf(prog, "%s/%s", BIN, argv[1]); /* copy the "USER=" and "LOGNAME=" envariables into the new environment, * if they exist. */ #ifdef MAJORDOMO_CF e = 4; /* the first unused slot in new_env[] */ #else e = 3; /* the first unused slot in new_env[] */ #endif for (i = 0 ; env[i] != NULL && e <= new_env_size; i++) { if ((strncmp(env[i], "USER=", 5) == 0) || (strncmp(env[i], "TZ=", 3) == 0) || (strncmp(env[i], "LOGNAME=", 8) == 0)) { new_env[e++] = env[i]; } } #if defined(SETGROUP) /* renounce any previous group memberships if we are running as root */ if (geteuid() == 0) { /* Should I exit if this test fails? */ char *setgroups_used = "setgroups_was_included"; /* give strings a hint */ #if defined(MAIL_GID) int groups[] = { POSIX_GID, MAIL_GID, 0 }; if (setgroups(2, groups) == -1) { #else int groups[] = { POSIX_GID, 0 }; if (setgroups(1, groups) == -1) { #endif extern int errno; fprintf(stderr, "%s: error setgroups failed errno %d", argv[0], errno); } } #endif #ifdef POSIX_GID setgid(POSIX_GID); #else setgid(getegid()); #endif #ifdef POSIX_UID setuid(POSIX_UID); #else setuid(geteuid()); #endif if ((getuid() != geteuid()) || (getgid() != getegid())) { fprintf(stderr, "%s: error: Not running with proper UID and GID.\n", argv[0]); fprintf(stderr, " Make certain that wrapper is installed setuid, and if so,\n"); fprintf(stderr, " recompile with POSIX flags.\n"); exit(EX_SOFTWARE); } execve(prog, argv+1, new_env); /* the exec should never return */ fprintf(stderr, "wrapper: Trying to exec %s failed: ", prog); perror(NULL); fprintf(stderr, " Did you define PERL correctly in the Makefile?\n"); fprintf(stderr, " HOME is %s,\n", HOME); fprintf(stderr, " PATH is %s,\n", PATH); fprintf(stderr, " SHELL is %s,\n", SHELL); fprintf(stderr, " MAJORDOMO_CF is %s\n", MAJORDOMO_CF); exit(EX_OSERR); } From psneto at telepar.com.br Tue Dec 4 09:00:17 2001 From: psneto at telepar.com.br (Presciliano dos Santos Neto) Date: Sun Apr 11 16:09:40 2004 Subject: RES: [rt-users] Using the majordomo wrapper program to get around setuid problem Message-ID: <3D98391A7EA2D31192E5000629385A9606CCAAC5@correio.telepar.com.br> Yes !! It worked fine !!! Thanks, Presciliano > ----- Mensagem original ----- > De: Bruce Campbell [SMTP:bruce_campbell@ripe.net] > Enviada em: Ter?a-feira, 4 de Dezembro de 2001 11:47 > Para: 'rt-users@lists.fsck.com' > Cc: Presciliano dos Santos Neto > Assunto: [rt-users] Using the majordomo wrapper program to > get around setuid problem > > > ( Subject changed to make it easier for people searching the archives ) > > This is a brief rundown on how to use a setuid program to invoke > rt-mailgate, when your OS's perl cannot (or won't) do setuid properly. > > Firstly, compile and install RT. > > Secondly, retrieve and extract majordomo from > ftp://ftp.greatcircle.com/pub/majordomo . I used version 1.94.5 for this. > I've also attached to this message a cut-down Makefile and the original > wrapper.c . > > Thirdly, edit the Majordomo Makefile (or the attached one) and change the > following variables: > > W_HOME = /path/to/rt2/bin > W_USER = NUMERIC_ID_OF_RT_USER > W_GROUP = NUMERIC_ID_OF_RT_GROUP > > Next, run 'make wrapper', and 'make install-wrapper' as root. > > Finally, put it in your /etc/aliases (or appropriate MTA location) as (on > one line of course): > > rt-comment: "|/path/to/rt2/bin/wrapper rt-mailgate --queue > QUEUE_NAME --action comment" > and > rt: "|/path/to/rt2/bin/wrapper rt-mailgate --queue > QUEUE_NAME --action correspond" > > ( Note that wrapper only looks for the program (1st argument) in the HOME > directory defined below. You don't need to put > '/path/to/rt2/bin/rt-mailgate' in the alias file ) > > When fault-finding, note that /path/to/rt2/bin/wrapper should be setuid, > be owned by root and the RT group, and the /path/to/rt2/bin should be > within the wrapper binary, ie: > > $ strings -a /path/to/rt2/bin/wrapper > HOME > HOME=/path/to/rt2/bin > HOME is %s, > > If HOME=/something/else, then you've probably ended up with your majordomo > version of wrapper. > > Your next port of call is ensuring that /path/to/rt2/bin/rt-mailgate > /path/to/rt2/bin/rt-mailgate is executable by the RT user, that the > directory tree all the way to the / is accessible by the RT user, and the > perl indicated by the first '#!' line is executable by the RT user. Then > further fault-find by judicious application of perl -c and checking that > the RT user can access all the libraries, *including* > /path/to/rt2/etc/config.pm . > > I hope this helps. > > Regards, > > -- > Bruce Campbell > RIPE > > NCC > > Operations << Arquivo: >> << Arquivo: >> From LConrad at Go2France.com Tue Dec 4 09:18:12 2001 From: LConrad at Go2France.com (Len Conrad) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Limiting SPAM into rt2 system. In-Reply-To: <20011203115102.T40254-100000@tardis.isc.org> Message-ID: <5.1.0.14.2.20011204080859.03c18bf0@mail.Go2France.com> >Are there ways in the mail gateway abilities in RT2 to prevent this? I second the TDMA approach which we will be testing RSN, it's essentially a "double opt-in" technique. Bug submitters would get a "please confirm" message. TDMA would be downstream of the usual restrictions in, say, postfix. postfix would scrub 90% of the crap with RBL, DNS validations, protocol enforcement (no SMTP command pipelining, ehlo required). Whatever gets through that obtacle course, still has to be TDMA'd. That approach really ought reduce the spam, imo. And since there aren't 100's or 1000's of you ISC people to teach how to use it ... Len http://MenAndMice.com/DNS-training http://BIND8NT.MEIway.com : ISC BIND 8.2.4 for NT4 & W2K http://IMGate.MEIway.com : Build free, hi-perf, anti-abuse mail gateways From psneto at telepar.com.br Tue Dec 4 09:24:46 2001 From: psneto at telepar.com.br (Presciliano dos Santos Neto) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Abuse queue / Keywords Message-ID: <3D98391A7EA2D31192E5000629385A9606CCAAC7@correio.telepar.com.br> Hello !! Now that my RT install is ok, I'd like to get tips/steps about implementing a queue to track abuse reports. Is possible to automatically group tickets by SPAM subject, removing Fwd: and Re: ? Also, I don't know exactly how to use Keywords Is possible to use this feature to filter attack and spam reports ? Thanks, Presciliano From EAndrejko at transwesttel.com Tue Dec 4 11:21:01 2001 From: EAndrejko at transwesttel.com (Erik Andrejko) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Index.html not found Message-ID: <914E67EC8CE4D211881900A0C93C58606015B7@mail.transwesttel.com> I am experiencing the following trouble with RT2.0.9 and HTML::Mason 1.0.4. When I attempt to open the WebRT page I receive the error: Not Found The requested URL /is/app/rt/index.html was not found on this server. Apache/1.3.22 Server at wwwi.transwesttel.com Port 80 In the error log is the following: [Tue Dec 4 11:13:26 2001] [warn] [Mason] Cannot resolve file to component: /www/wwwi.transwesttel.com/html/is/app/rt/index.html (is file outside component root?) Now I have the following symbolic links: /wwwi -> /www/wwwi.transwesttel.com/html /wwwi/is/app/rt -> /opt/rt2/WebRT/html/ and [root@twtlnx HTML-Mason-1.04]# ls -la /wwwi/is/app/rt lrwxrwxrwx 1 root root 20 Nov 29 13:22 /wwwi/is/app/rt -> /opt/rt2/WebRT/html/ [root@twtlnx HTML-Mason-1.04]# ls -la /wwwi/is/app/rt/ total 14 drwxrwxr-x 10 root is 1024 Dec 4 08:32 . drwxr-xr-x 5 root root 1024 Nov 29 12:41 .. drwxr-xr-x 10 root is 1024 Nov 29 12:13 Admin drwxr-xr-x 2 root is 1024 Nov 29 12:13 CVS drwxr-xr-x 3 root is 1024 Nov 29 12:13 Elements drwxr-xr-x 4 root is 1024 Nov 29 12:13 NoAuth drwxr-xr-x 3 root is 1024 Nov 29 12:13 Search drwxr-xr-x 5 root is 1024 Nov 29 12:13 SelfService drwxr-xr-x 5 root is 1024 Nov 29 12:13 Ticket drwxr-xr-x 3 root is 1024 Nov 29 12:13 User -rwxr-xr-x 1 root is 1918 Nov 6 16:06 autohandler -rwxr-xr-x 1 root is 684 Nov 6 16:06 index.html -rw-rw-r-- 1 andrejko andrejko 84 Dec 4 08:32 test.html [root@twtlnx HTML-Mason-1.04]# The Apache configuration looks like: PerlSetVar MasonCompRoot /wwwi PerlSetVar MasonDataDir /opt/rt2/WebRT/sessiondata PerlModule Apache::DBI PerlModule Apache::Registry PerlModule HTML::Mason::ApacheHandler PerlFreshRestart On PerlRequire /opt/rt2/bin/webmux.pl SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler Options +ExecCGI +Indexes Thanks, Erik From krikke at macatawa.org Tue Dec 4 11:34:48 2001 From: krikke at macatawa.org (Josh Krikke) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Index.html not found In-Reply-To: <914E67EC8CE4D211881900A0C93C58606015B7@mail.transwesttel.com> References: <914E67EC8CE4D211881900A0C93C58606015B7@mail.transwesttel.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 IIRC, Mason doesn't like symbolic links... On Tuesday 04 December 2001 11:21 am, Erik Andrejko wrote: > I am experiencing the following trouble with RT2.0.9 and HTML::Mason > 1.0.4. > > When I attempt to open the WebRT page I receive the error: > > Not Found > The requested URL /is/app/rt/index.html was not found on this server. > > Apache/1.3.22 Server at wwwi.transwesttel.com Port 80 > > In the error log is the following: > > [Tue Dec 4 11:13:26 2001] [warn] [Mason] Cannot resolve file to > component: /www/wwwi.transwesttel.com/html/is/app/rt/index.html (is file > outside component root?) > > Now I have the following symbolic links: > > /wwwi -> /www/wwwi.transwesttel.com/html > /wwwi/is/app/rt -> /opt/rt2/WebRT/html/ > > and > > [root@twtlnx HTML-Mason-1.04]# ls -la /wwwi/is/app/rt > lrwxrwxrwx 1 root root 20 Nov 29 13:22 /wwwi/is/app/rt > -> /opt/rt2/WebRT/html/ > [root@twtlnx HTML-Mason-1.04]# ls -la /wwwi/is/app/rt/ > total 14 > drwxrwxr-x 10 root is 1024 Dec 4 08:32 . > drwxr-xr-x 5 root root 1024 Nov 29 12:41 .. > drwxr-xr-x 10 root is 1024 Nov 29 12:13 Admin > drwxr-xr-x 2 root is 1024 Nov 29 12:13 CVS > drwxr-xr-x 3 root is 1024 Nov 29 12:13 Elements > drwxr-xr-x 4 root is 1024 Nov 29 12:13 NoAuth > drwxr-xr-x 3 root is 1024 Nov 29 12:13 Search > drwxr-xr-x 5 root is 1024 Nov 29 12:13 SelfService > drwxr-xr-x 5 root is 1024 Nov 29 12:13 Ticket > drwxr-xr-x 3 root is 1024 Nov 29 12:13 User > -rwxr-xr-x 1 root is 1918 Nov 6 16:06 autohandler > -rwxr-xr-x 1 root is 684 Nov 6 16:06 index.html > -rw-rw-r-- 1 andrejko andrejko 84 Dec 4 08:32 test.html > [root@twtlnx HTML-Mason-1.04]# > > > The Apache configuration looks like: > > PerlSetVar MasonCompRoot /wwwi > PerlSetVar MasonDataDir /opt/rt2/WebRT/sessiondata > PerlModule Apache::DBI > PerlModule Apache::Registry > PerlModule HTML::Mason::ApacheHandler > PerlFreshRestart On > PerlRequire /opt/rt2/bin/webmux.pl > > > SetHandler perl-script > PerlHandler HTML::Mason::ApacheHandler > Options +ExecCGI +Indexes > > > > > Thanks, > Erik > > > > _______________________________________________ > rt-users mailing list > rt-users@lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users - -- - --------------------------------------- Josh Krikke krikke@macatwa.org Systems Administrator 76 1/2 E. 8th St Holland, MI 49423 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8DPs2j0GVSWTdldsRAh39AJ9uqskT0d1dkMtA8hDKtF4o0W8kQwCeJKHs Q6RczJ7UEb92+ToXxGZsW2s= =JVKk -----END PGP SIGNATURE----- From matthew.zeier at thirdcoast.net Tue Dec 4 14:18:08 2001 From: matthew.zeier at thirdcoast.net (matthew zeier) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] change user email changes requested tickets Message-ID: <031301c17cf8$684db020$0b16160a@Desktop> I've had a couple users who have changed their email addresses. Now when they goto the Start page, they don't see any of their requested tickets. What tables need updating in the database? -- matthew zeier - "In mathematics you don't understand things. You just get used to them." - John von Newmann From jesse at bestpractical.com Tue Dec 4 14:42:35 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] change user email changes requested tickets In-Reply-To: <031301c17cf8$684db020$0b16160a@Desktop>; from matthew.zeier@thirdcoast.net on Tue, Dec 04, 2001 at 11:18:08AM -0800 References: <031301c17cf8$684db020$0b16160a@Desktop> Message-ID: <20011204144235.Y2251@pallas.fsck.com> You should just need to update the user's email address in the 'users' section of the web admin tool. On Tue, Dec 04, 2001 at 11:18:08AM -0800, matthew zeier wrote: > > > I've had a couple users who have changed their email addresses. Now when > they goto the Start page, they don't see any of their requested tickets. > > What tables need updating in the database? > > > -- > matthew zeier - "In mathematics you don't understand things. You just > get used to them." - John von Newmann > > > _______________________________________________ > rt-users mailing list > rt-users@lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. From matthew.zeier at thirdcoast.net Tue Dec 4 15:15:54 2001 From: matthew.zeier at thirdcoast.net (matthew zeier) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] change user email changes requested tickets References: <031301c17cf8$684db020$0b16160a@Desktop> <20011204144235.Y2251@pallas.fsck.com> Message-ID: <03e201c17d00$7a8b8340$0b16160a@Desktop> > You should just need to update the user's email address in the 'users' section > of the web admin tool. I did and that's when all the other tickets disappeared. If I change it back to what it used to be, I can see my requested tickets. Any thoughts? > > > On Tue, Dec 04, 2001 at 11:18:08AM -0800, matthew zeier wrote: > > > > > > I've had a couple users who have changed their email addresses. Now when > > they goto the Start page, they don't see any of their requested tickets. > > > > What tables need updating in the database? > > > > > > -- > > matthew zeier - "In mathematics you don't understand things. You just > > get used to them." - John von Newmann > > > > > > _______________________________________________ > > rt-users mailing list > > rt-users@lists.fsck.com > > http://lists.fsck.com/mailman/listinfo/rt-users > > > > -- > http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. > From jesse at bestpractical.com Tue Dec 4 15:18:32 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Adding new indexes in 2.0.9 to pre-existing 2.0.9 database In-Reply-To: ; from EMandel@worldnow.com on Mon, Dec 03, 2001 at 08:45:32AM -0500 References: Message-ID: <20011204151832.C2251@pallas.fsck.com> So, the best I can offer is for you is a suggestion that you diff the schemas from 2.0.7 and 2.0.9. The new "ADD INDEX" lines can be inserted from the mysql command shell (mysql rt) -j On Mon, Dec 03, 2001 at 08:45:32AM -0500, Eric Mandel wrote: > Hi, > > I just upgraded from 2.0.7 to 20.9 and everything seems great. Thanks for > the new enhancements Jesse. There's one thing that I would like to implement > that I think didn't happen during the upgrade. I remember reading about some > new indexes for a MySQL database. During make upgrade, I don't think they > were added. Is there a .sql command file that just includes the statements > to add the indexes. Is that all that's need to add them? > > Thanks. > > Eric Mandel > WorldNow > > Enabling media companies to build powerful new businesses on the Internet. > > This message may contain confidential and/or privileged information. > If you are not the addressee or authorized to receive this for the > addressee, you must not use, copy, disclose or take any action based on this > message or any information herein. If you have received this message in > error, please advise the sender immediately by reply e-mail and delete this > message. Thank you for your cooperation. > > > _______________________________________________ > rt-users mailing list > rt-users@lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. From EAndrejko at transwesttel.com Tue Dec 4 12:07:04 2001 From: EAndrejko at transwesttel.com (Erik Andrejko) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Index.html not found Message-ID: <914E67EC8CE4D211881900A0C93C58606015B8@mail.transwesttel.com> The login screen now works. However when I attempt to log in I get an error: Mason error error in file: /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record.pm line 789: Can't call method "SimpleQuery" on an undefined value context: ... 785: my $self = shift; 786: my $QueryString = shift; 787: my @bind_values = (@_); 788: 789: my $sth = $self->_Handle->SimpleQuery($QueryString, @bind_values); 790: 791: #TODO this only gets the first row. we should check if there are more. 792: 793: eval { ... component stack: /autohandler code stack: /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record.pm:720 /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record/Cachable.pm:71 /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record.pm:740 /opt/rt2/lib/RT/CurrentUser.pm:179 /opt/rt2/WebRT/sessiondata/obj/autohandler:43 error while executing /autohandler: Can't call method "SimpleQuery" on an undefined value at /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record.pm line 789. HTML::Mason::Interp::__ANON__('Can\'t call method "SimpleQuery" on an undefined value at /usr/l...') called at /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record.pm line 789 DBIx::SearchBuilder::Record::_LoadFromSQL('RT::CurrentUser=HASH(0x8641100)', 'SELECT * FROM Users WHERE id = ?', '') called at /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record.pm line 720 DBIx::SearchBuilder::Record::LoadByCols('RT::CurrentUser=HASH(0x8641100)', 'id', '') called at /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record/Cachable.pm line 71 DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::CurrentUser=HASH(0x86 41100)', 'id', '') called at /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record.pm line 740 DBIx::SearchBuilder::Record::LoadById('RT::CurrentUser=HASH(0x8641100)', '') called at /opt/rt2/lib/RT/CurrentUser.pm line 179 RT::CurrentUser::Load('RT::CurrentUser=HASH(0x8641100)', '') called at /opt/rt2/WebRT/sessiondata/obj/autohandler line 43 HTML::Mason::Commands::__ANON__('pass', '', 'user', '') called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Component.pm line 131 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8640f2 0)', 'pass', '', 'user', '') called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 653 require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 653 HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x863ec 34)', 'HASH(0x863eebc)', 'HTML::Mason::Component::FileBased=HASH(0x8640f20)', 'pass', '', 'user', '') called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 159 require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 159 HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x863ec 34)', '/index.html', 'pass', '', 'user', '') called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 914 HTML::Mason::ApacheHandler::handle_request_1('HTML::Mason::ApacheHandler=HAS H(0x863e514)', 'Apache=SCALAR(0x863e97c)', 'HTML::Mason::Request::ApacheHandler=HASH(0x863ec34)', undef) called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 560 require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 560 HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH( 0x863e514)', 'Apache=SCALAR(0x863e97c)') called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 1019 HTML::Mason::ApacheHandler::handler('/is/app/rt/index.html', 'Apache=SCALAR(0x863e97c)', 'Apache=SCALAR(0x863e97c)') called at /dev/null line 0 require 0 called at /dev/null line 0 > -----Original Message----- > From: Josh Krikke [SMTP:krikke@macatawa.org] > Sent: Tuesday, December 04, 2001 9:35 AM > To: Erik Andrejko; 'rt-users@lists.fsck.com' > Subject: Re: [rt-users] Index.html not found > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > IIRC, Mason doesn't like symbolic links... > > On Tuesday 04 December 2001 11:21 am, Erik Andrejko wrote: > > I am experiencing the following trouble with RT2.0.9 and HTML::Mason > > 1.0.4. > > > > When I attempt to open the WebRT page I receive the error: > > > > Not Found > > The requested URL /is/app/rt/index.html was not found on this server. > > > > Apache/1.3.22 Server at wwwi.transwesttel.com Port 80 > > > > In the error log is the following: > > > > [Tue Dec 4 11:13:26 2001] [warn] [Mason] Cannot resolve file to > > component: /www/wwwi.transwesttel.com/html/is/app/rt/index.html (is file > > outside component root?) > > > > Now I have the following symbolic links: > > > > /wwwi -> /www/wwwi.transwesttel.com/html > > /wwwi/is/app/rt -> /opt/rt2/WebRT/html/ > > > > and > > > > [root@twtlnx HTML-Mason-1.04]# ls -la /wwwi/is/app/rt > > lrwxrwxrwx 1 root root 20 Nov 29 13:22 /wwwi/is/app/rt > > -> /opt/rt2/WebRT/html/ > > [root@twtlnx HTML-Mason-1.04]# ls -la /wwwi/is/app/rt/ > > total 14 > > drwxrwxr-x 10 root is 1024 Dec 4 08:32 . > > drwxr-xr-x 5 root root 1024 Nov 29 12:41 .. > > drwxr-xr-x 10 root is 1024 Nov 29 12:13 Admin > > drwxr-xr-x 2 root is 1024 Nov 29 12:13 CVS > > drwxr-xr-x 3 root is 1024 Nov 29 12:13 Elements > > drwxr-xr-x 4 root is 1024 Nov 29 12:13 NoAuth > > drwxr-xr-x 3 root is 1024 Nov 29 12:13 Search > > drwxr-xr-x 5 root is 1024 Nov 29 12:13 SelfService > > drwxr-xr-x 5 root is 1024 Nov 29 12:13 Ticket > > drwxr-xr-x 3 root is 1024 Nov 29 12:13 User > > -rwxr-xr-x 1 root is 1918 Nov 6 16:06 autohandler > > -rwxr-xr-x 1 root is 684 Nov 6 16:06 index.html > > -rw-rw-r-- 1 andrejko andrejko 84 Dec 4 08:32 test.html > > [root@twtlnx HTML-Mason-1.04]# > > > > > > The Apache configuration looks like: > > > > PerlSetVar MasonCompRoot /wwwi > > PerlSetVar MasonDataDir /opt/rt2/WebRT/sessiondata > > PerlModule Apache::DBI > > PerlModule Apache::Registry > > PerlModule HTML::Mason::ApacheHandler > > PerlFreshRestart On > > PerlRequire /opt/rt2/bin/webmux.pl > > > > > > SetHandler perl-script > > PerlHandler HTML::Mason::ApacheHandler > > Options +ExecCGI +Indexes > > > > > > > > > > Thanks, > > Erik > > > > > > > > _______________________________________________ > > rt-users mailing list > > rt-users@lists.fsck.com > > http://lists.fsck.com/mailman/listinfo/rt-users > > - -- > - --------------------------------------- > Josh Krikke krikke@macatwa.org > Systems Administrator > 76 1/2 E. 8th St > Holland, MI 49423 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE8DPs2j0GVSWTdldsRAh39AJ9uqskT0d1dkMtA8hDKtF4o0W8kQwCeJKHs > Q6RczJ7UEb92+ToXxGZsW2s= > =JVKk > -----END PGP SIGNATURE----- > > _______________________________________________ > rt-users mailing list > rt-users@lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users From jesse at bestpractical.com Tue Dec 4 15:21:47 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:40 2004 Subject: Fwd: [rt-users] New Install question In-Reply-To: <20011203080308.A330@moreton.com.au>; from pdh@snapgear.com on Mon, Dec 03, 2001 at 08:03:08AM +1000 References: <5.1.0.14.2.20011201193857.033a7f80@csibriarcliff.org> <20011203080308.A330@moreton.com.au> Message-ID: <20011204152147.D2251@pallas.fsck.com> On Mon, Dec 03, 2001 at 08:03:08AM +1000, Phil Homewood wrote: > > Now creating a database for RT. > > Enter the mysql password for root: > > Creating mysql database rt. > > DBI->connect(dbname=;host=localhost) failed: Can't connect to local MySQL > > server through socket '/var/lib/mysql/mysql.sock' (111) at > > /usr/local/lib/perl5/site_perl/5.6.1/DBIx/DataSource/Driver.pm line 74 > > "dbname=". Maybe some kind of parsing bug in DBIx::DataSource::mysql.... I believe that's actually correct. that's before there's a db named 'rt' to connect to. Mike's problem was, I believe either a permissions issue with /var/lib/mysql/mysql.sock being unreadable or mysql not running. > > _______________________________________________ > rt-users mailing list > rt-users@lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. From jesse at bestpractical.com Tue Dec 4 15:23:03 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Two questions: comments-to-ccfolk, statistics cgi... where to run In-Reply-To: <20011202003553.A24702@intrinsic.com>; from bam@intrinsic.com on Sun, Dec 02, 2001 at 12:35:53AM -0800 References: <20011202003553.A24702@intrinsic.com> Message-ID: <20011204152303.E2251@pallas.fsck.com> On Sun, Dec 02, 2001 at 12:35:53AM -0800, Brian McClendon wrote: > I'm running 2.0.7 on RH 7.1. > > I think I've read all the docs for 1.0/2.0, but I'm sure I > missed something. I currently have global scrips: > OnCreate AutoreplyToRequestors with template Autoreply > OnCorrespond NotifyAllWatchers with template Correspondence > OnResolve NotifyRequestors with template Resolved > OnComment NotifyAdminCcsAsComment with template AdminComment > OnCreate NotifyAllWatchers with template Correspondence > > Yet a comment does not get sent to CCers, only watchers of the queue. > I tried "OnComment, NotifyAllWatchers", but this sends mail to the > Requestor also, and that is not what I intended. Ccs are treated as ~equivalent to requestors. if you want someone to get comments, you probably want them to be an admincc. -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. From jesse at bestpractical.com Tue Dec 4 15:38:31 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] change user email changes requested tickets In-Reply-To: <03e201c17d00$7a8b8340$0b16160a@Desktop>; from matthew.zeier@thirdcoast.net on Tue, Dec 04, 2001 at 12:15:54PM -0800 References: <031301c17cf8$684db020$0b16160a@Desktop> <20011204144235.Y2251@pallas.fsck.com> <03e201c17d00$7a8b8340$0b16160a@Desktop> Message-ID: <20011204153831.H2251@pallas.fsck.com> It's possible that those tickets were created with the user as an "email address" watcher, rather than as an actual RT user. You might be able to make this happy by doing a search for all the tickets that have the user's address as a requestor and adding and deleting requestors as appropriate. As of 2.0.9, RT makes sure that a requestor is _always_ a user and never just an email address. -j On Tue, Dec 04, 2001 at 12:15:54PM -0800, matthew zeier wrote: > > > > You should just need to update the user's email address in the 'users' > section > > of the web admin tool. > > I did and that's when all the other tickets disappeared. If I change it > back to what it used to be, I can see my requested tickets. Any thoughts? > > > > > > > > On Tue, Dec 04, 2001 at 11:18:08AM -0800, matthew zeier wrote: > > > > > > > > > I've had a couple users who have changed their email addresses. Now > when > > > they goto the Start page, they don't see any of their requested tickets. > > > > > > What tables need updating in the database? > > > > > > > > > -- > > > matthew zeier - "In mathematics you don't understand things. You just > > > get used to them." - John von Newmann > > > > > > > > > _______________________________________________ > > > rt-users mailing list > > > rt-users@lists.fsck.com > > > http://lists.fsck.com/mailman/listinfo/rt-users > > > > > > > -- > > http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. > > > > -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. From krikke at macatawa.org Tue Dec 4 15:49:41 2001 From: krikke at macatawa.org (Josh Krikke) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Index.html not found In-Reply-To: <914E67EC8CE4D211881900A0C93C58606015B8@mail.transwesttel.com> References: <914E67EC8CE4D211881900A0C93C58606015B8@mail.transwesttel.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 What version of SearchBuilder are you using? Make sure it is the most current version... On Tuesday 04 December 2001 12:07 pm, Erik Andrejko wrote: > The login screen now works. However when I attempt to log in I get an > error: > > Mason error > > error in file: > /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record.pm > > line 789: Can't call method "SimpleQuery" on an undefined value > > context: ... > 785: my $self = shift; > 786: my $QueryString = shift; > 787: my @bind_values = (@_); > 788: > 789: my $sth = $self->_Handle->SimpleQuery($QueryString, @bind_values); > 790: > 791: #TODO this only gets the first row. we should check if there are > more. > > 792: > 793: eval { > ... > > component stack: /autohandler > > code stack: > /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record.pm:720 > /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record/Cachable.pm:71 > /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record.pm:740 > /opt/rt2/lib/RT/CurrentUser.pm:179 > /opt/rt2/WebRT/sessiondata/obj/autohandler:43 > error while executing /autohandler: > Can't call method "SimpleQuery" on an undefined value at > /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record.pm line 789. > HTML::Mason::Interp::__ANON__('Can\'t call method "SimpleQuery" on an > undefined value at /usr/l...') called at > /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record.pm line 789 > DBIx::SearchBuilder::Record::_LoadFromSQL('RT::CurrentUser=HASH(0x8641100)' >, 'SELECT * FROM Users WHERE id = ?', '') called at > /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record.pm line 720 > DBIx::SearchBuilder::Record::LoadByCols('RT::CurrentUser=HASH(0x8641100)', > 'id', '') called at > /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record/Cachable.pm line > 71 > DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::CurrentUser=HASH(0x8 >6 41100)', 'id', '') called at > /usr/lib/perl5/site_perl/5.6.0/DBIx/SearchBuilder/Record.pm line 740 > DBIx::SearchBuilder::Record::LoadById('RT::CurrentUser=HASH(0x8641100)', > '') called at /opt/rt2/lib/RT/CurrentUser.pm line 179 > RT::CurrentUser::Load('RT::CurrentUser=HASH(0x8641100)', '') called at > /opt/rt2/WebRT/sessiondata/obj/autohandler line 43 > HTML::Mason::Commands::__ANON__('pass', '', 'user', '') called at > /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Component.pm line 131 > HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8640f >2 0)', 'pass', '', 'user', '') called at > /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 653 > require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm > line 653 > HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x863e >c 34)', 'HASH(0x863eebc)', > 'HTML::Mason::Component::FileBased=HASH(0x8640f20)', 'pass', '', 'user', > '') called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 159 > require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm > line 159 > HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x863e >c 34)', '/index.html', 'pass', '', 'user', '') called at > /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 914 > HTML::Mason::ApacheHandler::handle_request_1('HTML::Mason::ApacheHandler=HA >S H(0x863e514)', 'Apache=SCALAR(0x863e97c)', > 'HTML::Mason::Request::ApacheHandler=HASH(0x863ec34)', undef) called at > /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 560 > require 0 called at > /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 560 > HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH >( 0x863e514)', 'Apache=SCALAR(0x863e97c)') called at > /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 1019 > HTML::Mason::ApacheHandler::handler('/is/app/rt/index.html', > 'Apache=SCALAR(0x863e97c)', 'Apache=SCALAR(0x863e97c)') called at /dev/null > line 0 > require 0 called at /dev/null line 0 > - -- Josh Krikke krikke@macatwa.org MacNet Sysadmin Holland, MI GnuPG Fingerprint: AC6F 13AC F945 CC45 BDFC 509E 8F41 9549 64DD 95DB Get my public key at http://www.macatawa.org/~krikke/my_public_key -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8DTblj0GVSWTdldsRAi6kAJ0dk1Xbmi6hBMYSs3I/zXPox+QDvgCfXiKB z9Y0veHSkJX+44BCtgZYJu0= =zB46 -----END PGP SIGNATURE----- From gilbert at 8020softwaretools.com Tue Dec 4 15:45:02 2001 From: gilbert at 8020softwaretools.com (Steve Gilbert) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] RT 2.0.9...modifying statuses Message-ID: Jesse, I was wondering if you (or anyone else in the know) could comment a little further on this topic. Is the unsupported issue only adding new statuses to the array, or could it also potentially break things to just change the names of the existing statuses? Has anyone out there given this a shot? The only 2.0.9 installation I have at hand right now is in quasi-kinda-sorta-production mode, and it would be bad to break it (still trying to "sell" it to the powers that be...oh so close). If I could simply change the names of the existing statuses, that would be a nice win. If I could add one extra status, that would be a huge win. Thanks so much for any insight. >Yeah. but I still don't recommend it ;) > > >On Thu, Nov 22, 2001 at 06:35:21PM -0800, matthew zeier wrote: >> >> >> > There's an array defined in lib/RT/Queue.pm. But it's really really >> > unsupported. It's the first part of some work I was doing for a >client >> who >> > ended up not paying :/ >> >> Just add to >> >> @STATUS = qw(new open stalled resolved dead); >> >> ? >> >> - mz -- Steve Gilbert gilbert@8020softwaretools.com 80/20 Software Tools www.8020softwaretools.com From mdisney at ecdev.fedex.com Tue Dec 4 15:54:33 2001 From: mdisney at ecdev.fedex.com (Matt Disney) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] SetHandler vs. AddHandler Message-ID: <200112042054.fB4KsYg14986@nfsb.ecdev.fedex.com> In the installation instructions for RT2, I believe the example setup uses "SetHandler perl-script" in the section. Is there any particular advantage to using SetHandler over "AddHandler perl-script .html"? I ask because I've found that if I want to use php in the RT virtual host, the AddHandler is preferable to the SetHandler. Thanks, Matt From Kendric.Beachey at garmin.com Tue Dec 4 16:25:44 2001 From: Kendric.Beachey at garmin.com (Beachey, Kendric) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] e-mail addresses case sensitive--any way to defeat this? Message-ID: <200112042125.PAA26682@dresden.garmin.com> I have some users set up in RT with their e-mail addresses set per our corporate standard, which is firstname.lastname@garmin.com. I've noticed that if a user sends something to RT from a mail client that reports their address as Firstname.Lastname@garmin.com, RT will not recognize them and will create a new user account for them. Is there a way to tell RT to treat addresses on incoming e-mail as being case insensitive? I'm running 2.0.7 on Mandrake 8.1, having compiled perl and apache from scratch instead of using the pre-packaged versions. -- Kendric Beachey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://pallas.eruditorum.org/pipermail/rt-users/attachments/20011204/de507da9/attachment.html From pdh at snapgear.com Tue Dec 4 16:43:38 2001 From: pdh at snapgear.com (Phil Homewood) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] e-mail addresses case sensitive--any way to defeat this? In-Reply-To: <200112042125.PAA26682@dresden.garmin.com> References: <200112042125.PAA26682@dresden.garmin.com> Message-ID: <20011205074338.T1668@moreton.com.au> Beachey, Kendric wrote: > Is there a way to tell RT to treat addresses on incoming e-mail as being > case insensitive? Edit config.pm, look for sub CanonicalizeAddress. Change the line "return ($email)" to "return lc($email)". From jesse at bestpractical.com Tue Dec 4 17:04:02 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] e-mail addresses case sensitive--any way to defeat this? In-Reply-To: <200112042125.PAA26682@dresden.garmin.com>; from Kendric.Beachey@garmin.com on Tue, Dec 04, 2001 at 03:25:44PM -0600 References: <200112042125.PAA26682@dresden.garmin.com> Message-ID: <20011204170402.J2251@pallas.fsck.com> You're running RT on postgres. I've actually been working on just this issue over the past several days. Haul down the latest DBIx-Searchbuilder and RT prereleases from http://www.fsck.com/pub/rt/devel and tell me if this magically fixes the problem. Additionally, it should improve performance just a bit... ;) -j On Tue, Dec 04, 2001 at 03:25:44PM -0600, Beachey, Kendric wrote: > I have some users set up in RT with their e-mail addresses set per our > corporate standard, which is firstname.lastname@garmin.com. I've noticed > that if a user sends something to RT from a mail client that reports their > address as Firstname.Lastname@garmin.com, RT will not recognize them and > will create a new user account for them. > > Is there a way to tell RT to treat addresses on incoming e-mail as being > case insensitive? > > I'm running 2.0.7 on Mandrake 8.1, having compiled perl and apache from > scratch instead of using the pre-packaged versions. > > -- > Kendric Beachey > -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. From gilbert at 8020softwaretools.com Tue Dec 4 18:06:54 2001 From: gilbert at 8020softwaretools.com (Steve Gilbert) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Changing hostname/IP and broken HTML Message-ID: Hi folks, I'm having two problems which may or may not be related... The basics: RT 2.0.9 Solaris 8 Perl 5.6.1 Apache 1.3.22 MySQL 3.23.44 First, through no decision of my own, I just had to change the hostname and IP address of this machine. After doing this, I went through my whole RT install and searched for any mention of the old hostname and changed it anywhere it turned up. Ditto for Apache and MySQL (although I know very little about MySQL). Things seem to be working fine, but I wanted to ask here and see if there is any issue with this that I might have overlooked. Anyone done this before? Now the real problem...I *think* this might have just started when I made the hostname change, but I really can't confirm that for sure. Anyway, when I bring up my login screen, the HTML that is returned is not complete...there is no or tags at the end, which causes some browsers to hang. You can hit Stop and the the page is fine, but I need to figure out what's going on. This only happens on the login screen...all other pages load fine. I will attach a copy of the index.html that it gives me. Thanks for any help with this!!! -- Steve Gilbert gilbert@8020softwaretools.com 80/20 Software Tools www.8020softwaretools.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://pallas.eruditorum.org/pipermail/rt-users/attachments/20011204/1c4976a9/index.html From jesse at bestpractical.com Tue Dec 4 18:46:33 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] RT 2.0.9...modifying statuses In-Reply-To: ; from gilbert@8020softwaretools.com on Tue, Dec 04, 2001 at 12:45:02PM -0800 References: Message-ID: <20011204184633.P2251@pallas.fsck.com> On Tue, Dec 04, 2001 at 12:45:02PM -0800, Steve Gilbert wrote: > Jesse, > I was wondering if you (or anyone else in the know) could > comment a little further on this topic. Is the unsupported issue > only adding new statuses to the array, or could it also potentially > break things to just change the names of the existing statuses? Has > anyone out there given this a shot? The only 2.0.9 installation I > have at hand right now is in quasi-kinda-sorta-production mode, and > it would be bad to break it (still trying to "sell" it to the powers > that be...oh so close). > If I could simply change the names of the existing statuses, > that would be a nice win. If I could add one extra status, that would > be a huge win. Thanks so much for any insight. So, basically, adding statuses shouldn't really break anything. But there's logic that does things based on ticket status. Changing the names of existing statuses could cause logic not to fire or to misfire. > >On Thu, Nov 22, 2001 at 06:35:21PM -0800, matthew zeier wrote: > >> > >> > >> > There's an array defined in lib/RT/Queue.pm. But it's really really > >> > unsupported. It's the first part of some work I was doing for a > >client > >> who > >> > ended up not paying :/ > >> > >> Just add to > >> > >> @STATUS = qw(new open stalled resolved dead); > >> > >> ? > >> > >> - mz > > -- > Steve Gilbert gilbert@8020softwaretools.com > 80/20 Software Tools www.8020softwaretools.com > > > > _______________________________________________ > rt-users mailing list > rt-users@lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. From gilbert at 8020softwaretools.com Tue Dec 4 19:19:43 2001 From: gilbert at 8020softwaretools.com (Steve Gilbert) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Delete queues and groups? Message-ID: I'm just full of questions today. I've seen this question posted before, but never seen an answer to it. How does one go about deleting (not disabling) queues and groups? Am I just overlooking something obvious? This is RT 2.0.9. Thanks. -- Steve Gilbert gilbert@8020softwaretools.com 80/20 Software Tools www.8020softwaretools.com From pierre at global-village.net Tue Dec 4 19:20:23 2001 From: pierre at global-village.net (Pierre Carette) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] DBI.pm and "required_version" References: Message-ID: <023d01c17d22$a22f6660$370a0a0a@globalvillage.net> I got the following message when I try to run apache: /usr/local/apache/bin/apachectl start Syntax error on line 992 of /usr/local/apache/conf/httpd.conf: Can't locate object method "require_version" via package "DBI" (perhaps you forgot to load "DBI"?) at DBI.pm line 9. Compilation failed in require at Apache/DBI.pm line 4. BEGIN failed--compilation aborted at Apache/DBI.pm line 4. Compilation failed in require at (eval 4) line 3. The verions of ApacheDBI I have installed is 0.88. Do I need another version? Thanks, Pierre From jesse at bestpractical.com Tue Dec 4 22:04:22 2001 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Delete queues and groups? In-Reply-To: ; from gilbert@8020softwaretools.com on Tue, Dec 04, 2001 at 04:19:43PM -0800 References: Message-ID: <20011204220422.S2251@pallas.fsck.com> On Tue, Dec 04, 2001 at 04:19:43PM -0800, Steve Gilbert wrote: > I'm just full of questions today. I've seen this question > posted before, but never seen an answer to it. How does one > go about deleting (not disabling) queues and groups? Am I > just overlooking something obvious? This is RT 2.0.9. For groups, it's an oversight in the UI. For qeues, it's something that RT is designed not to let you do. By deleting a queue, you could easily break referential integrity. If you absolutely need to get rid of queue, you can move all tickets (including resolved tickets out of the queue. Then, manually delete entries from the following tables: ACLs Scrips KeywordSelects Watchers Queue > Thanks. > > -- > Steve Gilbert gilbert@8020softwaretools.com > 80/20 Software Tools www.8020softwaretools.com > > > > _______________________________________________ > rt-users mailing list > rt-users@lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > -- http://www.bestpractical.com/products/rt -- Trouble Ticketing. Free. From dewet at itouchlabs.com Wed Dec 5 03:08:59 2001 From: dewet at itouchlabs.com (Dewet Diener) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] RT 2.0.9...modifying statuses In-Reply-To: <20011204184633.P2251@pallas.fsck.com> References: <20011204184633.P2251@pallas.fsck.com> Message-ID: <1007539739.30577.2.camel@insomnia.prv.dev.itouchnet.net> On Wed, 2001-12-05 at 01:46, Jesse Vincent wrote: > So, basically, adding statuses shouldn't really break anything. But there's > logic that does things based on ticket status. Changing the names of existing > statuses could cause logic not to fire or to misfire. We've changed our own statuses since about 2.0.7something, and its been working admirably. As you say, certain decisions screw up a bit (ie, we have a status called 'requestor', meaning we're waiting for input from the requestor. If you reply to a ticket in that state, RT_System will change the status to open, regardless), but I just haven't applied the necessary time to take a look and fix it. Dewet -- Dewet Diener dewet@itouchlabs.com -o) Systems Administrator iTouch Labs / \ Self-confessed geek and Linux fanatic _\_v SYN! ..... SYN! ACK! ..... ACK! The mating call of the internet From thorsten.sturm at gentleware.de Wed Dec 5 05:21:14 2001 From: thorsten.sturm at gentleware.de (Thorsten Sturm) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Problems finding index.html Message-ID: <3C0DF51A.54041E1A@gentleware.de> Hi, I installed and configured RT 2.0.8 and it looks like it works almost correct. I can login as root and create a new ticket. The ticket is shown in the list. So I would assume, that the general functionality is doing alright and even the connection to the DB is working. But there are still 2 issues left, that are really annoying and I don't know how to get rid of them. 1. Everytime an action leads to loading a directory name (which of course means to load the index.html located in the specified directory), all I get is the directory structure itself. A click on the index.html contained in it, brings me to the designated page. How do I configure Apache (?) to load the index.html immediately. This is how it is configured now (just the RT related part); DirectoryIndex index.cgi index.pl index.html Alias /icons/ /var/www/icons/ Alias /rt2/ /opt/rt2/WebRT/html/ PerlModule Apache::DBI PerlFreshRestart On PerlRequire /opt/rt2/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason I also tried to use the DirectoryIndex command without being wrapped in that if statement (I remember from somewhere that this should be the command telling apache to load one of the specified files). But all this has no effect. Be assured that I always stop and start my apache. Any ideas? 2. I tried to add a new user. This seems to work fine. But using the search option, I always get an error message telling me, that there is no directory rt2/Admin/User/ ([error] [client 127.0.0.1] File does not exist: /opt/rt2/WebRT/html/Admin/Users//). But when I try click on "Users" in the configuration section, I get the directory structure of it (see above). What's going wrong here? Maybe my configuration is part of the problem. I installed RT 2.0.8 on a Mandrake 7.2 machine. MySQL is working fine on it. Any help would be appreciated. Thanks Thorsten From psneto at telepar.com.br Wed Dec 5 08:57:54 2001 From: psneto at telepar.com.br (Presciliano dos Santos Neto) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Automatic reply From: field Message-ID: <3D98391A7EA2D31192E5000629385A9606CCAAE1@correio.telepar.com.br> Basic question: is possible to change the e-mail and include a name like "Abuse Dept." in the From: field when autoreplying ? Is this an RT or Sendmail attribute ? TIA, Presciliano From cec2000 at mail.ru Wed Dec 5 10:35:23 2001 From: cec2000 at mail.ru (Sergey Gurov) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] RT and CVS Message-ID: <021201c17da2$74f9dab0$1600a8c0@mainoffice.cfc> What kind of keyword should I use to update 'worked time' of ticket through CVS in log? 'RT-Worked: xxxx' doesn't worked ;-) ERROR: couldn't find a keyword selection matching 'Worked' Sergey. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://pallas.eruditorum.org/pipermail/rt-users/attachments/20011205/a9b35ac7/attachment.html From rjf170 at psu.edu Wed Dec 5 06:21:16 2001 From: rjf170 at psu.edu (Ryan Ferry) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Running RT2 with a remote database Message-ID: <000a01c17d7e$f4b46960$0200000a@blah.net> Hi, I was trying to set up RT2, but I do not have mysql installed on the web server. And since the server i'm installing it to is not that great, i'd rather not install it. Also for security reasons. We have another server just for databases running mysql. It's a beefy machine, and if it's possible i would like to use that machine to store the database for RT2. Is this possible? If so, does anybody know how to do it? Thanks, Ryan Ferry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://pallas.eruditorum.org/pipermail/rt-users/attachments/20011205/3218e4c6/attachment.htm From mdisney at ecdev.fedex.com Wed Dec 5 11:12:42 2001 From: mdisney at ecdev.fedex.com (Matt Disney) Date: Sun Apr 11 16:09:40 2004 Subject: [rt-users] Running RT2 with a remote database In-Reply-To: <000a01c17d7e$f4b46960$0200000a@blah.net> References: <000a01c17d7e$f4b46960$0200000a@blah.net> Message-ID: <200112051612.fB5GCgQ22147@nfsa.ecdev.fedex.com> I'm running RT2 on a different server than my database. You'll need the mysql