[rt-users] rt2 mailgate causes Perl "require" errors, tho ticket gets entered
Chris Shenton
Chris.Shenton at hq.nasa.gov
Thu Feb 21 20:04:46 EST 2002
This smells like a bad perl module installation on my part, but I
can't find the source of the area. I've configured a qmail per the
installation instructions, e.g., ~alias/.qmail-sna-support contains:
| /var/qmail/bin/preline /usr/local/rt2/bin/rt-mailgate --queue sna --action correspond
When I submit via this alias, the ticket does get created, but qmail
logs an error generated by something Perl's trying to do:
@400000003c73bad12cb050b4 delivery 582: success: syntax_error_at_(eval_46)_line_1,_near_"require_Mail::Mailer::/var/"/syntax_error_at_(eval_60)_line_1,_near_"require_Mail::Mailer::/var/"/did_0+0+1/
Piping a message from a file to mailgate generates a similar error:
cshenton at Palimpsest(255> cat /tmp/rtmail |/usr/local/rt2/bin/rt-mailgate --queue sna --action correspond
syntax error at (eval 46) line 1, near "require Mail::Mailer::/var/"
syntax error at (eval 60) line 1, near "require Mail::Mailer::/var/"
I've grepped for this code snippet in all the places I can think of:
/usr/local/rt2
/usr/libdata/perl [FreeBSD's core library install dir]
/usr/local/lib/perl5 [optionally-installed modules]
but I can't find where this is coming from. I have a suspiscioin it's
not occurring on the submit, but rather when RT tries to send out an
email notice, but I'm a newbie to RT and not sure what it's supposed
to be doing.
Any suggestions on how to debug this and track down the source of the
error? What's this error causing to fail if the ticket is getting
entered?
Thanks.
More information about the rt-users
mailing list