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

Góra strony
Delete this message
Reply to this message
Autor: Matt Bernstein
Data:  
Dla: Sheldon Hearn
CC: exim-users
Temat: 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..