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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeremy Harris
Datum:  
To: exim-users
Betreff: 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