Re: [Exim] String expansion: repeat a character sequence n t…

Top Page
Delete this message
Reply to this message
Author: Matt Bernstein
Date:  
To: Sheldon Hearn
CC: exim-users
Subject: Re: [Exim] String expansion: repeat a character sequence n times
At 15:00 +0200 Sheldon Hearn wrote:

>  headers_add = \
>    ${if \
>      match {$h_X-Spam-Score:}{${repeat{\\\\+}{MAILBOX_SPAMTAG_THRESH}}} \
>      {Subject: ***SPAM*** $h_Subject:} {} \
>    }

>
>Hope springs eternal. :-)


..which is why you can embed a nice Perl interpreter ;)

..or (if you don't want all that overhead) have a silly perl daemon listen
on a unix socket which your exim connects to..