[Dovecot] pop3 authentication failure - password mismatch

Girish Patangay girish at intoto.com
Mon Jul 25 18:46:01 EEST 2005


James,

The way I understand it is that when you login with a user, whether it
be pop3 or imap, it uses that user's privileges to access the files.
Therefore, all you need to do is have the file chowned to the user it
belongs to and it should work. Personally I wouldn't use dotlocking
since it's inefficient, try one of the other methods, they work great as
long as you don't have the mail partition nfs mounted or a weird
filesystem.

Good luck!

Girish

On Fri, 2005-07-22 at 19:46 -0700, James Sun wrote:
> On 7/22/05, Girish Patangay <girish at intoto.com> wrote:
> > Shouldn't you be using "shadow" instead of passwd for the passdb?
> > 
> > Just a curious question.
> > 
> 
> Yes!  You are right.  "shadow" should work as well.  
> 
> I just give it a try and auth worked!  Thanks.
> 
> However, I am not hitting another problem : no proper permission.
> 
> If I understand correctly I have set it in dovecot.conf file to use
> "root" for processing.  How come I don't have enough permission?
> 
> Jul 23 02:26:56 hsiufen dovecot: Dovecot v1.0-stable starting up
> Jul 23 02:28:10 hsiufen dovecot: pop3-login: Login: jam [24.6.106.170]
> Jul 23 02:28:10 hsiufen dovecot: POP3(jam):
> open(/var/mail/.temp.hsiufen.net.15682.f3c4cf83d750e6e4) failed:
> Permission denied
> Jul 23 02:28:10 hsiufen dovecot: POP3(jam): file_lock_dotlock() failed
> with mbox file /var/mail/jam: Permission denied
> Jul 23 02:28:31 hsiufen dovecot: Killed with signal 2
> 
> Any ideas?
> 
> Jun




More information about the dovecot mailing list