IMAP default mailbox in user's home dir
I'm setting an IMAP server for math students. I wish the user mailbox to be in each home directory, so quota can prevent someone filling the /var/spool/mail. I yet configured smail and pine to search for the user inbox in ${HOME}/mail/inbox file. In the same mail directory Pine creates its folders. The IMAP server (imap 4.4-4) is OK to store folders in ${HOME}/mail/ but it insists on searching /var/spool/mail/${USER} for the inbox. I have two questions: 1) Is it possible to change imap without recompiling it? I read a lot of warning for using a configuration file. 2) Is there a Debian policy about mail in user's home directory? Niccolo Rigacci Firenze - Italy -- Contro la Tariffa Urbana a Tempo - http://notut.ml.org
Re: IMAP default mailbox in user's home dir
On Tue, Jun 22, 1999 at 12:23:51PM +0200, Rigacci wrote: > The IMAP server (imap 4.4-4) is OK to store folders in ${HOME}/mail/ but > it insists on searching /var/spool/mail/${USER} for the inbox. This isn't a "real solution", but, will IMAP accept a sym link in /var/spool/mail/${USER} ==> ${HOME}/mail/inbox ??? HTH, Jon -- Email: [EMAIL PROTECTED] [EMAIL PROTECTED] ICQ: 39679408
Re: IMAP default mailbox in user's home dir
On Tue, 22 Jun 1999, Rigacci wrote: I'm setting an IMAP server for math students. I wish the user mailbox to be in each home directory, so quota can prevent someone filling the /var/spool/mail. I yet configured smail and pine to search for the user inbox in ${HOME}/mail/inbox file. In the same mail directory Pine creates its folders. The IMAP server (imap 4.4-4) is OK to store folders in ${HOME}/mail/ but it insists on searching /var/spool/mail/${USER} for the inbox. I have two questions: 1) Is it possible to change imap without recompiling it? I read a lot of warning for using a configuration file. 2) Is there a Debian policy about mail in user's home directory? I know this isn't one of your questions, but why not give each user disk quota in the directory /var/spool/mail? This would avoid questions 1 & 2. Dennis -- Dennis Kelly <[EMAIL PROTECTED]> Network Adminstrator College of Engineering, MSU
Re: IMAP default mailbox in user's home dir
On Tue, Jun 22, 1999 at 08:53:04AM -0400, Dpk wrote: > On Tue, 22 Jun 1999, Rigacci wrote: > >I have two questions: > >1) Is it possible to change imap without recompiling it? I read a >lot of warning for using a configuration file. > >2) Is there a Debian policy about mail in user's home directory? > > I know this isn't one of your questions, but why not give each user > disk quota in the directory /var/spool/mail? This would avoid > questions 1 & 2. > I'm not the one who was asking but I can answer this question from my point of view (I also think about quota restrictions to my users): I want to give 5MB total disk space per user. So as I understand qouta mechanism I cannon check if it's OK when I've two quotas on two filesystems. Each user should have all his/her files in $HOME (mail folders, WWW files etc.). What will happen when I want 5MB limit and user will have 3MB inbox on first filesystem and 4MB mail/WWW files in $HOME? For me the only solution is to have all users' files in $HOME. -- o--o ___ |Leszek Gerwatowski|_/_|_\ o--o (o\__/o)=) "Don't fix it if it isn't broken"
Re: IMAP default mailbox in user's home dir
If there is a file called $HOME/mail/mbox, imapd will use that as the inbox. Actually this is a bug (report #33780) it should look in $HOME/mbox but I haven't quite figured out how to do that yet. To answer your questions, 1) The config file is unsupported and can break between versions. The author highly recommends you don't use it. 2) There isn't. -- Jaldhar H. Vyas <[EMAIL PROTECTED]> On Tue, 22 Jun 1999, Rigacci wrote: > I'm setting an IMAP server for math students. I wish the user mailbox to > be in each home directory, so quota can prevent someone filling the > /var/spool/mail. > > I yet configured smail and pine to search for the user inbox in > ${HOME}/mail/inbox file. In the same mail directory Pine creates its > folders. > > The IMAP server (imap 4.4-4) is OK to store folders in ${HOME}/mail/ but > it insists on searching /var/spool/mail/${USER} for the inbox. > > I have two questions: > > 1) Is it possible to change imap without recompiling it? I read a lot of > warning for using a configuration file. > > 2) Is there a Debian policy about mail in user's home directory? > > > Niccolo Rigacci > Firenze - Italy > > -- > Contro la Tariffa Urbana a Tempo - http://notut.ml.org > > -- >