On Mon, 29 Aug 2005 20:42:38 +0200, Jarry wrote: > > MAILDIR=/var/spool/mail > > DEFAULT=$MAILDIR/$LOGNAME/ > > at the top of /etc/procmailrc > > OK, I tried. My /etc/procmailrc is: > DEFAULT=/var/spool/mail/$LOGNAME/ # that is the same > > Mail is still in "maildir" format but at least in /var/spool/mail.
Rhat's correct, as others have said, maildir has many benefits. If you want delivery to a single file, remove the trailing slash. > Q: How can I prohibit users from changing mail-path in their > $HOME/.procmailrc back to $HOME/.maildir? That way they could > circumvent my /var userqouta settings (100MB) and use /home > settings (5GB)... Set the ownership of all .maildir directories to root:root and chmod 700? It wouldn't stop them changing it, but they'd soon change it back :) -- Neil Bothwick Joystick: (n.) a device essential for performing business tasks and training exercises esp. favored by pilots, tank commanders, riverboat gamblers, and medieval warlords.
pgp2bI3dgLVdp.pgp
Description: PGP signature