[rt-users] rt-3.0.2pre4: unknown mailer error/Undefined subroutine &RT::Interface::Email::Gateway

Harald Wagener hwagener at hamburg.fcb.com
Fri May 2 10:34:23 EDT 2003


Hello list,
sorry to pester You all again, but here is a problem that I seem to  
have resolved some time ago but comes up again now that I installed  
rt3.0.2pre4 on RH9: I can't create tickets via mail. sendmail logs the  
following error:

May  2 16:14:59 intranet sendmail[5800]: h42EEwqV005799:  
to="|/opt/rt3/bin/rt-mailgate --queue edv-hh --action correspond --url  
http://rt.hamburg.fcb.com/", ctladdr=<edv at intranet.hamburg.fcb.com>  
(8/0), delay=00:00:01, xdelay=00:00:01, mailer=prog, pri=30589,  
dsn=5.3.0, stat=unknown mailer error 255

And I get the error [1] by mail.

My system is configured with

./configure --with-web-user=apache --with-web-group=apache  
--with-libs-owner=root --with-libs-group=rt --with-bin-owner=root

Any insightful hints before I turn my back on apache2 and return to the  
trusted 1.3.x ?

Regards,
     Harald


[1]
error:   	Undefined subroutine &RT::Interface::Email::Gateway called at  
/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway line 32.
context:  	
...  	
277:  	}
278:  	
279:  	# All errors returned from this routine will be in exception  
form.
280:  	local $SIG{'__DIE__'} = sub {
281:  	rethrow_exception( $_[0] );
282:  	};
283:  	
284:  	#
285:  	# $m is a dynamically scoped global containing this
...  	
code stack:  	/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:281
/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:32
/opt/rt3/share/html/autohandler:59
Undefined subroutine &RT::Interface::Email::Gateway called at  
/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway line 32.


Trace begun at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm  
line 121
HTML::Mason::Exceptions::rethrow_exception('Undefined subroutine  
&RT::Interface::Email::Gateway called at  
/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway line 32.^J') called at  
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 281
HTML::Mason::Request::__ANON__('Undefined subroutine  
&RT::Interface::Email::Gateway called at  
/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway line 32.^J') called at  
/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway line 32
HTML::Mason::Commands::__ANON__('message', 'From  
root at proxy.hamburg.fcb.com Fri May  2 15:28:21 2003^JReceived: from  
intranet.hamburg.fcb.com (intranet [127.0.0.1])^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8) with ESMTP id  
h42DSL2S004443^J^Ifor <edv at intranet.hamburg.fcb.com>; Fri, 2 May 2003  
15:28:21 +0200^JReceived: (from root at localhost)^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8/Submit) id  
h42DSLmA004441^J^Ifor edv; Fri, 2 May 2003 15:28:21 +0200^JDate: Fri, 2  
May 2003 15:28:21 +0200^JFrom: root  
<root at proxy.hamburg.fcb.com>^JMessage-Id:  
<200305021328.h42DSLmA004441 at intranet.hamburg.fcb.com>^JTo:  
edv at proxy.hamburg.fcb.com^JSubject: Test^J^Jzweiter Test^J',  
'SessionType', 'REST', 'action', 'correspond', 'queue', 'edv-hh',  
'message', 'From root at proxy.hamburg.fcb.com Fri May  2 15:28:21  
2003^JReceived: from intranet.hamburg.fcb.com (intranet  
[127.0.0.1])^J^Iby intranet.hamburg.fcb.com (8.12.8/8.12.8) with ESMTP  
id h42DSL2S004443^J^Ifor <edv at intranet.!
hamburg.fcb.com>; Fri, 2 May 2003 15:28:21 +0200^JReceived: (from  
root at localhost)^J^Iby intranet.hamburg.fcb.com (8.12.8/8.12.8/Submit)  
id h42DSLmA004441^J^Ifor edv; Fri, 2 May 2003 15:28:21 +0200^JDate:  
Fri, 2 May 2003 15:28:21 +0200^JFrom: root  
<root at proxy.hamburg.fcb.com>^JMessage-Id:  
<200305021328.h42DSLmA004441 at intranet.hamburg.fcb.com>^JTo:  
edv at proxy.hamburg.fcb.com^JSubject: Test^J^Jzweiter Test^J',  
'SessionType', 'REST', 'action', 'correspond', 'queue', 'edv-hh')  
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line  
133
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x93 
afdc4)', 'message', 'From root at proxy.hamburg.fcb.com Fri May  2  
15:28:21 2003^JReceived: from intranet.hamburg.fcb.com (intranet  
[127.0.0.1])^J^Iby intranet.hamburg.fcb.com (8.12.8/8.12.8) with ESMTP  
id h42DSL2S004443^J^Ifor <edv at intranet.hamburg.fcb.com>; Fri, 2 May  
2003 15:28:21 +0200^JReceived: (from root at localhost)^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8/Submit) id  
h42DSLmA004441^J^Ifor edv; Fri, 2 May 2003 15:28:21 +0200^JDate: Fri, 2  
May 2003 15:28:21 +0200^JFrom: root  
<root at proxy.hamburg.fcb.com>^JMessage-Id:  
<200305021328.h42DSLmA004441 at intranet.hamburg.fcb.com>^JTo:  
edv at proxy.hamburg.fcb.com^JSubject: Test^J^Jzweiter Test^J',  
'SessionType', 'REST', 'action', 'correspond', 'queue', 'edv-hh',  
'message', 'From root at proxy.hamburg.fcb.com Fri May  2 15:28:21  
2003^JReceived: from intranet.hamburg.fcb.com (intranet  
[127.0.0.1])^J^Iby intranet.hamburg.fcb.com (8.12.8/8.12.8) with!
  ESMTP id h42DSL2S004443^J^Ifor <edv at intranet.hamburg.fcb.com>; Fri, 2  
May 2003 15:28:21 +0200^JReceived: (from root at localhost)^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8/Submit) id  
h42DSLmA004441^J^Ifor edv; Fri, 2 May 2003 15:28:21 +0200^JDate: Fri, 2  
May 2003 15:28:21 +0200^JFrom: root  
<root at proxy.hamburg.fcb.com>^JMessage-Id:  
<200305021328.h42DSLmA004441 at intranet.hamburg.fcb.com>^JTo:  
edv at proxy.hamburg.fcb.com^JSubject: Test^J^Jzweiter Test^J',  
'SessionType', 'REST', 'action', 'correspond', 'queue', 'edv-hh')  
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1045
eval {...}('HTML::Mason::Component::FileBased=HASH(0x93afdc4)',  
'message', 'From root at proxy.hamburg.fcb.com Fri May  2 15:28:21  
2003^JReceived: from intranet.hamburg.fcb.com (intranet  
[127.0.0.1])^J^Iby intranet.hamburg.fcb.com (8.12.8/8.12.8) with ESMTP  
id h42DSL2S004443^J^Ifor <edv at intranet.hamburg.fcb.com>; Fri, 2 May  
2003 15:28:21 +0200^JReceived: (from root at localhost)^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8/Submit) id  
h42DSLmA004441^J^Ifor edv; Fri, 2 May 2003 15:28:21 +0200^JDate: Fri, 2  
May 2003 15:28:21 +0200^JFrom: root  
<root at proxy.hamburg.fcb.com>^JMessage-Id:  
<200305021328.h42DSLmA004441 at intranet.hamburg.fcb.com>^JTo:  
edv at proxy.hamburg.fcb.com^JSubject: Test^J^Jzweiter Test^J',  
'SessionType', 'REST', 'action', 'correspond', 'queue', 'edv-hh',  
'message', 'From root at proxy.hamburg.fcb.com Fri May  2 15:28:21  
2003^JReceived: from intranet.hamburg.fcb.com (intranet  
[127.0.0.1])^J^Iby intranet.hamburg.fcb.com (8.12.8/8.12.8) with ESMTP  
id h42DSL2!
S004443^J^Ifor <edv at intranet.hamburg.fcb.com>; Fri, 2 May 2003 15:28:21  
+0200^JReceived: (from root at localhost)^J^Iby intranet.hamburg.fcb.com  
(8.12.8/8.12.8/Submit) id h42DSLmA004441^J^Ifor edv; Fri, 2 May 2003  
15:28:21 +0200^JDate: Fri, 2 May 2003 15:28:21 +0200^JFrom: root  
<root at proxy.hamburg.fcb.com>^JMessage-Id:  
<200305021328.h42DSLmA004441 at intranet.hamburg.fcb.com>^JTo:  
edv at proxy.hamburg.fcb.com^JSubject: Test^J^Jzweiter Test^J',  
'SessionType', 'REST', 'action', 'correspond', 'queue', 'edv-hh')  
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1039
HTML::Mason::Request::comp('HTML::Mason::Request::CGI=HASH(0x8e17f38)',  
'HTML::Mason::Component::FileBased=HASH(0x93afdc4)', 'message', 'From  
root at proxy.hamburg.fcb.com Fri May  2 15:28:21 2003^JReceived: from  
intranet.hamburg.fcb.com (intranet [127.0.0.1])^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8) with ESMTP id  
h42DSL2S004443^J^Ifor <edv at intranet.hamburg.fcb.com>; Fri, 2 May 2003  
15:28:21 +0200^JReceived: (from root at localhost)^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8/Submit) id  
h42DSLmA004441^J^Ifor edv; Fri, 2 May 2003 15:28:21 +0200^JDate: Fri, 2  
May 2003 15:28:21 +0200^JFrom: root  
<root at proxy.hamburg.fcb.com>^JMessage-Id:  
<200305021328.h42DSLmA004441 at intranet.hamburg.fcb.com>^JTo:  
edv at proxy.hamburg.fcb.com^JSubject: Test^J^Jzweiter Test^J',  
'SessionType', 'REST', 'action', 'correspond', 'queue', 'edv-hh',  
'message', 'From root at proxy.hamburg.fcb.com Fri May  2 15:28:21  
2003^JReceived: from intranet.hamburg.fcb.com (intranet  
[127.0.0.1])^J^Iby i!
ntranet.hamburg.fcb.com (8.12.8/8.12.8) with ESMTP id  
h42DSL2S004443^J^Ifor <edv at intranet.hamburg.fcb.com>; Fri, 2 May 2003  
15:28:21 +0200^JReceived: (from root at localhost)^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8/Submit) id  
h42DSLmA004441^J^Ifor edv; Fri, 2 May 2003 15:28:21 +0200^JDate: Fri, 2  
May 2003 15:28:21 +0200^JFrom: root  
<root at proxy.hamburg.fcb.com>^JMessage-Id:  
<200305021328.h42DSLmA004441 at intranet.hamburg.fcb.com>^JTo:  
edv at proxy.hamburg.fcb.com^JSubject: Test^J^Jzweiter Test^J',  
'SessionType', 'REST', 'action', 'correspond', 'queue', 'edv-hh')  
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 735
HTML::Mason::Request::call_next('HTML::Mason::Request::CGI=HASH(0x8e17f3 
8)', 'message', 'From root at proxy.hamburg.fcb.com Fri May  2 15:28:21  
2003^JReceived: from intranet.hamburg.fcb.com (intranet  
[127.0.0.1])^J^Iby intranet.hamburg.fcb.com (8.12.8/8.12.8) with ESMTP  
id h42DSL2S004443^J^Ifor <edv at intranet.hamburg.fcb.com>; Fri, 2 May  
2003 15:28:21 +0200^JReceived: (from root at localhost)^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8/Submit) id  
h42DSLmA004441^J^Ifor edv; Fri, 2 May 2003 15:28:21 +0200^JDate: Fri, 2  
May 2003 15:28:21 +0200^JFrom: root  
<root at proxy.hamburg.fcb.com>^JMessage-Id:  
<200305021328.h42DSLmA004441 at intranet.hamburg.fcb.com>^JTo:  
edv at proxy.hamburg.fcb.com^JSubject: Test^J^Jzweiter Test^J',  
'SessionType', 'REST', 'action', 'correspond', 'queue', 'edv-hh')  
called at /opt/rt3/share/html/autohandler line 59
HTML::Mason::Commands::__ANON__('message', 'From  
root at proxy.hamburg.fcb.com Fri May  2 15:28:21 2003^JReceived: from  
intranet.hamburg.fcb.com (intranet [127.0.0.1])^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8) with ESMTP id  
h42DSL2S004443^J^Ifor <edv at intranet.hamburg.fcb.com>; Fri, 2 May 2003  
15:28:21 +0200^JReceived: (from root at localhost)^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8/Submit) id  
h42DSLmA004441^J^Ifor edv; Fri, 2 May 2003 15:28:21 +0200^JDate: Fri, 2  
May 2003 15:28:21 +0200^JFrom: root  
<root at proxy.hamburg.fcb.com>^JMessage-Id:  
<200305021328.h42DSLmA004441 at intranet.hamburg.fcb.com>^JTo:  
edv at proxy.hamburg.fcb.com^JSubject: Test^J^Jzweiter Test^J',  
'SessionType', 'REST', 'action', 'correspond', 'queue', 'edv-hh')  
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line  
133
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8c 
40754)', 'message', 'From root at proxy.hamburg.fcb.com Fri May  2  
15:28:21 2003^JReceived: from intranet.hamburg.fcb.com (intranet  
[127.0.0.1])^J^Iby intranet.hamburg.fcb.com (8.12.8/8.12.8) with ESMTP  
id h42DSL2S004443^J^Ifor <edv at intranet.hamburg.fcb.com>; Fri, 2 May  
2003 15:28:21 +0200^JReceived: (from root at localhost)^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8/Submit) id  
h42DSLmA004441^J^Ifor edv; Fri, 2 May 2003 15:28:21 +0200^JDate: Fri, 2  
May 2003 15:28:21 +0200^JFrom: root  
<root at proxy.hamburg.fcb.com>^JMessage-Id:  
<200305021328.h42DSLmA004441 at intranet.hamburg.fcb.com>^JTo:  
edv at proxy.hamburg.fcb.com^JSubject: Test^J^Jzweiter Test^J',  
'SessionType', 'REST', 'action', 'correspond', 'queue', 'edv-hh')  
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1045
eval {...}('HTML::Mason::Component::FileBased=HASH(0x8c40754)',  
'message', 'From root at proxy.hamburg.fcb.com Fri May  2 15:28:21  
2003^JReceived: from intranet.hamburg.fcb.com (intranet  
[127.0.0.1])^J^Iby intranet.hamburg.fcb.com (8.12.8/8.12.8) with ESMTP  
id h42DSL2S004443^J^Ifor <edv at intranet.hamburg.fcb.com>; Fri, 2 May  
2003 15:28:21 +0200^JReceived: (from root at localhost)^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8/Submit) id  
h42DSLmA004441^J^Ifor edv; Fri, 2 May 2003 15:28:21 +0200^JDate: Fri, 2  
May 2003 15:28:21 +0200^JFrom: root  
<root at proxy.hamburg.fcb.com>^JMessage-Id:  
<200305021328.h42DSLmA004441 at intranet.hamburg.fcb.com>^JTo:  
edv at proxy.hamburg.fcb.com^JSubject: Test^J^Jzweiter Test^J',  
'SessionType', 'REST', 'action', 'correspond', 'queue', 'edv-hh')  
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1039
HTML::Mason::Request::comp('HTML::Mason::Request::CGI=HASH(0x8e17f38)',  
'HASH(0x965d510)', 'HTML::Mason::Component::FileBased=HASH(0x8c40754)',  
'message', 'From root at proxy.hamburg.fcb.com Fri May  2 15:28:21  
2003^JReceived: from intranet.hamburg.fcb.com (intranet  
[127.0.0.1])^J^Iby intranet.hamburg.fcb.com (8.12.8/8.12.8) with ESMTP  
id h42DSL2S004443^J^Ifor <edv at intranet.hamburg.fcb.com>; Fri, 2 May  
2003 15:28:21 +0200^JReceived: (from root at localhost)^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8/Submit) id  
h42DSLmA004441^J^Ifor edv; Fri, 2 May 2003 15:28:21 +0200^JDate: Fri, 2  
May 2003 15:28:21 +0200^JFrom: root  
<root at proxy.hamburg.fcb.com>^JMessage-Id:  
<200305021328.h42DSLmA004441 at intranet.hamburg.fcb.com>^JTo:  
edv at proxy.hamburg.fcb.com^JSubject: Test^J^Jzweiter Test^J',  
'SessionType', 'REST', 'action', 'correspond', 'queue', 'edv-hh')  
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 338
eval {...}('HTML::Mason::Request::CGI=HASH(0x8e17f38)',  
'HASH(0x965d510)', 'HTML::Mason::Component::FileBased=HASH(0x8c40754)',  
'message', 'From root at proxy.hamburg.fcb.com Fri May  2 15:28:21  
2003^JReceived: from intranet.hamburg.fcb.com (intranet  
[127.0.0.1])^J^Iby intranet.hamburg.fcb.com (8.12.8/8.12.8) with ESMTP  
id h42DSL2S004443^J^Ifor <edv at intranet.hamburg.fcb.com>; Fri, 2 May  
2003 15:28:21 +0200^JReceived: (from root at localhost)^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8/Submit) id  
h42DSLmA004441^J^Ifor edv; Fri, 2 May 2003 15:28:21 +0200^JDate: Fri, 2  
May 2003 15:28:21 +0200^JFrom: root  
<root at proxy.hamburg.fcb.com>^JMessage-Id:  
<200305021328.h42DSLmA004441 at intranet.hamburg.fcb.com>^JTo:  
edv at proxy.hamburg.fcb.com^JSubject: Test^J^Jzweiter Test^J',  
'SessionType', 'REST', 'action', 'correspond', 'queue', 'edv-hh')  
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 338
eval {...}('HTML::Mason::Request::CGI=HASH(0x8e17f38)',  
'HASH(0x965d510)', 'HTML::Mason::Component::FileBased=HASH(0x8c40754)',  
'message', 'From root at proxy.hamburg.fcb.com Fri May  2 15:28:21  
2003^JReceived: from intranet.hamburg.fcb.com (intranet  
[127.0.0.1])^J^Iby intranet.hamburg.fcb.com (8.12.8/8.12.8) with ESMTP  
id h42DSL2S004443^J^Ifor <edv at intranet.hamburg.fcb.com>; Fri, 2 May  
2003 15:28:21 +0200^JReceived: (from root at localhost)^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8/Submit) id  
h42DSLmA004441^J^Ifor edv; Fri, 2 May 2003 15:28:21 +0200^JDate: Fri, 2  
May 2003 15:28:21 +0200^JFrom: root  
<root at proxy.hamburg.fcb.com>^JMessage-Id:  
<200305021328.h42DSLmA004441 at intranet.hamburg.fcb.com>^JTo:  
edv at proxy.hamburg.fcb.com^JSubject: Test^J^Jzweiter Test^J',  
'SessionType', 'REST', 'action', 'correspond', 'queue', 'edv-hh')  
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 296
HTML::Mason::Request::exec('HTML::Mason::Request::CGI=HASH(0x8e17f38)')  
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 226
HTML::Mason::Interp::exec('HTML::Mason::Interp=HASH(0x8e18ab4)',  
'/REST/1.0/NoAuth/mail-gateway', 'message', 'From  
root at proxy.hamburg.fcb.com Fri May  2 15:28:21 2003^JReceived: from  
intranet.hamburg.fcb.com (intranet [127.0.0.1])^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8) with ESMTP id  
h42DSL2S004443^J^Ifor <edv at intranet.hamburg.fcb.com>; Fri, 2 May 2003  
15:28:21 +0200^JReceived: (from root at localhost)^J^Iby  
intranet.hamburg.fcb.com (8.12.8/8.12.8/Submit) id  
h42DSLmA004441^J^Ifor edv; Fri, 2 May 2003 15:28:21 +0200^JDate: Fri, 2  
May 2003 15:28:21 +0200^JFrom: root  
<root at proxy.hamburg.fcb.com>^JMessage-Id:  
<200305021328.h42DSLmA004441 at intranet.hamburg.fcb.com>^JTo:  
edv at proxy.hamburg.fcb.com^JSubject: Test^J^Jzweiter Test^J',  
'SessionType', 'REST', 'action', 'correspond', 'queue', 'edv-hh')  
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line  
87
HTML::Mason::CGIHandler::_handler('HTML::Mason::CGIHandler=HASH(0x8e17f5 
0)', 'HASH(0x9601a84)') called at  
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 70
HTML::Mason::CGIHandler::handle_cgi_object('HTML::Mason::CGIHandler=HASH 
(0x8e17f50)', 'CGI::Fast=HASH(0x9236c0c)') called at  
/opt/rt3/bin/mason_handler.fcgi line 42


-- 
Harald Wagener * FCB/Wilkens * An der Alster 42 * 20099 Hamburg




More information about the rt-users mailing list