[Mimedefang] Server load
Douglas J Hunley
doug at hunley.homeip.net
Thu Oct 24 23:15:01 EDT 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nate Carlson spewed electrons into the ether that resembled:
> Other option is to use tmpfs. don't have to mess with any of the mkfs
> stuff that way..
thats what I do. I make /var/spool/MIMEDefang a tmpfs mount. works like a
charm and was easy as cake.
here's how:
1. make sure tmpfs (former shmfs) support is in kernel
2. add to boot.local (or equiv):
mkdir /dev/shm/var/spool/MIMEDefang
mount --bind -o noatime,nodev,nosuid,defaults /dev/shm/var/spool/MIMEDefang
/var/spool/MIMEDefang
3. add line to /etc/fstab:
tmpfs /dev/shm tmpfs defaults 0 0
reboot and you're golden. (you might need 'chown mdefang:mdefang
/var/spool/MIMEDefang' as last part of #2
- --
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
Admin: Linux StepByStep - http://www.linux-sxs.org
and http://jobs.linux-sxs.org
There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence. -- Jeremy S. Anderson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQE9uLb6SrrWWknCnMIRAnhxAKC1cJG0ypumPOnnfs8QGLvCPRZ8SgCdE1Di
M3kCOdHd7sb6/L++cs1H+xc=
=CbJH
-----END PGP SIGNATURE-----
More information about the MIMEDefang
mailing list