Re: [Exim] Unqualified address in header

Pàgina inicial
Delete this message
Reply to this message
Autor: Greg Ward
Data:  
A: exim-users
Assumpte: Re: [Exim] Unqualified address in header
On 18 September 2002, Philip Hazel said:
> Crude regex test in a "condition" condition in a DATA ACL?
>
>    deny condition = ${if match{$h_to:}{@}{no}{yes}}

>
> "Reject if no @ in the To: header line."


Except that will reject messages with

To: undisclosed-recipients :;

which, while a fairly strong spam indicator, is not 100% proof of
guilt. Guess the only thing for it is to parse the header for real, and
see if the addr-spec is @-less. Another thing for local_scan()
methinks.

        Greg
--
Greg Ward <gward@???>                         http://www.gerg.ca/
Never underestimate the power of human stupidity.