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

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jeremy Harris
Päiväys:  
Vastaanottaja: exim-users
Aihe: 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 20:37, Chris Siebenmann wrote:
> could be doing this in a more clever way.


Clever is in the eye of the beholder, but...

message_headers
sg to convert newline-whitespace to space
sg to discard non-newline
strlen

--
Cheers,
Jeremy