[Mimedefang] Creating a Ram Based Spool Directory

Bill Randle billr at neocat.org
Tue Jun 3 22:04:00 EDT 2003


On Tue, 2003-06-03 at 15:28, Lucas Albers wrote:
> These are the steps to mount the mimedefang spool directory on a ramdisk.
> on Linux.
> 
> Command to mount:
> mount -t tmpfs -o size=200m,mode=0700,uid=defang,gid=defang /dev/shm/
> /var/spool/MIMEDefang
> 
> Entry to add in your /etc/fstab
> /var/spool/MIMEDefang   /dev/shm size=200m,mode=0700,uid=defang,gid=defang
> /dev/shm/ /var/spool/MIMEDefang

Mandrake Linux (8.1 and later), for one, includes a tmpfs entry in fstab
by default. So my /var/spool/MIMEDefang entry looks like this:

  none /var/spool/MIMEDefang tmpfs
mode=700,size=128M,uid=defang,gid=defang 0 0


	-Bill





More information about the MIMEDefang mailing list