RT3 / Email Gateway Problems

Howdy Everyone :slight_smile:

I have setup RT and it from the web it all appears to work OK.

However when I try to email in a request I get the following error in my
/var/log/maillog

Apr 15 14:45:53 rt qmail: 1050383753.172663 delivery 99: deferral:
RT_server_error.//The_RT_server_which_handled_your_email_d
id_not_behave_as_expected.It/said://#BEGIN_LICENSE_BLOCK/#
/#Copyr
ight
©1996-2003_Jesse_Vincent<jesse@bestpractical.
com>/
#/#(Except_where_explictly_superceded_by_other_copyright_notice
s)/
#/#This_work_is_made_available_to_you_under_the
terms_of_Version_2_of/#the_GNU_General_Public_License.A_copy_of_that
license_should_have/#been_provided_with_this_softwa
re,but_in_any_event_can_be_snarfed/#from_www.gnu.org./#
/
#This_wor
k_is_distributed_in_the_hope_that_it_will_be_useful,b
ut/
#WITHOUT_ANY_WARRANTY;without_even_the_implied_warranty_of/#MERC
HANTABILITY_or_FITNESS_FOR_A_PARTICULAR_PURPOSE._See
the_GNU/
#General_Public_License_for_more_details./#
/
#Unless_otherw
ise_specified,

Apr 15 14:45:53 rt qmail:
1050383753.172663+all_modifications,corrections_or/#extensions_to_thi
s_work_which_alter_its_sourc
e_code_become_the/
#property_of_Best_Practical_Solutions,LLC_when_subm
itted_for/
#inclusion_in_the_work./#
/
#
/#END_LIC
ENSE_BLOCK/<ARGS>/$message/$queue=>1/$action=>
“correspond”/$ticket

=>undef/</ARGS>/<init>/use_RT::Interface::Email;/m
y
(
$status,$error,$Ticket_)_=_RT::Interface::email::Gateway(__ARGS);/
</init>/____if($status){/ok/_______if($Ticket-

Id_){/Ticket:<$Ticket->Id>/Queue:<$Ticket->QueueObj->Name>/O
wner:
<$Ticket->OwnerObj->Name>/Status:<$Ticket
->Status
>/Subject:
<$Ticket->Subject>/Requestor:<$Ticket->Reque
stors->MemberEmailAddressesAsString
>/
}/}
_else{
/not_ok
-
<
$error
>_/__}//
Apr 15 14:45:53 rt qmail: 1050383753.173047 status: local 0/10 remote
0/20

I run qmail as my MTA - Contents of /var/qmail/alais :

|preline /opt/rt3/bin/rt-mailgate --queue general --action correspond
–url http://rt.microarts.com.au/

I think I have missed something fairly obvious here - can someone
enlighten me please??

Thanks…

Michael Cheshire | mob : 61 402 277 092
Senior Network Engineer | ph : 1300 738 333
Linux, NT/2K, Cisco | fax : 61 8 8332 8666
CCNA | eml : michaelc@microarts.com.au
Microarts | web : http://www.microarts.com.au

Michael T. Cheshire wrote:

Apr 15 14:45:53 rt qmail: 1050383753.172663 delivery 99: deferral:
RT_server_error.//The_RT_server_which_handled_your_email_d
id_not_behave_as_expected.It/said://#BEGIN_LICENSE_BLOCK/#
/_#Copyr
ight
©1996-2003_Jesse_Vincent<jesse@bestpractical.

You haven’t configured the web server. The mailgate requires that
you do so.
�|� http://www.bestpractical.com/rt – Trouble Ticketing. Free.

I have configured the web server as per the instructions in the RT3
documentation.

It works from the web fine…

Here is my config (I’m using Apache2/Modperl2).

DirectoryIndex index.html index.php AllowOverride None RedirectMatch permanent (.*)/$ http://rt.mycompany.com.au$1/index.html
ServerName rt.microarts.com.au
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8
# this line applies to Apache2+mod_perl2 only
PerlModule Apache2 Apache::compat
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
DirectoryIndex index.html
<Location />
   SetHandler perl-script
   PerlHandler RT::Mason
</Location>

Any suggestions?

M.From: Phil Homewood [mailto:pdh@bestpractical.com]
Sent: Wednesday, 16 April 2003 12:03 PM
To: rt-users@lists.fsck.com
Subject: Re: [rt-users] RT3 / Email Gateway Problems

Michael T. Cheshire wrote:

Apr 15 14:45:53 rt qmail: 1050383753.172663 delivery 99: deferral:
RT_server_error.//The_RT_server_which_handled_your_email_d
id_not_behave_as_expected.It/said://#BEGIN_LICENSE_BLOCK/#
/_#Cop
yr
ight
©1996-2003_Jesse_Vincent<jesse@bestpractical.

You haven’t configured the web server. The mailgate requires that you do
so.

|< http://www.bestpractical.com/rt – Trouble Ticketing. Free.
rt-users mailing list
rt-users@lists.fsck.com http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

This one time, at band camp, Michael T. Cheshire wrote:

I have configured the web server as per the instructions in the RT3
documentation.

It works from the web fine…

Here is my config (I’m using Apache2/Modperl2).

http://lists.fsck.com/pipermail/rt-users/2003-April/013169.html

jaq@spacepants.org http://spacepants.org/jaq.gpg

Thankyou :slight_smile:

Now works OK. I was wondering if it was to do with the web server
config!

M.From: Jamie Wilkinson [mailto:jaq@spacepants.org]
Sent: Wednesday, 16 April 2003 2:21 PM
To: rt-users@lists.fsck.com
Subject: Re: [rt-users] RT3 / Email Gateway Problems

This one time, at band camp, Michael T. Cheshire wrote:

I have configured the web server as per the instructions in the RT3
documentation.

It works from the web fine…

Here is my config (I’m using Apache2/Modperl2).

http://lists.fsck.com/pipermail/rt-users/2003-April/013169.html

jaq@spacepants.org
http://spacepants.org/jaq.gpg
rt-users mailing list
rt-users@lists.fsck.com http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm