Bug#545278: exim4: vacation transport fails on (correctly encoded) non-ascii in subject

Andreas Metzler ametzler at downhill.at.eu.org
Sun Sep 6 08:55:22 UTC 2009


On 2009-09-06 Wichert Akkerman <wichert at wiggy.net> wrote:
> Package: exim4
> Version: 4.69-9
> Severity: normal

> I have a simple vacation transport which looks like this:

> virtual_vacation:
> 	driver			= autoreply
> 	user			= VIRTUAL_USER
> 	group			= VIRTUAL_GROUP
> 	home_directory		= /srv/mx1.simplon.biz/mail/${domain}/${local_part}
> 	file			= $home/.vacation
> 	file_expand
> 	once			= $home/.vacation.db
> 	once_repeat		= 14d
> 	from			= $local_part@$domain
> 	to			= $sender_address
> 	subject			= "Re: $h_subject"

> If I receive an email with a subject containing a non-ASCII character
> this transport fails with an error like this:

> 2009-09-04 12:59:53 1MjWWG-0004a9-Fw ** wichert at simplon.biz R=virtual_vacation T=virtual_vacation: Expansion of "Re: $h_subject" in virtual_vacation transport contains non-printing character 195 

> The subject was properly encoded and contained no non-ASCII characters
> during transport:

> Subject: =?iso-8859-1?Q?Re:_FYI:_Jarn_sprint_in_week_39_in_t=F8nsberg?= 

Hello,
exim applies rfc2047 decoding for $h_ expansion.
http://docs.exim.org/current/spec_html/ch11.html#id506322
Using rheader_* should work for you.

cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'





More information about the Pkg-exim4-maintainers mailing list