Ticket #131 (new Bug)

Opened 2 years ago

Handling of messages which are bigger than SMTP SIZE

Reported by: mfvm Owned by: Cyrus Daboo
Priority: major Milestone: unassigned
Component: Application Version: v4.0.6
Severity: Other Keywords: SMTP SIZE
Cc: Operating System: All
OS Version:

Description

As written on the list I've an issue with the sending of large messages (resp the error handling). In current versions the following happens:

  • The user creates a huge Mail and tries to send it.
  • The message is created / encoded
  • An SMTP EHLO is send to the server
  • If the message is greater than the SIZE given in the EHLO answer, QUIT is send to the server, the message window is closed and a popup is displayed: "SMTP Server 'MAIL' command reply is too large to be sent.
  • The Message is copied to the 'Sent' folder (if the 'Copy To' Option is activated) and kept in the Outgoing queue

There are several problems with this aproach:

  • If mulberry would also send 'MAIL FROM: <foo@…> SIZE=12345678' the Mailserver could reject the message properly and log the problem, which would simplify a later analysis (as users tend to ignore funny popups)
  • As the message could not be sent it should not be copied in the 'Sent' Folder. This behavior may cause confusion, especially as the message window is closed.
  • As the SIZE limit of the SMTP Server is not likely to change very often the message should not stay in the outgoing queue.
Note: See TracTickets for help on using tickets.