Mailscanner changing the size of attachment

Martin.Hepworth martinh at
Wed May 7 15:44:27 IST 2008

This is how files are transmitted my email. You have to convert 'binary' files into ascii which is how email works.

Therefore the file 'grows' by 50% when in an email.

Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

> -----Original Message-----
> From: mailscanner-bounces at [mailto:mailscanner-
> bounces at] On Behalf Of Pedro Bordin Hoffmann -
> [M]orpheus
> Sent: 07 May 2008 15:28
> To: MailScanner discussion
> Subject: Re: Mailscanner changing the size of attachment
> So the answer is becouse it encode the messages?
> Is there a way to fix it?
> Will he always change de real file size?
> thanks
> 2008/5/7 Ed <theodrake at>:
> 	Pedro Bordin Hoffmann - [M]orpheus wrote:
> 		Hello.
> 		I'm using Mailscanner, postfix, and spamassassin.
> 		I attached a file with 36 MB, and I have limit of 40 MB in
> Mailscanner. but it blocks my e-mail saying that the file exceeds the
> maximum size.
> 		I enter in quarantine and it shows up almost 50MB the file.
> 		Why mailscanner changed the size of file?
> 	This isn't caused by Mailscanner its just the effect of sending a
> binary file using SMTP.
> 	--
> 	MailScanner mailing list
> 	mailscanner at
> 	Before posting, read
> 	Support MailScanner development - buy the book off the website!

Confidentiality : This e-mail and any attachments are intended for the 
addressee only and may be confidential. If they come to you in error 
you must take no action based on them, nor must you copy or show them 
to anyone. Please advise the sender by replying to this e-mail 
immediately and then delete the original from your computer.
Opinion : Any opinions expressed in this e-mail are entirely those of 
the author and unless specifically stated to the contrary, are not 
necessarily those of the author's employer.
Security Warning : Internet e-mail is not necessarily a secure 
communications medium and can be subject to data corruption. We advise 
that you consider this fact when e-mailing us. 
Viruses : We have taken steps to ensure that this e-mail and any 
attachments are free from known viruses but in keeping with good 
computing practice, you should ensure that they are virus free.

Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales 
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU, 
United Kingdom

More information about the MailScanner mailing list