[exim-dev] [Bug 2677] New: local_part > 254 chars not patte…

Pàgina inicial
Delete this message
Reply to this message
Autor: admin
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 2677] New: local_part > 254 chars not pattern-matchable for rewrite
https://bugs.exim.org/show_bug.cgi?id=2677

            Bug ID: 2677
           Summary: local_part > 254 chars not pattern-matchable for
                    rewrite
           Product: Exim
           Version: 4.94
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Address Rewriting
          Assignee: unallocated@???
          Reporter: jgh146exb@???
                CC: exim-dev@???


>> On 12/12/2020 14:46, Frank Richter via Exim-users wrote:
>>> It comes from an e-mail with an overlong From: header:
>>> From: "…" <PPPPPPPPPPPPPPKKKKKKKKKKKKKKKKKTTTTTTTTTTTTTTTTTTTTTTTTRRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSSSSAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADDDDDDDDDDDDDDDDDFFFFFFFFFFFFFFFFFFFFFCCCCCCCCCCCCCCCBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB@…>
>>>
>>> I'd like to reject such "address monsters". How's the best way to achieve this?
>>
>> Try a rewrite rule:
>>
>> ^.{40,}@tuced.eu          deny_me@???

>>
>> before your existing rule. Then a simple match-and-deny in your data ACL:
>>
>> deny condition = ${if eq {deny_me@???} {${address:$h_from:}}}


Thanks.

This works for local parts from 40 up to 254 characters. For longer local parts
we get the same paniclog:
no @ found in the subject of an address list match …

--
You are receiving this mail because:
You are on the CC list for the bug.