2015-05-22 11:20 keltezéssel, art balauro írta:
Hi there thanks for your reply.

Speaking of MTA, what's best fit for sogo, cause now I'm using it on iredmail the free one, not the pro version that's why it's so limited on administration side.
Can I have your suggestion for the MTA's.

The first point: what is your MTA?
Most of cases it is the Postfix.

/etc/postfix/main.cf usually have a line with 'message_size_limit = xxxxx'. If there isn't, then you can create it at the end of the config file in a new line. The xxxx value is byte precision, so, if you want to set up a 32MB size limit, you need to set it to 32+1024+1024 => 33554432 So, your line will like 'message_size_limit = 33554432' based on this example. /Do not forget the trailing <LF> character (enter at the end of this line), if you use the mcedit!/

BUT!

Attachments on emails usually binary files - e.g. pictures, pdf files, archives, spreadsheets, word documents, etc. -, so, the mail clients (webmails too) will put them into mail body with base64 encoding, where one byte will be split. Exactly 3 bytes will be fit 4bytes in this encoding.

So... If you have 32MB message limit, you can't attach bigger attachments than 24MB into one mail. Most of cases this limit is ~23MB, because the mail will have more parts (header lines, message body, etc.) - and the size of multiple forwarded/replied mails is bigger and bigger every time, when they forwarded or replied, and some people has email signatures with in-line pictures.

Conclusion: the message size limit in postfix (and in other MTAs too) is never equals the possibly maximum size of attachments in the mail. Good to know that!

Cheers,
Peti
--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to