Hi There<br><br>I'm relatively new to RT but so far it's proven to be a very useful tool! I am having a slight problem after setting it up on a new server/upgrading to RT 3.6, specifically where my Exim setup tries to deliver messages to RT queues.
<br><br>My current setup details:<br><br>Debian etch<br>Apache 2<br>Mysql 5.0.32<br>Exim 4<br>RT 3.6<br><br>The frontend is 100 % operational, and outbound RT responses are sent succesfully. But I'm struggling to find an answer for what happens below. The following is an extract of my exim log file:
<br><br>2007-10-23 22:24:46 1IjryT-0003tY-4j == |/usr/local/rt3/bin/rt-mailgate --queue "Administration" --action correspond --url <a href="http://localhost/">http://localhost/</a> <<a href="mailto:admin@domain.com">
admin@domain.com</a>> R=rt_correspond T=address_pipe defer (0): Child process of address_pipe transport returned 75 (could mean temporary error) from command: /usr/local/rt3/bin/rt-mailgate<br><br>This led me to try and run the command being used manually, but the output as you can see below isn't really a direct error and confusing me :P
<br><br><br><br>rt-server:/home/paul# cat ./mail.msg | /usr/local/rt3/bin/rt-mailgate --queue "Administration" --action correspond --url <a href="http://localhost/">http://localhost/</a><br>RT server error.<br><br>
The RT server which handled your email did not behave as expected. It<br>said:<br><br>%# BEGIN BPS TAGGED BLOCK {{{<br>%# <br>%# COPYRIGHT:<br>%#  <br>%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC 
<br>%#                                          <<a href="mailto:jesse@bestpractical.com">jesse@bestpractical.com</a>><br>%# <br>%# (Except where explicitly superseded by other copyright notices)<br>%# <br>%# <br>%# LICENSE:
<br>%# <br>%# This work is made available to you under the terms of Version 2 of<br>%# the GNU General Public License. A copy of that license should have<br>%# been provided with this software, but in any event can be snarfed
<br>%# from <a href="http://www.gnu.org">www.gnu.org</a>.<br>%# <br>%# This work is distributed in the hope that it will be useful, but<br>%# WITHOUT ANY WARRANTY; without even the implied warranty of<br>%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
<br>%# General Public License for more details.<br>%# <br>%# You should have received a copy of the GNU General Public License<br>%# along with this program; if not, write to the Free Software<br>%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
<br>%# 02110-1301 or visit their web page on the internet at<br>%# <a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a>.<br>%# <br>%# <br>%# CONTRIBUTION SUBMISSION POLICY:<br>%# <br>%# (The following paragraph is not intended to limit the rights granted
<br>%# to you to modify and distribute this software under the terms of<br>%# the GNU General Public License and is only of importance to you if<br>%# you choose to contribute your changes and enhancements to the<br>%# community by submitting them to Best Practical Solutions, LLC.)
<br>%# <br>%# By intentionally submitting any modifications, corrections or<br>%# derivatives to this work, or any other work intended for use with<br>%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
<br>%# you are the copyright holder for those contributions and you grant<br>%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,<br>%# royalty-free, perpetual, license to use, copy, create derivative
<br>%# works based on those contributions, and sublicense and distribute<br>%# those contributions and any derivatives thereof.<br>%# <br>%# END BPS TAGGED BLOCK }}}<br><%flags><br>inherit => undef # inhibit UTF8 conversion done in /autohandler
<br></%flags><br><%ARGS><br>$queue => 1<br>$action => "correspond"<br>$ticket => undef<br></%ARGS><br><%init><br>$m->comp('/Elements/Callback', _CallbackName => 'Pre', %ARGS);
<br>use RT::Interface::Email ();    # It's an exporter, but we don't care<br>$r->content_type('text/plain; charset=utf-8');<br>$m->error_format('text');<br>my ( $status, $error, $Ticket ) = RT::Interface::Email::Gateway( \%ARGS );
<br>if ( $status == 1 ) {<br>  $m->out('ok');<br>  if ( $Ticket->Id ) {<br>    $m->out( 'Ticket: '  . ($Ticket->Id             || '') );<br>    $m->out( 'Queue: '   . ($Ticket->QueueObj->Name || '') );
<br>    $m->out( 'Owner: '   . ($Ticket->OwnerObj->Name || '') );<br>    $m->out( 'Status: '  . ($Ticket->Status         || '') );<br>    $m->out( 'Subject: ' . ($Ticket->Subject        || '') );
<br>    $m->out(<br>      'Requestor: ' . ($Ticket->Requestors->MemberEmailAddressesAsString || '') );<br>  }<br>}<br>else {<br>  $RT::Logger->error( "Could not record email: " . $error );
<br>  if ( $status == -75 ) {<br>    $m->out( "temporary failure - " . $error );<br>  }<br>  else {<br>    $m->out( 'not ok - ' . $error );<br>  }<br>}<br>$m->abort();<br></%init><br><br>rt-server:/home/paul#
<br><br><br><br><br>As you can see there's no real "error" to look for. I've been googling forever trying to find a answer, but every case i've looked at least has some kind of proper error to more or less identify the issue. "/usr/local/rt3/bin/rt-mailgate"  has execute permissions, and the shebang's are also correct (#!/usr/bin/perl -w).
<br><br>I hope someone can point me in the right direction :)<br><br>Thanks<br>Paul<br><br><br><br><br><br><br><br><br>