Incoming dir size?
Gottschalk, David
dgottsc at emory.edu
Mon Sep 17 12:47:22 IST 2007
Thanks for the help everyone!
David Gottschalk
UTS Infrastructure Technology Services
david.gottschalk at emory.edu
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Julian Field
Sent: Saturday, September 15, 2007 9:40 AM
To: MailScanner discussion
Subject: Re: Incoming dir size?
For starters, don't use a fixed size ram disk, use tmpfs which will only
allocate as much ram as is needed at any given time, and will allocate
space out of swap if it runs out of ram.
So do that for starters, together with a reasonable size swapfile, and
also put in a sensible limit on the max message size in your MTA (say,
100Mb).
Gottschalk, David wrote:
>
> Hi all,
>
> I recently set my /mailscanner/incoming directory to be mounted in
> memory. One thing I didn't think about before I allocated size is what
> if a email comes in that is bigger than this filesystem size in
> memory? Currently, I have 512mb mounted in memory. The size of data on
> it right now is very small, but I'm afraid it could cause problems if
> someone sent a massive file (had someone recently send a 1.4gig file
> via email, no, I'm not joking, it got quarantined though cause it was
> over max size allowed). I can't find any information on this, so any
> input would be appreciated.
>
> Thanks!
>
> David Gottschalk
> UTS Infrastructure Technology Services
> david.gottschalk at emory.edu <mailto:david.gottschalk at emory.edu>
>
Jules
--
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list