Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Changing /home/$USER maildir to /var...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Vaste
n00b
n00b


Joined: 11 Sep 2002
Posts: 8

PostPosted: Sun Nov 24, 2002 2:51 pm    Post subject: Changing /home/$USER maildir to /var... Reply with quote

I wanna change my maildir from /home/$USER/.maildir to like /var/spool/mail/$USER.

This is because I intend to put all the maildirs on a separate partition so I won't risk missing any mail because my /home/$USER or simply / is full.

How do I do this with postfix? Is it impossible? Should I use qmail instead? Has it anything to do with Courier-IMAP? If i change home_mailbox it just appends whatever there is (like /home/$USER//var/spool...), instead of parsing it as a absolute path.

I want to use maildir and would like to avoid creating symlinks for every user.
Back to top
View user's profile Send private message
zhenlin
Veteran
Veteran


Joined: 09 Nov 2002
Posts: 1361

PostPosted: Mon Nov 25, 2002 8:31 am    Post subject: Reply with quote

USE="-maildir mbox" if you want one file for each and every person like the original /var/spool/mail...
Back to top
View user's profile Send private message
Vaste
n00b
n00b


Joined: 11 Sep 2002
Posts: 8

PostPosted: Mon Nov 25, 2002 3:31 pm    Post subject: Re: Changing /home/$USER maildir to /var... Reply with quote

Vaste wrote:

I want to use maildir and would like to avoid creating symlinks for every user.

zhenlin wrote:
USE="-maildir mbox" if you want one file for each and every person like the original /var/spool/mail...


No, I still want to use maildir, not mbox, but I want all users' maildirs in the same dir (and not in /home)
Back to top
View user's profile Send private message
choward
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2002
Posts: 92

PostPosted: Mon Nov 25, 2002 6:05 pm    Post subject: Reply with quote

You could use procmail. In your .procmailrc set MAILDIR=/what/ever/you/want and then deliver everything to $MAILDIR. Check man procmailrc for more info.
_________________
Craig Howard
4B Computer Science -- University of Waterloo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum