Incoming dir size?

Julian Field MailScanner at ecs.soton.ac.uk
Sat Sep 15 14:40:19 IST 2007


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



More information about the MailScanner mailing list