[rt-users] RT Mailgate Parsing Problem

Jason Alexander lists at itsecurity3.its.uiowa.edu
Fri Sep 12 17:05:53 EDT 2003


Hello,

I have RT 3.0.4 setup and it appears to be working.  I am using Apache 1 
and FastCGI.  I can bring up the web interface and log in just fine. I 
have added both queues and users.

The problem is that the mailgateway doesn't seem to be working. There 
seems to be a problem with the gateway not parsing the message.
The rt.log shows these messages

------------------------

[Fri Sep 12 20:14:12 2003] [debug]: Guessed encoding: ascii 
(/local/rt/lib/RT/I1
8N.pm:351)
[Fri Sep 12 20:14:12 2003] [info]: <rt-3.0.4-3-3.3.96735257099039 at ITS> 
#3/3 - Sc
rip 2  (/local/rt/lib/RT/Action/SendEmail.pm:92)
[Fri Sep 12 20:14:12 2003] [info]: <rt-3.0.4-3-3.3.96735257099039 at ITS>
  No recipients found. Not sending.
  (/local/rt/lib/RT/Action/SendEmail.pm:257)
[Fri Sep 12 20:14:12 2003] [info]: <rt-3.0.4-3-3.19.8930872651659 at ITS> 
#3/3 - Sc
rip 3  (/local/rt/lib/RT/Action/SendEmail.pm:92)
[Fri Sep 12 20:14:12 2003] [info]: <rt-3.0.4-3-3.19.8930872651659 at ITS>
  No recipients found. Not sending.
  (/local/rt/lib/RT/Action/SendEmail.pm:257)
[Fri Sep 12 20:14:12 2003] [info]: Ticket 3 created in queue 'campus' by 
RT_Syst
em (/local/rt/lib/RT/Ticket_Overlay.pm:626)

-------------------------------


When I look in the RT web interface a ticket is created but none of the 
information from the e-mail is shown in the interface.


My Rt_SiteConfig.pm looks like this.  I have not modified RT_Config.pm 
from the way it comes in the distro.

------------------------------

# $rtname the string that RT will look for in mail messages to
# figure out what ticket a new piece of mail belongs to
# Your domain name is recommended, so as not to pollute the namespace.
# once you start using a given tag, you should probably never change it.
# (otherwise, mail for existing tickets won't get put in the right place

Set($rtname , "IRDB");

# You should set this to your organization's DNS domain. For example,
# fsck.com or asylum.arkham.ma.us. It's used by the linking interface to
# guarantee that ticket URIs are unique and easy to construct.

Set($Organization , "ITS");

# $user_passwd_min defines the minimum length for user passwords. Setting
# it to 0 disables this check
Set($MinimumPasswordLength , "6");

# $Timezone is used to convert times entered by users into GMT and back 
again
# It should be set to a timezone recognized by your local unix box.
Set($Timezone , 'US/Central');


# {{{ Incoming mail gateway configuration

# RTAddressRegexp is used to make sure RT doesn't add itself as a ticket 
CC if
# the setting above is enabled.

Set($RTAddressRegexp , '^rt\@rh3.its.uiowa.edu$');

# RT provides functionality which allows the system to rewrite
# incoming email addresses.  In its simplest form,
# you can substitute the value in CanonicalizeEmailAddressReplace
# for the value in CanonicalizeEmailAddressMatch
# (These values are passed to the CanonicalizeEmailAddress subroutine in 
RT/User.pm)
# By default, that routine performs a s/$Match/$Replace/gi on any 
address passed to it

Set($CanonicalizeEmailAddressMatch   , 'rh3.its.uiowa.edu$');
Set($CanonicalizeEmailAddressReplace , 'rh3.its.uiowa.edu');


# {{{ Web interface configuration

# Define the directory name to be used for images in rt web
# documents.

# If you're putting the web ui somewhere other than at the root of
# your server
# $WebPath requires a leading / but no trailing /

Set($WebPath , "");

# This is the Scheme, server and port for constructing urls to webrt
# $WebBaseURL doesn't need a trailing /

# This is the Scheme, server and port for constructing urls to webrt
# $WebBaseURL doesn't need a trailing /

Set($WebBaseURL , "http://rh3.its.uiowa.edu");


# {{{ Databse Setup

# Password the DatabaseUser should use to access the database
Set($DatabasePassword , '############');

1;
-------------------------------------


Anyone have any ideas.

Thanks
Jason




More information about the rt-users mailing list