| Linode Forum https://forum.linode.com/ |
|
| [SOLVED] configuring dovecot+vpopmail https://forum.linode.com/viewtopic.php?f=11&t=4174 |
Page 1 of 1 |
| Author: | yhager [ Sun May 03, 2009 3:38 am ] |
| Post subject: | [SOLVED] configuring dovecot+vpopmail |
I've set up qmail+vpopmail+dovecot on my sytem, but there is something I miss, and I have yet to find a howto that explains it. vpopmail uses /var/vpopmail/domains/domain.com/username as the user's maildir directory. qmail delivers to ~/.maildir (and mutt reads from the same dir). If I set up vpopmail to use ~/.maildir (by changing the user entry in the vpopmail table - is there a better way?) I get a message from dovecot that it can't switch to ~/.maildir with user 89 (vpopmail). How can I configure dovecot to use the same user's uid as the one who owns the mailbox? Thanks! |
|
| Author: | Vance [ Sun May 03, 2009 10:51 pm ] |
| Post subject: | |
I don't know qmail or vpopmail, but it sounds like ~ is being interpreted as the vpopmail user's home directory, not the addressee's home directory. If possible, you want to set up the config to drop mail into the /home/username/.maildir/ directory, where username is the addressee. Another way if you only have a few users would be to create a link from /var/vpopmail/domains/domain.com/username - e.g., by using the command ln -s /home/username/.maildir /var/vpopmail/domains/domain.com/username. This assumes that vpopmail has rights to write to /home/username/.maildir. |
|
| Author: | yhager [ Thu May 07, 2009 3:53 am ] |
| Post subject: | dropped vpopmail |
Thanks. I was using the full path, not the '~' notation. As you have guessed, this is a permission issue. I do not want *all* mail to be under a single user ownership, since it means a user might be able to read other user's mail. I was looking for a way to make vpopmail write into the user directory, with the user ownership and read rights. (and I tried to link it, permission denied). I ended giving up vpopmail as a whole, and just using qmail + dovecot. Dovecot has great documentation, both on the config file, and in the wiki, so it was very simple to configure the way I wanted it, once I dropped vpopmail. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|