Incoming message content (from: warren@mainstream.net)

----- Forwarded message from Warren Small warren@mainstream.net -----Date: Wed, 09 Aug 2000 13:44:24 -0400
From: Warren Small warren@mainstream.net
Organization: Mainstream EIS
X-Mailer: Mozilla 4.61 [en] (X11; U; Linux 2.2.5-15 i686)
To: Jesse jesse@fsck.com
Subject: Re: [rt-users] Incoming message content

Well, Jesse. Chalk this up in the silly installer file. My web server and
mail server are not the same machine and I set up the transaction directory
in a place that was unique to each machine, i.e. not common. I have fixed
this and now I can see the incoming AND outgoing messages.

Thank you for you assistance. It is always helpful to have someone asking
the right questions and pointing you in the right direction. Sorry about
the silly mistake.

Warren

Jesse wrote:

Depends on who your RT is unning as, etc.
now that you ran those commands, what does an ls -alR
of rt/bin look like

OK. I did that

make fixperms

chown -R root /homes/admin/public_html/rt/uproar
chgrp -R wheel /homes/admin/public_html/rt/uproar
chmod -R a+r,a-w /homes/admin/public_html/rt/uproar
( cd /homes/admin/public_html/rt/uproar && find . -type d -exec chmod a+x
{} ; )
chown -R rt /homes/admin/public_html/rt/uproar/etc
/var/log/rt/uproar/transactions
chgrp -R rt /homes/admin/public_html/rt/uproar/etc
/var/log/rt/uproar/transactions
chmod -R a-w,o-r /homes/admin/public_html/rt/uproar/etc
chmod ug+x,o-x /homes/admin/public_html/rt/uproar/etc
chmod -R a-w,o-r,u+rw,g+r /var/log/rt/uproar/transactions
( cd /var/log/rt/uproar/transactions && find . -type d -exec chmod ug+x,o-x
{} ; )
chmod -R a-w,o-r,u+rw,g+r /homes/admin/public_html/rt/uproar/etc/templates
( cd /homes/admin/public_html/rt/uproar/etc/templates && find . -type d
-exec chmod ug+x,o-x {} ; )
chmod 0755 /homes/admin/public_html/rt/uproar/bin/rtmux.pl
chown rt /homes/admin/public_html/rt/uproar/bin/suid_wrapper
chmod 4111 /homes/admin/public_html/rt/uproar/bin/suid_wrapper

but I still dodn’t see the incoming messages. I submitted a new request by
email just to be sure.

Here’s something I hadn’t tried yet. I just created a new request via the
web site and I can see the message that I created in the ticket view. Is
there a difference in the way the internal request is handled versus a
request made via email?

Warren

Jesse wrote:

Ah. there’s some brokenness with some bsd variants
fixperms is a case in the RT makefile
cd into the directory you unpacked RT into
and type ‘make fixperms’

Well, I thought it might be that the web interface couldn’t read the
transaction logs but that doesn’t seem to be the case. As far as the suid
bit, this is what the bin directory looks like:

dr-xr-xr-x 2 rt rt 512 Aug 7 19:58 cgi
lr-xr-xr-x 1 rt rt 51 Aug 7 19:58 rt →
/homes/admin/public_html/rt/uproar/bin/suid_wrapper
lr-xr-xr-x 1 rt rt 51 Aug 7 19:58 rt-mailgate →
/homes/admin/public_html/rt/uproar/bin/suid_wrapper
lr-xr-xr-x 1 rt rt 51 Aug 7 19:58 rtadmin →
/homes/admin/public_html/rt/uproar/bin/suid_wrapper
-rwxr-xr-x 1 rt rt 2165 Aug 7 19:58 rtmux.pl
-r-xr-xr-x 1 rt rt 2166 May 9 1999 rtmux.pl.orig
lr-xr-xr-x 1 rt rt 51 Aug 7 19:58 rtq →
/homes/admin/public_html/rt/uproar/bin/suid_wrapper
—s–x–x 3 rt rt 4801 Aug 7 19:58 suid_wrapper

and bin/cgi

—s–x–x 3 rt rt 4801 Aug 7 19:58 admin-webrt.cgi
—s–x–x 3 rt rt 4801 Aug 7 19:58 webrt.cgi

What’s fixperms? I can’t find it anywhere on our system (BSDI 4.0.1)

BTW, this is a new install of RT 1.0.3

Warren

Jesse wrote:

either a permissions problem or the mailgate lost its suid bit

Try running make fixperms

Yes, RT replys to the sender and it contains a copy of the sender’s email.
RT assigns a number to the request. The request shows up in the ticket view
as ‘Request created by email@domain.com’ but there is no message content.
If I click the reply icon, it shows ‘email@domain.com wrote (date info):’
but no message content again. In the transactions directory, I can see the
incoming messages and headers. Replies are displayed in the ticket view
with message content.

Hmmm, I think I may have a permissions problem with the transaction
directory. I’ll let you know.

Warren

Jesse wrote:

Do you get a reply back when you send in a ticket?
Does it get to rt (per your sendmail logs)
what else can you tell me?

Here’s my aliases:

rt: “|/homes/admin/public_html/rt/uproar/bin/rt-mailgate
lottosupport correspond”
rt-action: “|/homes/admin/public_html/rt/uproar/bin/rt-mailgate
lottosupport action”

They look a lot like what’s in the docs to me.

Warren

Jesse wrote:

Might be something like not reading the docs… What do your mail aliases
look like?

I must be missing something simple here but I can’t seem to get the content
of incoming messages to be logged or displayed. Outgoing replies are fine.
Am I missing a template or is it something dumber like not reading the
docs?

Warren


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


jesse reed vincent — root@eruditorum.orgjesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91

And I’m told we do share some common rituals. Our “flame war” is apparently
held in person in their land and called “project meeting”.
-Alan Cox [on “Suits”]


jesse reed vincent — root@eruditorum.orgjesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91

I admit that X is the second worst windowing system in the world, but all the
others I’ve used are tied for first.


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


jesse reed vincent — root@eruditorum.orgjesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91

And I’m told we do share some common rituals. Our “flame war” is apparently
held in person in their land and called “project meeting”.
-Alan Cox [on “Suits”]


jesse reed vincent — root@eruditorum.orgjesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91

that’s security the same way that asking for directions to topeka and
being told that a seal is a mammal is informative
-robin@apocalypse.org


jesse reed vincent — root@eruditorum.orgjesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91

After all, it’s not every day you meet up with an evil power
-M. Bulgakov

----- End forwarded message -----

jesse reed vincent — root@eruditorum.orgjesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91
Gur SOV jnagf gb znxr guvf fvt vyyrtny.