[vchkpw] Duplicate pw_dir first time I use webmail

2009-11-19 Thread Roberto

Hi everyone. I'm not sure if this is a vpopmail or a dovecot issue.

When I browse the ~vpopmail/domains/mydomain/ dir I see that a subfolder 
named 0 contains part of the accounts. And the pw_dir of the newly 
created accounts is placed in that directory.
I can retrieve the messages via pop3 but not via imap/webmail because 
the messages are checked in the upper dir.


Trying to be more specific, if bob is the pw_name and 
~vpopmail/domains/mydomain/0/bob is the pw_dir, when bob connects via 
webmail/imap a dir ~vpopmail/domains/mydomain/bob (not in the 0/ subdir) 
is created and he cannot retrieve his message.


Can you tell me the reason of that 0/ subdir? Is it normal?

Here is my config:
netqmail 1.05
vpopmail 5.4.25
dovecot 1.2.2
webmail: roundcube 0.3

Thanks in advance for any answer
Roberto

!DSPAM:4b05668f32719077512184!



Re: [vchkpw] Duplicate pw_dir first time I use webmail

2009-11-19 Thread Rick Macdougall

Roberto wrote:

Hi everyone. I'm not sure if this is a vpopmail or a dovecot issue.

When I browse the ~vpopmail/domains/mydomain/ dir I see that a subfolder 
named 0 contains part of the accounts. And the pw_dir of the newly 
created accounts is placed in that directory.
I can retrieve the messages via pop3 but not via imap/webmail because 
the messages are checked in the upper dir.


Trying to be more specific, if bob is the pw_name and 
~vpopmail/domains/mydomain/0/bob is the pw_dir, when bob connects via 
webmail/imap a dir ~vpopmail/domains/mydomain/bob (not in the 0/ subdir) 
is created and he cannot retrieve his message.


Can you tell me the reason of that 0/ subdir? Is it normal?

Here is my config:
netqmail 1.05
vpopmail 5.4.25
dovecot 1.2.2
webmail: roundcube 0.3



Hi,

Most likely a problem with dovecot as it would be the one creating those 
directories.  How ever we don't know if it's a bug in Dovecot or a 
problem with your configuration.


I looked through all the change logs of Dovecot 1.2.3 till 1.2.7 and 
didn't see any mention of a fix.


Could you post your Dovecot config file to a pastie site (like 
www.pastie.org) and give us the url so we can take a look ?


Regards,

Rick


!DSPAM:4b056d9332711694420003!



Re: [vchkpw] Duplicate pw_dir first time I use webmail

2009-11-19 Thread Roberto

Hi Rick,
you can see my dovecot.conf here http://www.filologiasarda.eu/dovecot.conf

thanks a lot
Roberto


Rick Macdougall wrote:

Roberto wrote:

Hi everyone. I'm not sure if this is a vpopmail or a dovecot issue.

When I browse the ~vpopmail/domains/mydomain/ dir I see that a 
subfolder named 0 contains part of the accounts. And the pw_dir of 
the newly created accounts is placed in that directory.
I can retrieve the messages via pop3 but not via imap/webmail because 
the messages are checked in the upper dir.


Trying to be more specific, if bob is the pw_name and 
~vpopmail/domains/mydomain/0/bob is the pw_dir, when bob connects via 
webmail/imap a dir ~vpopmail/domains/mydomain/bob (not in the 0/ 
subdir) is created and he cannot retrieve his message.


Can you tell me the reason of that 0/ subdir? Is it normal?

Here is my config:
netqmail 1.05
vpopmail 5.4.25
dovecot 1.2.2
webmail: roundcube 0.3



Hi,

Most likely a problem with dovecot as it would be the one creating those 
directories.  How ever we don't know if it's a bug in Dovecot or a 
problem with your configuration.


I looked through all the change logs of Dovecot 1.2.3 till 1.2.7 and 
didn't see any mention of a fix.


Could you post your Dovecot config file to a pastie site (like 
www.pastie.org) and give us the url so we can take a look ?


Regards,

Rick







!DSPAM:4b05702532711610610004!



Re: [vchkpw] Duplicate pw_dir first time I use webmail

2009-11-19 Thread Roberto
I would expect that the dovecot reads the pw_dir from the vpopmail db 
instead of using this line

mail_location = maildir:/home/vpopmail/domains/%d/%n/Maildir

which not contains the 0/ subdir. Is there a way to inhibit vpopmail 
from storing user Maildir in the subdirs?


regards
Roberto

!DSPAM:4b05721d32714882885168!



Re: [vchkpw] Duplicate pw_dir first time I use webmail

2009-11-19 Thread Rick Macdougall

Roberto wrote:

Hi Rick,
you can see my dovecot.conf here http://www.filologiasarda.eu/dovecot.conf

thanks a lot
Roberto




Trying to be more specific, if bob is the pw_name and 
~vpopmail/domains/mydomain/0/bob is the pw_dir, when bob connects via 
webmail/imap a dir ~vpopmail/domains/mydomain/bob (not in the 0/ 
subdir) is created and he cannot retrieve his message.


Can you tell me the reason of that 0/ subdir? Is it normal?



Hi,

Most likely a problem with dovecot as it would be the one creating 
those directories.  How ever we don't know if it's a bug in Dovecot or 
a problem with your configuration.


I looked through all the change logs of Dovecot 1.2.3 till 1.2.7 and 
didn't see any mention of a fix.


Could you post your Dovecot config file to a pastie site (like 
www.pastie.org) and give us the url so we can take a look ?




Hi,

The problem is your mail_location.  You are forcing it to be in 
/home/vpopmail/domains/domain.com/username


You want to use

mail_location = maildir:%h/Maildir

instead.

Regards,

Rick

!DSPAM:4b0575e832711937610741!



Re: [vchkpw] Duplicate pw_dir first time I use webmail

2009-11-19 Thread Rick Macdougall

Roberto wrote:
I would expect that the dovecot reads the pw_dir from the vpopmail db 
instead of using this line

mail_location = maildir:/home/vpopmail/domains/%d/%n/Maildir

which not contains the 0/ subdir. Is there a way to inhibit vpopmail 
from storing user Maildir in the subdirs?




Hi,

You are correct that you should use pw_dir.  In Dovecot pw_dir is equal 
to %h, so the correct usage is mail_location = maildir:%h/Maildir


To disable the hashing of the user subdirs you can use the compile flag 
--disable-users-big-dir but you don't want to do this unless you know 
you will never have a large user base.


Regards,

Rick


!DSPAM:4b0577c732711024623068!



Re: [vchkpw] Duplicate pw_dir first time I use webmail

2009-11-19 Thread Roberto Puzzanghera

It works now. Thank you so much :-)

Rick Macdougall wrote:

Roberto wrote:
I would expect that the dovecot reads the pw_dir from the vpopmail db 
instead of using this line

mail_location = maildir:/home/vpopmail/domains/%d/%n/Maildir

which not contains the 0/ subdir. Is there a way to inhibit vpopmail 
from storing user Maildir in the subdirs?




Hi,

You are correct that you should use pw_dir.  In Dovecot pw_dir is equal 
to %h, so the correct usage is mail_location = maildir:%h/Maildir


To disable the hashing of the user subdirs you can use the compile flag 
--disable-users-big-dir but you don't want to do this unless you know 
you will never have a large user base.


Regards,

Rick


!DSPAM:4b05789332711940644654!