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

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: 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