Re: [exim] Counting the number of headers in an incoming ema…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: Re: [exim] Counting the number of headers in an incoming email (was Re: Limit the total number of headers in incoming SMTP messages?)
On 05/01/16 21:26, Chris Siebenmann wrote:
> Is the 'sg to discard non-newline' sg something like:
>     ${sg{...} {\N[^\n]+\N} {}}


Yeah, looks about right

> Technically one wants strlen+1 here


Appending another character to get counted will be more
efficient than an eval, I guess.
--
Cheers,
Jeremy