View previous topic :: View next topic |
Author |
Message |
Vaste n00b
Joined: 11 Sep 2002 Posts: 8
|
Posted: Sun Nov 24, 2002 2:51 pm Post subject: Changing /home/$USER maildir to /var... |
|
|
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 |
|
|
zhenlin Veteran
Joined: 09 Nov 2002 Posts: 1361
|
Posted: Mon Nov 25, 2002 8:31 am Post subject: |
|
|
USE="-maildir mbox" if you want one file for each and every person like the original /var/spool/mail... |
|
Back to top |
|
|
Vaste n00b
Joined: 11 Sep 2002 Posts: 8
|
Posted: Mon Nov 25, 2002 3:31 pm Post subject: Re: Changing /home/$USER maildir to /var... |
|
|
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 |
|
|
choward Tux's lil' helper
Joined: 08 Nov 2002 Posts: 92
|
Posted: Mon Nov 25, 2002 6:05 pm Post subject: |
|
|
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 |
|
|
|