[Rt-devel] Problem/Bug in mail with RT 3.6.6rc2

Sven Sternberger sven.sternberger at desy.de
Wed Jan 9 09:32:44 EST 2008


Hello!

I installed RT3.6.6RC2 yesterday, and I noticed today that
some of the mails sended by RT are broken. The effect
differs in different MUA. In thunderbird and Outlook
it looks okay.
But in Evolution and mutt (Linux/Gnome), there ist no mail body 
but a attachment. 

The problem is probably the mail header I found this line
in a broken mail (in my MUA Evolution)
>>
Content-Type: application/octet-stream
<<
which looks not okay. This content type is produced by the MUA
because in the RT mail there is no content type.

Here the content type line sended by RT:
>>
Content-Type: ; charset="utf-8"
<<

For me it looks like that whenever the mail contains
umlauts (example, ö, ü) then the content type gets
lost. I couldn't find evidence in the log, but the content
type was okay every time the mail had no umlauts, and was
broken every time in contains umlauts.

Hope this helps I will add my sys configuration

best regards

sven

OS: RHEL4 compatible (SL4)
RT3.6.6RC2
MYSQL4
POSTFIX


-------------- next part --------------
    Loaded perl modules

Perl v5.8.5 under linux 
  Apache2::Const v2.000001;
  Apache2::Log v2.000001;
  Apache2::Module v2.000001;
  Apache2::RequestIO v2.000001;
  Apache2::RequestRec v2.000001;
  Apache2::RequestUtil v2.000001;
  Apache2::Response v2.000001;
  Apache2::ServerUtil v2.000001;
  Apache2::Status v3.00;
  Apache::DBI v1.06;
  Apache::Session v1.85;
  Apache::Session::Generate::MD5 v2.1;
  Apache::Session::Lock::MySQL v1.00;
  Apache::Session::MySQL v1.01;
  Apache::Session::Serialize::Storable v1.01;
  Apache::Session::Store::DBI v1.02;
  Apache::Session::Store::MySQL v1.04;
  APR v0.009000;
  APR::Pool v0.009000;
  APR::Table v0.009000;
  AutoLoader v5.60;
  base v2.06;
  Benchmark v1.06;
  bytes v1.01;
  Cache::Simple::TimedExpiry v0.27;
  capitalization v0.03;
  Carp v1.03;
  CGI v3.11;
  CGI::Cookie v1.26;
  CGI::Util v1.5;
  Class::Container v0.12;
  Class::Data::Inheritable v0.06;
  Class::ReturnValue v0.55;
  Clone v0.28;
  constant v1.04;
  CSS::Squish v0.07;
  Cwd v2.19;
  Data::Dumper v2.121;
  Date::Format v2.22;
  Date::Parse v2.27;
  DBD::mysql v2.9004;
  DBI v1.601;
  DBIx::SearchBuilder v1.50;
  DBIx::SearchBuilder::Union v0;
  DBIx::SearchBuilder::Unique v0.01;
  Devel::StackTrace v1.15;
  Devel::StackTraceFrame v0.6;
  Devel::Symdump v2.07;
  Digest::base v1.00;
  Digest::MD5 v2.33;
  DynaLoader v1.05;
  Encode v2.01;
  Encode::Alias v2.00;
  Encode::Config v2.00;
  Encode::Encoding v2.00;
  Encode::Guess v2.00;
  Encode::Unicode v2.00;
  Errno v1.09;
  Exception::Class v1.23;
  Exception::Class::Base v1.2;
  Exporter v5.58;
  Exporter::Heavy v5.58;
  Fcntl v1.05;
  File::Basename v2.73;
  File::Glob v1.03;
  File::Path v1.06;
  File::Spec v3.19;
  File::Spec::Unix v1.5;
  File::Temp v0.14;
  FileHandle v2.01;
  HTML::Element v3.23;
  HTML::Entities v1.35;
  HTML::Formatter v2.04;
  HTML::FormatText v2.04;
  HTML::Mason v1.32;
  HTML::Mason::ApacheHandler v1.69;
  HTML::Mason::Exception v1.1;
  HTML::Mason::Exception::Abort v1.1;
  HTML::Mason::Exception::Compilation v1.1;
  HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1;
  HTML::Mason::Exception::Compiler v1.1;
  HTML::Mason::Exception::Decline v1.1;
  HTML::Mason::Exception::Params v1.1;
  HTML::Mason::Exception::Syntax v1.1;
  HTML::Mason::Exception::System v1.1;
  HTML::Mason::Exception::TopLevelNotFound v1.1;
  HTML::Mason::Exception::VirtualMethod v1.1;
  HTML::Mason::Exceptions v1.43;
  HTML::Parser v3.56;
  HTML::Scrubber v0.08;
  HTML::Tagset v3.10;
  HTML::TreeBuilder v3.23;
  HTTP::Date v1.46;
  I18N::LangTags v0.33;
  integer v1.00;
  IO v1.21;
  IO::File v1.10;
  IO::Handle v1.24;
  IO::InnerFile v2.110;
  IO::Lines v2.110;
  IO::Scalar v2.110;
  IO::ScalarArray v2.110;
  IO::Seekable v1.09;
  IO::Wrap v2.110;
  IO::WrapTie v2.110;
  IPC::Open2 v1.01;
  IPC::Open3 v1.0106;
  lib v0.5565;
  List::Util v1.14;
  Locale::Maketext v1.09;
  Locale::Maketext::Fuzzy v0.10;
  Locale::Maketext::Lexicon v0.65;
  Locale::Maketext::Lexicon::Gettext v0.16;
  Log::Dispatch v2.20;
  Log::Dispatch::Base v1.09;
  Log::Dispatch::File v1.22;
  Log::Dispatch::Output v1.26;
  Log::Dispatch::Screen v1.17;
  Log::Dispatch::Syslog v1.18;
  Mail::Address v2.02;
  Mail::Field v2.02;
  Mail::Field::AddrList v2.02;
  Mail::Field::Date v2.02;
  Mail::Field::Generic v2.02;
  Mail::Header v2.02;
  Mail::Internet v2.02;
  Mail::Util v2.02;
  MIME::Base64 v3.01;
  MIME::Body v5.420;
  MIME::Decoder v5.420;
  MIME::Decoder::NBit v5.420;
  MIME::Entity v5.420;
  MIME::Field::ContDisp v5.420;
  MIME::Field::ConTraEnc v5.420;
  MIME::Field::ContType v5.420;
  MIME::Field::ParamVal v5.420;
  MIME::Head v5.420;
  MIME::Parser v5.420;
  MIME::QuotedPrint v3.01;
  MIME::Tools v5.420;
  MIME::Words v5.420;
  mod_perl v2.000001;
  mod_perl2 v2.000001;
  ModPerl::Const v2.000001;
  Module::Versions::Report v1.03;
  overload v1.01;
  Params::Validate v0.89;
  PerlIO v1.03;
  PerlIO::scalar v0.02;
  re v0.04;
  Regexp::Common v2.120;
  Regexp::Common::delimited v2.104;
  RT v3.6.6rc2;
  RT::FM v2.2.1;
  RT::Interface::Email v2;
  RT::Interface::REST v1.00;
  Scalar::Util v1.14;
  SelectSaver v1.00;
  Socket v1.77;
  Storable v2.13;
  strict v1.03;
  Symbol v1.05;
  Sys::Hostname v1.11;
  Sys::Syslog v0.08;
  Text::Template v1.44;
  Text::Wrapper v1.01;
  Time::HiRes v1.9711;
  Time::JulianDay v2003.1125;
  Time::Local v1.1;
  Time::ParseDate v2006.0814;
  Time::Timezone v2006.0814;
  Time::Zone v2.22;
  Tree::Simple v1.18;
  UNIVERSAL v1.01;
  UNIVERSAL::require v0.10;
  URI v1.30;
  URI::Escape v3.22;
  URI::file v4.14;
  utf8 v1.04;
  vars v1.01;
  warnings v1.03;
  warnings::register v1.00;
  XSLoader v0.02;


    RT Variables

RT::AmbiguousDayInPast 	1
RT::BasePath 	/opt/rt3
RT::BinPath 	/opt/rt3/bin
RT::CORE_CONFIG_FILE 	/opt/rt3/etc/RT_Config.pm
RT::CommentAddress 	bitbucket at desy.de
RT::CorrespondAddress 	bitbucket at desy.de
RT::DatabaseHost 	localhost
RT::DatabaseName 	rt
RT::DatabasePassword 	/Password not printed/
RT::DatabaseRTHost 	localhost
RT::DatabaseType 	mysql
RT::DatabaseUser 	rt
RT::DateDayBeforeMonth 	1
RT::DefaultSearchResultFormat 	'<B><A
HREF="/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#', '<B><A
HREF="/Ticket/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject',
Status, QueueName, OwnerName, Priority, '__NEWLINE__', '',
'<small>__Requestors__</small>', '<small>__CreatedRelative__</small>',
'<small>__ToldRelative__</small>',
'<small>__LastUpdatedRelative__</small>', '<small>__TimeLeft__</small>'
RT::DefaultSummaryRows 	10
RT::DependenciesLimit 	5000
RT::EmailOutputEncoding 	utf-8
RT::EtcPath 	/opt/rt3/etc
RT::FriendlyFromLineFormat 	"%s via RT" <%s>
RT::FriendlyToLineFormat 	"%s of rt Ticket #%s":;
RT::LinkTransactionsRun1Scrip 	1
RT::LocalEtcPath 	/opt/rt3/local/etc
RT::LocalLexiconPath 	/opt/rt3/local/po
RT::LocalPath 	/opt/rt3/local
RT::LogDir 	/var/log/rt
RT::LogToFile 	debug
RT::LogToFileNamed 	rt.log
RT::LogToScreen 	error
RT::LogToSyslog 	emergency
RT::LogoURL 	/NoAuth/images/desy_logo.jpg
RT::LoopsToRTOwner 	1
RT::MailCommand 	sendmailpipe
RT::MasonComponentRoot 	/opt/rt3/share/html
RT::MasonDataDir 	/opt/rt3/var/mason_data
RT::MasonLocalComponentRoot 	/opt/rt3/local/html
RT::MasonSessionDir 	/opt/rt3/var/session_data
RT::MaxAttachmentSize 	10000000
RT::MaxInlineBody 	13456
RT::MessageBoxWidth 	72
RT::MessageBoxWrap 	HARD
RT::MinimumPasswordLength 	5
RT::MyRequestsLength 	10
RT::MyTicketsLength 	10
RT::NotifyActor 	1
RT::Organization 	desy.de
RT::OwnerEmail 	root
RT::ParseNewMessageForTicketCcs 	1
RT::RTAddressRegexp 	^rt\@example.com$
RT::RecordOutgoingEmail 	1
RT::RedistributeAutoGeneratedMessages 	privileged
RT::SITE_CONFIG_FILE 	/opt/rt3/etc/RT_SiteConfig.pm
RT::SendmailArguments 	-oi -t
RT::SendmailBounceArguments 	-f "<>"
RT::SendmailPath 	/usr/sbin/sendmail
RT::ShowTransactionImages 	1
RT::Timezone 	Europe/Berlin
RT::UseFriendlyFromLine 	1
RT::UseFriendlyToLine 	1
RT::VERSION 	3.6.6rc2
RT::VarPath 	/opt/rt3/var
RT::WebBaseURL 	https://rt-system.desy.de
RT::WebDefaultStylesheet 	3.5-default
RT::WebFlushDbCacheEveryRequest 	1
RT::WebImagesURL 	/NoAuth/images/
RT::WebPort 	80
RT::WebURL 	https://rt-system.desy.de/
RT::rtname 	rt


    Perl configuration

Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
  Platform:
    osname=linux, osvers=2.6.9-55.0.9.elsmp, archname=i386-linux-thread-multi
    uname='linux yort.fnal.gov 2.6.9-55.0.9.elsmp #1 smp fri sep 28 09:24:48 cdt 2007 i686 athlon i386 gnulinux '
    config_args='-des -Doptimize=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Dversion=5.8.5 -Dmyhostname=localhost -Dperladmin=root at localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dinc_version_list=5.8.4 5.8.3 5.8.2 5.8.1 5.8.0'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='3.4.5 20051201 (Red Hat 3.4.5-2)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.3.4.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.3.4'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Time to display: 0.101611

»|« RT 3.6.6rc2 Copyright 1996-2006 Best Practical Solutions, LLC
<http://www.bestpractical.com?rt=3.6.6rc2>.



More information about the Rt-devel mailing list