Bug#326642: fails to translate UTF-8 headers

Zap-W zapw at maild.mine.nu
Sun Sep 4 17:38:40 UTC 2005


Package: exim4-daemon-heavy
Version: 4.50-8
Severity: normal

Hi, i use Exim filters to extract $header_from and $header_subject from
emails my .forward file looks as follows:

# Exim filter
if error_message then finish endif
headers charset "UTF-8"
save Maildir/
pipe "/home/zapw/sms $header_from $header_subject"

sms is a small bash script :
#!/bin/bash
/bin/echo $1 $2 > /home/zapw/testfile
-----------------------------------------
Note the ( headers charset "UTF-8" ) - 

Now it works perfectly with email headers encoded in  cp1255 , ISO-8859-8 ( these are Hebrew )
and even with UTF-8 , Except! for some weird reason in UTF-8 headers once the header
reaches a certain length it dosen't get translated ?! exim extracts the
headers as it is without processing/translating them, why?

-- Package-specific info:
Exim version 4.50 #1 built 27-May-2005 08:10:05
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Support for: iconv() IPv6 PAM Perl GnuTLS Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql
Authenticators: cram_md5 cyrus_sasl plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Configuration file is /var/lib/exim4/config.autogenerated
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'

dc_eximconfig_configtype='smarthost'
dc_other_hostnames='catatau.homeip.net:mariobusy.homeip.net:wwe.homeunix.com:eskinasi.mine.nu:maild.mine.nu'
dc_local_interfaces=''
dc_readhost='maild.mine.nu'
dc_relay_domains=''
dc_minimaldns='true'
dc_relay_nets='192.168.1.0/24'
dc_smarthost='smtp.012.net.il'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_localdelivery=maildir_home
dc_mailname_in_oh='true'
mailname:maild.mine.nu

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)

Versions of packages exim4-daemon-heavy depends on:
ii  exim4-base                 4.50-8        support files for all exim MTA (v4
ii  libc6                      2.3.2.ds1-22  GNU C Library: Shared libraries an
ii  libdb4.2                   4.2.52-18     Berkeley v4.2 Database Libraries [
ii  libgnutls11                1.0.16-13.1   GNU TLS library - runtime library
ii  libldap2                   2.1.30-8      OpenLDAP libraries
ii  libmysqlclient12           4.0.24-10     mysql database client library
ii  libpam0g                   0.76-22       Pluggable Authentication Modules l
ii  libpcre3                   4.5-1.2sarge1 Perl 5 Compatible Regular Expressi
ii  libperl5.8                 5.8.4-8       Shared Perl library
ii  libpq3                     7.4.7-6sarge1 PostgreSQL C client library
ii  libsasl2                   2.1.19-1.5    Authentication abstraction library

-- no debconf information




More information about the Pkg-exim4-maintainers mailing list