[exim-dev] [Bug 1030] New: Header count limits enforcement

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 1030] Header count limits enforcement, [exim-dev] [Bug 1030] Header count limits enforcement, [exim-dev] [Bug 1030] Header count limits enforcement
Subject: [exim-dev] [Bug 1030] New: Header count limits enforcement
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1030
           Summary: Header count limits enforcement
           Product: Exim
           Version: N/A
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: ACLs
        AssignedTo: pdp@???
        ReportedBy: pdp@???
                CC: exim-dev@???



Per Todd Lyons' mail "RFC 5532 enforcement", we should enforce maximum header
counts.

The actual RFC is 5322, "Internet Message Format". §3.6, "Field Definitions",
contains a table showing min and max counts for various headers.

Exim should have knowledge of this table's contents and be able to react
accordingly. Admins should not have to manually construct rules for RFC
compliance.

Perhaps a global option for enforcement. Perhaps ability to turn on or off
enforcement in the ACL. Should Exim be able to accept such mails and clean
them up, when acting in Submission mode, by applying policies (keep-highest,
keep-lowest, perhaps per-header?) ?

As well as "just reject", if the status can be made available for processing in
the DATA ACL, much as malware= is, that might be interesting.

Come up with a solid design. Implement it.

Comments on this bug which provide use-cases for anything beyond "global
option" are appreciated.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email