[Mimedefang] Creating a Ram Based Spool Directory
Lucas Albers
admin at cs.montana.edu
Tue Jun 3 18:29:00 EDT 2003
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
This will not result in the loss of any mail, if your machine is powered off.
The exact steps are:
Stop mimedefang.
add the fstab entry
mount the volume using the command
mount /var/spool/MIMEDefang
start mimedefang.
Send a test message through.
IT IS IMPORTANT THAT YOU CALCULATE THE CORRECT SPOOL SIZE!
Please refer to the page, for calculating the size of your ramdisk:
http://www.mimedefang.org/node.php?id=16
Dave, can you add this to the tips page?
--Luke
More information about the MIMEDefang
mailing list