On Mon, 31 Jul 2000, Richard Gilbert wrote:
> > Expansion of "$reply_address" in vacation_reply transport contains
> > non-printing characters
>
> ...caused by header fields like...
>
> > From: =?ISO-2022-JP?B?GyRCPzkbKEo=?==?ISO-2022-JP?B?IBskQjksOS8bKEo=?=
> > <mori@???>
>
> The non-printing characters are not in the active part of the address.
Odd. Exim shouldn't see those as non-printers. Oh wait, perhaps it is
the newline in the middle that's the problem. That must be it.
> Is
> there a way of referring to just the active part of the reply address?
Not directly, but you could match it with a regular expression. Or, in
this specific case, you could translate newlines into spaces using the
sg expansion item. Or, I think
${local_part:$reply_address}@${domain:$reply_address}
would work, but it seems wasteful.
> If
> not, would it be OK to use $sender_address, given that the vacation
> mechanism applies a whole set of conditions to restrict it to personal
> mail only.
You should probably be using $sender_address. After all, From: is
actually allowed to contain more than one address, and so is Reply-to:
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.