[rt-users] Problem with rt-mailgate
Fredrik Poller
fredrik at poller.se
Wed Oct 24 12:12:09 EDT 2007
Hi,
Thanks for your reply.
I did what you suggested but i still get the same error.
[root at telnix03 ~]# cpan
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support available (try 'install Bundle::CPAN')
cpan> install File::Temp
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 24 Oct 2007 11:36:39 GMT
Running install for module File::Temp
Running make for T/TJ/TJENNESS/File-Temp-0.18.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/authors/id/T/TJ/TJENNESS/File-Temp-0.18.tar.gz
CPAN: Digest::MD5 loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/authors/id/T/TJ/TJENNESS/CHECKSUMS
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/T/TJ/TJENNESS/File-
Temp-0.18.tar.gz
ok
Scanning cache /root/.cpan/build for sizes
x File-Temp-0.18/
x File-Temp-0.18/misc/
x File-Temp-0.18/misc/benchmark.pl
x File-Temp-0.18/misc/results.txt
x File-Temp-0.18/META.yml
x File-Temp-0.18/t/
x File-Temp-0.18/t/posix.t
x File-Temp-0.18/t/tempfile.t
x File-Temp-0.18/t/mktemp.t
x File-Temp-0.18/t/cmp.t
x File-Temp-0.18/t/security.t
x File-Temp-0.18/t/seekable.t
x File-Temp-0.18/t/object.t
x File-Temp-0.18/MANIFEST
x File-Temp-0.18/ChangeLog
x File-Temp-0.18/Temp.pm
x File-Temp-0.18/Makefile.PL
x File-Temp-0.18/README
CPAN.pm: Going to build T/TJ/TJENNESS/File-Temp-0.18.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for File::Temp
cp Temp.pm blib/lib/File/Temp.pm
Manifying blib/man3/File::Temp.3
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harne
ss(0, 'blib/lib', 'blib/arch')" t/*.t
t/cmp.........ok
t/mktemp......ok
t/object......ok
t/posix.......ok
t/security....ok
3/13 skipped: various reasons
t/seekable....ok
t/tempfile....ok
All tests successful, 3 subtests skipped.
Files=7, Tests=87, 1 wallclock secs ( 0.30 cusr + 0.44 csys = 0.73 CPU)
/usr/bin/make test -- OK
Running make install
Installing /usr/local/lib/perl5/5.8.8/File/Temp.pm
Installing /usr/local/lib/perl5/5.8.8/perl/man/man3/File::Temp.3
Writing /usr/local/lib/perl5/5.8.8/mach/auto/File/Temp/.packlist
FreeBSD: Registering installation in the package database
Appending installation info to /usr/local/lib/perl5/5.8.8/mach/perllocal.pod
/usr/bin/make install -- OK
cpan> q
Terminal does not support GetHistory.
Lockfile removed.
[root at telnix03 ~]# sendmail rt at telnix03.tele.loc
test
.
[root at telnix03 ~]# cd /var/log/
[root at telnix03 /var/log]# tail maillog
Oct 24 18:05:41 telnix03 postfix/local[72586]: 80AF6108E5B: to=<
rt at telnix03.tele.loc>, relay=local, delay=2.3, delays=1.8/0.02/0/0.48, 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
12. 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] )
Any more ideas? :)
Best regards,
Fredrik Poller
On 10/24/07, Huw Selley <huws at s2s.ltd.uk> wrote:
>
> On 24/10/07 4:41, "Fredrik Poller" <fredrik at poller.se> wrote:
>
> > Hi,
>
> Hi,
>
> >
> > I have a problem with the rt-mailgate script, I can't get it to work.
> <snip>
> > 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] )
>
> Looks like the 'File::Temp' perl module is either not installed, Is not
> the
> correct version or has had a sense of humor failure.
> You could try installing the most recent release from cpan by running
> 'cpan
> install File::Temp' and follow the on-screen prompts.
>
> Hope this helps.
> Huw
>
>
>
> s2s company email disclaimer :
> http://www.s2s.ltd.uk/datasheets/email_disclaimer.pdf
> s2s company registration number : 3952958
> s2s VAT registration number : GB763132055
> Business premises : Ground Floor, Overline House, Crawley,
> West Sussex, RH10 1JA
> Registered address : 29 High Street, Crawley, West Sussex,
> RH10 1BQ
> Place of registration : England
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20071024/b4fe6a99/attachment.htm>
More information about the rt-users
mailing list