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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jeremy Harris
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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