[rt-users] rt-mailgate errors.
Merritt Krakowitzer
merrittk at sira-sa.co.za
Wed Mar 19 04:07:44 EST 2003
Hi guys, when sending an email to rt at my.domain.com or when I use the
command line like below i get an error, out put included below.
I'm running RT version 3 rc1, Apache 2.0.44, mod_perl2, Redhat Linux 8,
MTA is postfix.
A kick in the right direction would be great.
Regards
Merritt.
[root at lan etc]# /usr/local/rt3/bin/rt-mailgate --queue general --action
correspond --url http://myurl.domain.com
FOO
BAR
BAZ
<CTRL-D>
RT server error.
The RT server which handled your email did not behave as expected. It
said:
%# BEGIN LICENSE BLOCK
%#
%# Copyright (c) 1996-2003 Jesse Vincent <jesse at bestpractical.com>
%#
%# (Except where explictly superceded by other copyright notices)
%#
%# 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 software, but in any event can be snarfed
%# from www.gnu.org.
%#
%# This work is distributed in the hope that it will be useful, but
%# WITHOUT ANY WARRANTY; without even the implied warranty of
%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
%# General Public License for more details.
%#
%# Unless otherwise specified, all modifications, corrections or
%# extensions to this work which alter its source code become the
%# property of Best Practical Solutions, LLC when submitted for
%# inclusion in the work.
%#
%#
%# END LICENSE BLOCK
<%ARGS>
$message
$queue => 1
$action => "correspond"
$ticket => undef
</%ARGS>
<%init>
use RT::Interface::Email;
my ( $status, $error, $Ticket ) = RT::Interface::Email::Gateway( %ARGS);
</%init>
% if ($status) {
ok
% if ( $Ticket->Id ) {
Ticket: <% $Ticket->Id %>
Queue: <% $Ticket->QueueObj->Name %>
Owner: <% $Ticket->OwnerObj->Name %>
Status: <% $Ticket->Status %>
Subject: <% $Ticket->Subject %>
Requestor: <% $Ticket->Requestors->MemberEmailAddressesAsString %>
% }
% } else {
not ok - <%$error%>
% }
-------------- next part --------------
(on soblin)
This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately on (012) 337-5500.
You should not use, disclose, distribute or copy this communication if received in error. The Private Security Industry Regulatory Authority (PSIRA) does not warrant and/or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, viruses, interception,
or interference. No binding contract will result from this e-mail, until such
time as a written document is signed on behalf of PSIRA. PSIRA cannot accept any
responsibility for the completeness or accuracy of this message as it has been
transmitted over public networks.
---------------------------------------------------------
More information about the rt-users
mailing list