Hi folks
I setup a vacation reply mechanism for my Exim 4.12 installation,
comprising the following:
Router:
-------------------------------------------------
vacation:
driver = accept
check_local_user
require_files = $home/.vacation
no_verify
# do not send reply to errors or lists
senders = "! ^.*-request@.*:\
! ^owner-.*@.*:\
! ^root@.*:\
! ^postmaster@.*:\
! ^listmaster@.*:\
! ^mailer-daemon@.*"
# do not reply to errors and bounces or lists
condition = "${if or {{match {$h_precedence:}
{(?i)junk|bulk|list}} \
{eq {$sender_address} {}}} {no} {yes}}"
transport = vacation_reply
unseen
---------------------------------------------------
Transport:
-----------------------------------------------------
vacation_reply:
driver = autoreply
file = $home/.vacation
file_expand
log = $home/vacation.log
once = $home/vacation.db
from = $local_part@???
to = $sender_address
subject = "Re: $h_subject"
text = "Dear $h_from\n\n\
This is an automatic reply. Please feel free to send
additional\n\
mail to me, as only this one notice will be generated. The
following\n\
is a pre-recorded message, sent on behalf of\n\
${local_part}@???:\n\
================================================\n\n"
--------------------------------------------------------------
This works fine most of the time, except occasionally I'll see an error
like this one below in my logs:
2003-04-24 08:01:58 198ak2-0003Ap-00 <= barbara.urben@???
H=(mailout09.sul.t-online.com) [194.25.134.84] P=esmtp S=5389
id=BACD58C4.F5F%barbara.urben@???
2003-04-24 08:01:58 198ak2-0003Ap-00 => mnussboeck
<marc.nussboeck@???> R=localuser T=local_delivery
2003-04-24 08:01:58 198ak2-0003Ap-00 **
mnussboeck@??? <marc.nussboeck@???>
R=vacation T=vacation_reply: Expansion of "Re: $h_subject" in
vacation_reply transport contains non-printing character 10
Evidently there was something in the subject line which offended Exim's
expansion sensibilities! Any ideas what the problem could be?
Later
Konrad
--
***********************************************************************
*
* Konrad Michels
* System Administrator
* Surfkitchen Limited
* Abbey House
* 1650 Arlington Business Park
* Theale
* RG7 4SA
* United Kingdom
* Tel: +44 118 929 8079
*
***********************************************************************