tempfs

Ugo Bellavance ugob at CAMO-ROUTE.COM
Wed Nov 12 02:46:12 GMT 2003


Hi, I searched the archive to see how secure using tempfs for /incoming dir, and I found this:

> > With tmpfs-based directories for
> >         MailScanner/incoming
> > this jumps to about 1.4 million messages per day, using the same settings.
> > This is perfectly safe as the MailScanner/incoming directory is wiped at
> > startup anyway, and no messages can be lost by power-outs.


I would like to know why it is safe exactly...   MailScanner leaves a copy of the message somewhere while it works on it?

Thanks,

> -----Message d'origine-----
> De : Spicer, Kevin [mailto:Kevin.Spicer at BMRB.CO.UK]
> Envoyé : Tuesday, November 11, 2003 12:17 PM
> À : MAILSCANNER at JISCMAIL.AC.UK
> Objet : Re: tempfs
> 
> 
> Ugo Bellavance wrote:
> > Hi,
> > 
> >         Is there a how-to on how to use tempfs with
> > mailscanner?  I use RH9.  Thanks,
> 
> No, I don't think so...
> 
> 
> But then it doesn't really need a howto.....
> 
> Add this line to /etc/fstab
> 
> none /var/spool/MailScanner/incoming tmpfs defaults 0 0
> 
> Then stop mailscanner and do this...
> 
> mount /var/spool/MailScanner/incoming
> 
> ... then start MailScanner
> 
> 
> Works for me on Mandrake 9 and Iguess it would work with 
> pretty much any distro/kernel that supports tmpfs.  (so RH9 
> should be fine).
> 




More information about the MailScanner mailing list