Ralf Hildebrandt
2013-Aug-20 08:32 UTC
[Dovecot] Rfc: Limit the size of an email IN the mailbox
Currently we're in the process of migrating Dovecot mailboxes to Exchange. This is all working very well, except for the occasional user, who used his/her Drafts folder as a file storage: They started writing an email containing lots of image attachments (and thus exceeding our maximum_message_size by far). So the mail never gets sent, but stays in the Drafts folder. Once I try moving that mail to exchange, it won't accept the message since it's too big. I think it would be interesting to have a limit on the total size of an IMAP object, just like in SMTP. Thought? -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de
Reindl Harald
2013-Aug-20 08:41 UTC
[Dovecot] Rfc: Limit the size of an email IN the mailbox
Am 20.08.2013 10:32, schrieb Ralf Hildebrandt:> Currently we're in the process of migrating Dovecot mailboxes to > Exchange. > > This is all working very well, except for the occasional user, who used > his/her Drafts folder as a file storage: They started writing an email > containing lots of image attachments (and thus exceeding our > maximum_message_size by far). So the mail never gets sent, but stays in > the Drafts folder. > > Once I try moving that mail to exchange, it won't accept the message > since it's too big. I think it would be interesting to have a limit on > the total size of an IMAP object, just like in SMTPshould not be difficult to implement dbmail has a setting after a feature-request from me because the "smart" Apple Mail resulted in crashing the server multiple times by a user on the LAN who draged the wrong attachment to a new message which was a some GB large video and Apple insists trying to save the draft each time the server comes back dbmail.conf: max_message_size = 36700160 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20130820/86312c99/attachment.bin>
Timo Sirainen
2013-Sep-21 21:47 UTC
[Dovecot] Rfc: Limit the size of an email IN the mailbox
On 20.8.2013, at 11.32, Ralf Hildebrandt <Ralf.Hildebrandt at charite.de> wrote:> Currently we're in the process of migrating Dovecot mailboxes to > Exchange. > > This is all working very well, except for the occasional user, who used > his/her Drafts folder as a file storage: They started writing an email > containing lots of image attachments (and thus exceeding our > maximum_message_size by far). So the mail never gets sent, but stays in > the Drafts folder. > > Once I try moving that mail to exchange, it won't accept the message > since it's too big. I think it would be interesting to have a limit on > the total size of an IMAP object, just like in SMTP. > > Thought?Maybe a new mail_max_msg_size setting that is used also by the upcoming submission server.