[rt-users] Problem with rt-mailgate

Fredrik Poller fredrik at poller.se
Wed Oct 24 11:41:47 EDT 2007


Hi,

I have a problem with the rt-mailgate script, I can't get it to work.

System setup:
FreeBSD 6.2-RELEASE (hostname telnix03.tele.loc)
RT 3.6.5 (installed according to
http://wiki.bestpractical.com/view/ManualInstallation with
--prefix=/storage/rt)
Perl 5.8.8
Apache 1.3.39 + mod_perl
Postfix 2.4.5

I get the following error in my maillog:
Oct 24 17:28:24 telnix03 postfix/local[65653]: C485E108E51: to=<
rt at telnix03.tele.loc>, relay=local, delay=11, delays=10/0/0/0.32, dsn=4.3.0,
status=deferred (temporary failure. Command output: RT server error.  The RT
server which handled your email did not behave as expected. It said:  Can't
locate object method "seek" via package "File::Temp" at
/usr/local/lib/perl5/site_perl/5.8.8/MIME/Parser.pm line 816, <GEN30> line
13.  Stack:   [/usr/local/lib/perl5/site_perl/5.8.8/MIME/Parser.pm:816]
[/usr/local/lib/perl5/site_perl/5.8.8/MIME/Parser.pm:1083]
[/usr/local/lib/perl5/site_perl/5.8.8/MIME/Parser.pm:1177]
[/usr/local/lib/perl5/site_perl/5.8.8/MIME/Parser.pm:1150]
[/storage/rt/lib/RT/EmailParser.pm:231]
[/storage/rt/lib/RT/EmailParser.pm:179]
[/storage/rt/lib/RT/EmailParser.pm:139]
[/storage/rt/lib/RT/Interface/Email.pm:549]
[/storage/rt/share/html/REST/1.0/NoAuth/mail-gateway:61]  )

The mail aliases is set up this way:
rt: "|/storage/rt/bin/rt-mailgate --queue general --action correspond --url
https://apps.teleresurs.se/rt"
rt-comment: "|/storage/rt/bin/rt-mailgate --queue general --action comment
--url https://apps.teleresurs.se/rt"

The VirtualHost in httpd.conf is done this way:
Alias /rt "/storage/rt/share/html"
PerlModule Apache::DBI
PerlRequire /storage/rt/bin/webmux.pl
<Directory /storage/rt/share/html>
        AllowOverride All
        Options ExecCGI FollowSymLinks
        <IfModule mod_access.c>
                Order allow,deny
                Allow from all
        </IfModule>
</Directory>
<Location /rt>
        RewriteEngine On
        RedirectMatch permanent (.*)/$ $1/index.html
        AddDefaultCharset UTF-8
        SetHandler perl-script
        PerlHandler RT::Mason
</Location>

The Web interface works great if you visit
https://apps.teleresurs.se/rtwith a browser. I get the same error if I
use regular http, so it's not the
SSL.

Any input is much appreciated, thank you!

Best regards,
Fredrik Poller
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20071024/15e6e913/attachment.htm>


More information about the rt-users mailing list