Re: [exim] How to reject overlong addresses/local parts in F…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: Re: [exim] How to reject overlong addresses/local parts in From: header?
On 14/12/2020 11:51, Mike Tubby via Exim-users wrote:
>
> If its the sender address, i.e. the envelope then in acl_check_mail something like:


He said "header".

>
> should do it, otherwise if you want to test the 'From' header in the body do something like:


>         deny    condition = ${if > {strlen:$header_From}{200}}


No. As I said:

>> Rewrites for headers get processed before the data ACL, or you could
>> just do it all there.


(and he has a rewrite rule, which is barfing)

--
Cheers,
Jeremy