[Dovecot] Size limit for a single mail in the IMAP store?
Postfix has "message_size_limit = 26214400", but that doesn't keep my users from sending huge messages which canot be sent, but can be stored in the IMAP "Sent" folder.
Is it possible to set a size limit for the size of a single mail?
-- 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@charite.de | http://www.charite.de
On Tue, 2010-08-31 at 15:17 +0200, Ralf Hildebrandt wrote:
Postfix has "message_size_limit = 26214400", but that doesn't keep my users from sending huge messages which canot be sent, but can be stored in the IMAP "Sent" folder.
Is it possible to set a size limit for the size of a single mail?
No, other than what quota restricts. IMAP restricts mail sizes to 4 GB, but Dovecot actually allows larger sizes (I've never tried it though). Why do you need this?
- Timo Sirainen tss@iki.fi:
On Tue, 2010-08-31 at 15:17 +0200, Ralf Hildebrandt wrote:
Postfix has "message_size_limit = 26214400", but that doesn't keep my users from sending huge messages which canot be sent, but can be stored in the IMAP "Sent" folder.
Is it possible to set a size limit for the size of a single mail?
No, other than what quota restricts. IMAP restricts mail sizes to 4 GB, but Dovecot actually allows larger sizes (I've never tried it though). Why do you need this?
Exchange does it that way :)
We're encountering problems with the migration from Dovecot -> Exchange, because users can generate huge emails in Sent and Drafts (which are never sent out, due to the size restrictions - but they're in these folders). These messages cannot be migrated because they exceed the maximum size Exchange will accept.
-- 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@charite.de | http://www.charite.de
participants (2)
-
Ralf Hildebrandt
-
Timo Sirainen