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

Inizio della pagina
Delete this message
Reply to this message
Autore: Jeremy Harris
Data:  
To: exim-users
Oggetto: 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