View previous topic :: View next topic |
Author |
Message |
DeKoder n00b
Joined: 10 Aug 2002 Posts: 17
|
Posted: Wed Jan 08, 2003 7:15 pm Post subject: ~/.maildir support on vpopmail + qmail |
|
|
Does vpopmail support the .maildir that my qmail-pop3d installation uses, or will i have to convert ALL mailboxes to ~/Maildir so that vpopmail begins to work ?
Authenticating a virtual user on a virtual domain i just get:
-ERR this user has no $HOME/Maildir
Even though this vuser has his $HOME/Maildir on /var/vpopmail/domains/xxxxxxx/user
I would really apreciate using the ~/.maildir type of maildir, but i haven't been able to find a solution for this issue. I searched a lot on google and gentoo / vpopmail forums and nothing came up...
Many thanks in advance |
|
Back to top |
|
|
jukka Apprentice
Joined: 06 Jun 2002 Posts: 249 Location: Zurich, Switzerland
|
Posted: Wed Jan 08, 2003 7:39 pm Post subject: Re: ~/.maildir support on vpopmail + qmail |
|
|
DeKoder wrote: | Does vpopmail support the .maildir that my qmail-pop3d installation uses, or will i have to convert ALL mailboxes to ~/Maildir so that vpopmail begins to work ? |
i don't really know vpopmail (i use qmail, a userdb and maildrop), but it supports maildirs. you won't have to convert your mailboxes.
Quote: | Authenticating a virtual user on a virtual domain i just get:
-ERR this user has no $HOME/Maildir
Even though this vuser has his $HOME/Maildir on /var/vpopmail/domains/xxxxxxx/user
I would really apreciate using the ~/.maildir type of maildir |
hmm, are you sure you know what you want?
first, make sure $HOME is set for the user while delivering mail. then, make sure that the users mail directory exists and is a maildir (e.g. crated with maildirmake(1)) and has correct (no group or other bits set) permissions. and, be aware of the difference between ~/Maildir and ~/.maildir... |
|
Back to top |
|
|
DeKoder n00b
Joined: 10 Aug 2002 Posts: 17
|
Posted: Fri Jan 10, 2003 3:56 pm Post subject: |
|
|
erm...i just solved this issue by mv'ing /var/vpopmail/domains/testdom.ain/testuser/Maildir to /var/vpopmail/domains/testdom.ain/testuser/.maildir ! Vpopmail is not creating vusers $HOME right! Does somebody know where does vpopmail copy files from to each new vuser's $HOME from? (some dir like /etc/skel for regular system users) Or how to make it work right with this maildir settings right from the beggining? Thanks |
|
Back to top |
|
|
mr-simon Guru
Joined: 22 Nov 2002 Posts: 367 Location: Leamington Spa, Warks, UK
|
Posted: Fri Jan 10, 2003 5:01 pm Post subject: |
|
|
AFAIK there's no way to make qmail/vpopmail call the directory .maildir instead of Maildir, short of modifying the code.
I seem to remember It Just Worked when I installed them to begin with, but I had to change a setting in Courier-IMAP when I wanted it to talk to the maildirs, so it knew to look for maildirs called 'Maildir' not '.maildir'...
When you create the user it should create a folder called 'Maildir'... Structurally, it's the same but it's just called something different. How did your '.maildir' folder appear? _________________ "Pokey, are you drunk on love?"
"Yes. Also whiskey. But mostly love... and whiskey." |
|
Back to top |
|
|
DeKoder n00b
Joined: 10 Aug 2002 Posts: 17
|
Posted: Fri Jan 10, 2003 10:22 pm Post subject: |
|
|
hmm...I didn't understand your question very well (my first language is not english :\ ) but anyway you're suggesting that the only way to make vpopmail work like i want, is by hacking the sources right? Btw, I have "maildir" in my USE settings, and both qmail and vpopmail were compiled with this USE settings. Maybe the fact that vpopmail doesn't care of this USE variable is causing this issue... |
|
Back to top |
|
|
jukka Apprentice
Joined: 06 Jun 2002 Posts: 249 Location: Zurich, Switzerland
|
Posted: Sun Jan 12, 2003 7:35 pm Post subject: |
|
|
mr-simon wrote: | AFAIK there's no way to make qmail/vpopmail call the directory .maildir instead of Maildir, short of modifying the code. |
as i already said: i don't know vpopmail. but for qmail your statement is wrong: if you pass e.g. './.maildir/' as an argument ('defaultdelivery') to qmail-start (which gets passed to qmail-lspawn and from there to qmail-local), mail is delivered by default to the users maildir '~/.maildir/'. and, btw, users are able to set their qmail inbox by editing their '~/.qmail' file.
Quote: | [...] but I had to change a setting in Courier-IMAP [...] |
you have to set the variable MAILDIR accordingly. for a gentoo setup that means: change MAILDIR=... in /etc/courier-imap/(imap|pop3)d |
|
Back to top |
|
|
|