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

-----Original Message-----
From: Okochu, Charles [mailto:Charles.Okochu@mlb.com]

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)

Same issue here:

VMware GSX 2.5.1, guest system (192MB)
RedHat 7.3
Perl 5.6.1
CPAN modules up-to-date
Rt-3-0-4

I’m using postfix instead of sendmail, and haven’t tried sendmailpipe. I
assume the problem is UTF-8 related, but don’t feel like going through
the pain to rebuild apache, perl, and openssl to get 5.8.0 (doing a
parallel RH AS install to see if that resolves any problems).

In testing attachment sizes, is appears rt consumes a significant amount
memory for 3MB attachments, upwards of 300MB before exhausting swap and
killing the thread. So far, attachments up to 700Kb are getting added
(.exe files) and no corruption, as diff is reporting the original is the
same as the one in rt.

Here’s /var/log/messages for a 671Kb attachment (successful):

Jul 29 11:22:30 rt01 RT: Cannot Encode::Guess; fallback to iso-8859-1
(/opt/rt3/lib/RT/I18N.pm:370)
Jul 29 11:22:31 rt01 RT: Cannot Encode::Guess; fallback to iso-8859-1
(/opt/rt3/lib/RT/I18N.pm:370)
Jul 29 11:22:41 rt01 RT: rt-3.0.4-10-12.7.98683393622575@promisant.com
#10/12- Scrip 16 Notify Admins (/opt/rt3/lib/RT/Action/SendEmail.pm:92)
Jul 29 11:22:42 rt01 RT: rt-3.0.4-10-12.7.98683393622575@promisant.com
No recipients found. Not sending.
(/opt/rt3/lib/RT/Action/SendEmail.pm:257)
Jul 29 11:22:44 rt01 RT: rt-3.0.4-10-12.10.3425501927245@promisant.com
#10/12- Scrip 15 Notify requestor
(/opt/rt3/lib/RT/Action/SendEmail.pm:92)
Jul 29 11:22:44 rt01 RT: rt-3.0.4-10-12.10.3425501927245@promisant.com
sent To: gadams@promisant.com Cc: Bcc:
(/opt/rt3/lib/RT/Action/SendEmail.pm:302)
Jul 29 11:23:01 rt01 RT: Ticket 10 created in queue ‘Support’ by
gadams@promisant.com (/opt/rt3/lib/RT/Ticket_Overlay.pm:626)

For failed attachments, my log files look similar to Charles.

Regards,

— Gavin