FYI

See the inflation factor of SMTP msg size versus attached file size.

Len

==================

>Delivered-To: [EMAIL PROTECTED]
>Delivered-To: [EMAIL PROTECTED]
>Date: Mon, 27 Jan 2003 15:55:44 +0000
>From: Simon White <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: Re: message_size_limit
>Mail-Followup-To: Simon White <[EMAIL PROTECTED]>,
>         "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>User-Agent: Mutt/1.3.27i
>X-Operating-System: Linux
>X-AntiVirus: checked by Vexira MailArmor (version: 2.0.1.7; VAE: 6.17.0.2; 
>VDF: 6.17.0.19; host: camomile.cloud9.net)
>Sender: [EMAIL PROTECTED]
>List-Post: <mailto:[EMAIL PROTECTED]>
>List-Help: <http://www.postfix.org/lists.html>
>List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
>List-Subscribe: <mailto:[EMAIL PROTECTED]>
>X-RCPT-TO: <[EMAIL PROTECTED]>
>
>27-Jan-03 at 16:51, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote :
> >
> > > Maybe it is still no high enough?  Did you forget to "postfix
> > > reload" ?
> >
> > No. I've outgrown these pants already.
> >
> > > If you want to test, try having the user send then email,
> > > then watch the
> > > incoming queue for email, and watch it grow:
> > >
> > > You can see the files in the incoming queue this way:
> > >
> > > find /var/spool/postfix/incoming -type f -exec ls -l {} \;
> >
> > nice one.
> >
> > the 15.5MB file in fact was 22MB. smtp seems to produce a nice large
> > overhead.
>
>No, it's Base64 encoding that creates overhead. All email actually
>happens in ASCII...
>
>15.5*4/3 = 20.66 + headers and suchlike will bring it up to around 21,
>22 Meg.
>
>To be on the safe side, if you want 20Meg attachments then you need to
>set a message_size_limit of about 28Meg:
>
>20*4/3
>=26.66
>+ 1.44 meg for headers, long message, etc... indeed Base64 has an
>overhead of slightly more than 4/3, it would seem, from my experience.
>
>--
>[Simon White. vim/mutt. [EMAIL PROTECTED] Folding@home no log script yet...]
>History is the version of past events that people have decided to agree
>upon.  -- Napoleon Bonaparte
>[Linux user #170823 http://counter.li.org. Home cooked signature rotator.]


Reply via email to