[rt-users] RT: Cannot Encode::Guess; fallback to iso-8859-1 ( /opt/rt/lib/RT/I18N.pm:352)

Okochu, Charles Charles.Okochu at mlb.com
Mon Jul 28 11:51:23 EDT 2003


I am already using sendmailpipe and I am having the exact same problem. I
have tried switching back and forth and every time I try sending an email to
one of my queues, I get the following errors messages: 

in /var/log/messages:	
RT: Cannot Encode::Guess; fallback to iso-8859-1
(/usr/local/lib/rt3/RT/I18N.pm:352)

in /var/log/mailog: 
rt-host sm-mta[717]: h6SFNAu6000717: from=<hidden-name at hiddendomain.com>,
size=703, class=0, nrcpts=1,
msgid=<1F8ED810575FD511915600508BB8B49503EA624E at mailserver>, proto=ESMTP,
daemon=MTA, relay=mailserver [X.X.X.X]
Jul 28 11:23:11 rt-host sm-mta[718]: h6SFNAu6000717:
to="|/usr/local/bin/rt-mailgate --queue tickets --action correspond --url
http://rt-webserver.com", ctladdr=<tickets at rt-maildomain.com> (26/0),
delay=00:00:01, xdelay=00:00:01, mailer=prog, pri=30961, dsn=5.3.0,
stat=unknown mailer error 9
Jul 28 11:23:11 rt-host sm-mta[718]: h6SFNAu6000717: h6SFNBu6000718: DSN:
unknown mailer error 9
Jul 28 11:23:11 rt-host sm-mta[718]: h6SFNBu6000718: to=<
hidden-name at hiddendomain.com >, delay=00:00:00, xdelay=00:00:00,
mailer=smtp, pri=31985, relay=mailrelayhost. [X.X.X.X], dsn=2.0.0, stat=Sent
(Ok - Data received)	

I also get returned mail error on my mailbox:

"   ----- The following addresses had permanent fatal errors -----
"|/usr/local/bin/rt-mailgate --queue tickets --action correspond --url
http://rt-webserver.com"
    (reason: 9)
    (expanded from: <tickets at rt-maildomain.com>)

   ----- Transcript of session follows -----
RT server error.

The RT server which handled your email did not behave as expected. It
said:


554 5.3.0 unknown mailer error 9 "
I am using perl version 5.6.1.

Charles Okochu
Snr. Network Engineer
MLBAM
Office: (212) 485-3473
Cell: (646) 996-3272 / (917) 518-5941
-----Original Message-----
From: Jesse Vincent [mailto:jesse at bestpractical.com] 
Sent: Friday, July 18, 2003 2:11 PM
To: Don van der Haghen
Cc: rt-users at lists.fsck.com
Subject: Re: [rt-users] RT: Cannot Encode::Guess; fallback to iso-8859-1
(/opt/rt/lib/RT/I18N.pm:352)

Why don't you switch from "sendmail" to "sendmailpipe" for your mail
transport and tell us how it works?


On Fri, Jul 18, 2003 at 11:00:15AM +0200, Don van der Haghen wrote:
> Hello,
> 
> I seem to be having a problem with the utf-8 conversion in RT.
> Every time I post a reply in RT the following message shows up in the
> syslog and the reply hasn't been send by mail:
> 
> -----------------
> Jul 18 10:47:36 storage1 RT: Cannot Encode::Guess; fallback to iso-8859-1
> (/opt/rt/lib/RT/I18N.pm:352)
> Jul 18 10:47:36 storage1 RT: Converting 'iso-8859-1' to 'utf-8'
> Jul 18 10:47:37 storage1 RT: RT::Scrip=HASH(0x92c7c10): Couldn't prepare
> Open Tickets (/opt/rt/lib/RT/Scrip_Overlay.pm:338)
> Jul 18 10:47:37 storage1 RT:
> <rt-3.0.4-6-57.13.5961939537409 at avg-online.com> #6/57 - Scrip 4 
> (/opt/rt/lib/RT/Action/SendEmail.pm:92)
> Jul 18 10:47:37 storage1 RT:
> <rt-3.0.4-6-57.13.5961939537409 at avg-online.com>  No recipients found. Not
> sending.  (/opt/rt/lib/RT/Action/SendEmail.pm:257)
> Jul 18 10:47:37 storage1 RT:
> <rt-3.0.4-6-57.5.49572141005314 at avg-online.com> #6/57 - Scrip 5 
> (/opt/rt/lib/RT/Action/SendEmail.pm:92)
> Jul 18 10:47:37 storage1 RT: Warning: Use of "require" without parens is
> ambiguous at (eval 1801) line 1.  (/opt/rt/lib/RT.pm:235)
> Jul 18 10:47:37 storage1 RT: Bareword found where operator expected at
> (eval 1801) line 1, near "/usr/bin"  (/opt/rt/lib/RT.pm:235)
> Jul 18 10:47:37 storage1 RT:    (Missing operator before bin?) 
> (/opt/rt/lib/RT.pm:235)
> Jul 18 10:47:37 storage1 RT: Scrip 5 died. - Died at
> /usr/lib/perl5/site_perl/Mail/Mailer.pm line 245.  Stack:  
> [/usr/lib/perl5/site_perl/Mail/Mailer.pm:245]   [blib/lib/Mail/Internet.pm
> (autosplit into blib/lib/auto/Mail/Internet/send.al):650]  
> [/opt/rt/lib/RT/Action/SendEmail.pm:293]  
> [/opt/rt/lib/RT/Action/SendEmail.pm:181]  
> [/opt/rt/lib/RT/ScripAction_Overlay.pm:192]  
> [/opt/rt/lib/RT/Scrip_Overlay.pm:409]  
> [/opt/rt/lib/RT/Scrip_Overlay.pm:344]  
> [/opt/rt/lib/RT/Transaction_Overlay.pm:169]  
> [/opt/rt/lib/RT/Ticket_Overlay.pm:3780]  
> [/opt/rt/lib/RT/Ticket_Overlay.pm:2305]  
> [/opt/rt/lib/RT/Interface/Web.pm:397]  
> [/opt/rt/share/html/Ticket/Display.html:100]  
> [/opt/rt/share/html/Ticket/Update.html:196]  
> [/opt/rt/share/html/autohandler:163] 
> (/opt/rt/lib/RT/Scrip_Overlay.pm:363)
> Jul 18 10:47:37 storage1 RT:
> <rt-3.0.4-6-57.11.4121022169389 at avg-online.com> #6/57 - Scrip 6 
> (/opt/rt/lib/RT/Action/SendEmail.pm:92)
> Jul 18 10:47:37 storage1 RT:
> <rt-3.0.4-6-57.11.4121022169389 at avg-online.com>  No recipients found. Not
> sending.  (/opt/rt/lib/RT/Action/SendEmail.pm:257)
> -------------
> 
> I have upgraded perl to v5.8.0 built for i686-linux-thread-multi and
> updated all the modules used by RT.
> This did not solve the problem however. I am using apache 1.3.27 with
> modperl 1.
> I believe this problem came up when I installed RTFM, RT worked correctly
> before I installed RTFM.
> 
> I hope anyone has a suggestion for solving this problem.
> 
> Thanks in advance for any help you can give me.
> 
> Yours sincerely,
> 
> AVG Bedrijven Heijen BV
> 
> 
> D. van der Haghen
> Network Administrator
> 
> E: don at avg-online.com
> T: 0031485-551235
> F: 0031485-514805
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
> 

-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.
_______________________________________________
rt-users mailing list
rt-users at lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

*******************

[INFO] -- Virus Manager:
No Viruses were detected in this message.



*******************
Want To Win World Series Tickets for Life?!
Do you have the winning hologram?
Watch the 2003 World Series on FOX.*

Major League Baseball Ultimate World Series Pass presented by RadioShack.
For more information go to http://www.mlb.com/ultimatepass

*MLBI affiliate in Puerto Rico and Canada (check your local television listing for games, dates and times)


[INFO] -- Virus Manager:
No Viruses were detected in this message.






More information about the rt-users mailing list