[Exim] invalid expansion again...

Top Page
Delete this message
Reply to this message
Author: Bruce Bowler
Date:  
To: exim-users
Subject: [Exim] invalid expansion again...
Exim 3.03

In the main section of configure, I have

print_topbitchars=true

I have a director that looks like

uservacation:
   driver = localuser
   transport = uservacation
   require_files = ${home}/vacation.txt
   senders = "! ^.*-request@.*:\
               ! ^owner-.*@.*:\
               ! ^postmaster@.*:\
               ! ^listmaster@.*:\
               ! ^mailer-daemon@.*"
   condition = "${if or { \
                         {match {$h_precedence:} {(?i)junk|bulk|list}} \
                         {eq {$sender_address} {}} \
                        } {no} {yes}}"
   unseen
   no_expn
   no_verify
   user = ${local_part}


and a transport that looks like

uservacation:
driver = autoreply
user = ${local_part}
once = ${home}/vacation
file = ${home}/vacation.txt
log = ${home}/vacation.log
once_repeat = 7d
to = "${sender_address}"
subject = "${if def:h_Subject: {Autoreply: ${quote:$h_Subject:}}
{Automatic reply to your message}}"

I HUPed the daemon after I made the changes and I still, on occasion, get
messages in the log that look like

       user@??? <user@???> D=uservacation
       T=uservacation: Expansion of "${if def:h_Subject: {Autoreply:
       ${quote:$h_Subject:}} {Automatic reply to your message}}"
       in uservacation transport contains non-printing characters


Looking at the message (by this time in Eudora on a PC, not on the server),
it looks like there was a carriage return in the subject line. How can
this be fixed?



Bruce Bowler                             207.633.9600 (voice)
Research Associate                       207.633.9641 (fax)
Bigelow Laboratory for Ocean Sciences    bbowler@???
West Boothbay Harbor ME  04575           http://www.bigelow.org/