On Wed, 02 Apr 2008 12:34:12 +0200, Mark Martinec wrote: > Chris, > >> Apr 1 11:51:00 gateway amavis[2226]: (02226-01) (!!)TROUBLE in >> check_mail: main_log_entry FAILED: Malformed UTF-8 character >> (unexpected continuation byte 0xae, with no preceding start byte) in >> split at /usr/ sbin/amavisd line 9492, <GEN11> line 324. > > I assume you are using amavisd-new 2.5.4. This is the first time this > error has been reported.
Yes I am > >> I assume this is because I am getting some malformed UTF-8 coming in >> (the mails appear to be a spam originating in Japan) >> >> However, Is there a way to either get amavis to process this correctly, >> or drop the mail? > >> I am using perl-5.8.0-97.EL3 and perl-MailTools-1.77-1.el3.rf > > You are a brave man running it under perl-5.8.0. I am trying not to stray too far from CentOS 3 provided packages. > > Is your locale set to UTF8 (command: 'locale'). If yes, try setting > locale to 'C' in the process starting amavisd. My locale is set to en_ZA.UTF-8 Running under LANG=C does allow the mail to go through. > > Are you assigning a non-default template to $log_templ in amavisd.conf? Yes - I am using the template from amavisd.conf-sample Chris ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/