mail spool in user dir

albi albi at scii.nl
Mon Dec 26 05:23:37 PST 2005


On Mon, 26 Dec 2005 08:01:36 -0500
"Brent" <mrb at bmyster.com> wrote:

> Is there a way to make users spool mailbox be in the user dir instead
> of in /var/mail/  ?? We are using sendmail w/ local mailer being
> procmail. 

must be possible to set that in your procmail-settings, but changing the
MAIL-env. in /etc/login.conf is also an idea (check "man login.conf"
and "man cap_mkdb")

for maildir it looks like this in my /usr/local/etc/procmailrc :

DEFAULT=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/
MAILDIR=$HOME/Maildir/

perhaps "man procmailex" shows options for mbox-format style delivery

> As well as we use Openwebmail for a webmail interface .

yes, you have to change this in the config of Openwebmail as well

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import


More information about the freebsd-questions mailing list