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

Top Pagina
Delete this message
Reply to this message
Auteur: Matt Bernstein
Datum:  
Aan: Sheldon Hearn
CC: exim-users
Onderwerp: 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..