Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun May 03, 2009 3:38 am 
Offline
Senior Newbie

Joined: Sun Sep 14, 2008 2:39 am
Posts: 5
WLM: yuval@avramzon.net
Location: Israel
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!

_________________
--yuval


Last edited by yhager on Thu May 07, 2009 3:53 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Sun May 03, 2009 10:51 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
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.


Top
   
 Post subject: dropped vpopmail
PostPosted: Thu May 07, 2009 3:53 am 
Offline
Senior Newbie

Joined: Sun Sep 14, 2008 2:39 am
Posts: 5
WLM: yuval@avramzon.net
Location: Israel
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.

_________________
--yuval


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group