[exim-dev] [Bug 1142] New: Add support for not enforcing mes…

Top Page
Delete this message
Reply to this message
Author: Andrew Lewis
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 1142] New: Add support for not enforcing message_size_limit
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1142
           Summary: Add support for not enforcing message_size_limit
           Product: Exim
           Version: N/A
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: Unfiled
        AssignedTo: nigel@???
        ReportedBy: eximbugzilla@???
                CC: exim-dev@???



Created an attachment (id=497)
--> (http://bugs.exim.org/attachment.cgi?id=497)
Patch to add smtp_enforce_size_limit option

Several (ie. Microsoft) mail clients do not understand ESMTP SIZE limits. Nor
do they understand 5xx errors at SMTP time. The impact is that when a user of
such a client tries to send a message which exceeds the host's
message_size_limit, it is repeatedly retransmitted and rejected, until removed
from the user's outbox.

One option is to set message_size_limit unrealistically high and reject large
mail using the system filter. However, this is undesirable because it penalises
users of well-behaved mail clients which would otherwise not have to transmit
an entire message to know that it's too large.

As such I recommend adding a smtp_enforce_size_limit option (which would
default to true). By setting this to false, the operator can have Exim accept
overly-large messages at SMTP time (to prevent them from being retransmitted)
and then fail them using the system filter.

Please find my patch attached.


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