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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Matt Bernstein
Dátum:  
Címzett: Sheldon Hearn
CC: exim-users
Tárgy: 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..