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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Jeremy Harris
Fecha:  
A: exim-users
Asunto: 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