Re: [exim] Spam using a space to separate message body and h…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Heiko Schlittermann
Fecha:  
A: exim-users
Asunto: Re: [exim] Spam using a space to separate message body and header...
Eric Bullen <barnabus.pinklehorn@???> (Do 01 Sep 2005 21:13:35 CEST):
> Does anyone have suggestions on how to combat this. I am getting spam that
> is using a space instead of a null value to separate the header and the
> message body, and it's causing exim some problems (I'm adding headers to the
> message, and it's being put at the end of the message). Any help would be
> appreciated..


If there is a space between header and body, than then the header should
have invalid header lines. But there seems to be no test about
completly invalid header lines.

Probably you can construct some reg exp header test, checking if every
header line matches ^\S+:\s+.*' or '^\s+\S'. (Or even more specific.)

    Best regards from Dresden
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -