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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Matt Bernstein
Date:  
À: Sheldon Hearn
CC: exim-users
Sujet: 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..