postfix-users October 2011 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Documentation Bug

Re: Documentation Bug

From: Wietse Venema <wietse_at_nospam>
Date: Thu Oct 13 2011 - 16:56:02 GMT
To: Postfix users <postfix-users@postfix.org>

Stefan Palme:
> On Thu, 2011-10-13 at 17:11 +0200, Reindl Harald wrote:
>
> > ... depending on the attachment the overhead can be very different
>
> Base64 always encodes 3 original bytes into 4 base64-bytes, so the
> factor to calculate the effective size for an attachment in an email is
> always 4/3*original_size.
>
> Of course, if an attachment is not base64-encoded, the effective size of
> an attachment may differ...

The quoted-printable encoding replaces one character by three. Even
such a large amount of expansion would not explain why they can't
send a 2.5MB file, when the Postfix message-size limit is 20MB.

        Wietse