Re: [exim] Please help me with my ACL to deal with empty Fro…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Phil Pennock
Fecha:  
A: web
Cc: exim-users
Asunto: Re: [exim] Please help me with my ACL to deal with empty From: headers
On 2012-03-30 at 10:24 +0200, web@??? wrote:
> I've tried your soluton, but it also deny messages with such From:
>
> From: user@???<user@???>
>
> (so email address followed by email address in <>, without any spaces
> between them)


That's not a valid format, so there's nothing there that should be
recognised as an address.

Take my suggestion, drop the "${addresses:" and matching "}" and just do
a strlen test against the contents of the header, if you don't care
about what the content is and any garbage will do.

-Phil