[Dovecot] upgrade from version 1.0.3 to version 1.0.7

2007-11-26 Thread dhottinger
Im working on upgrading to  dovecot-1.0.7 from version 1.0.3 which I  
installed using yum.  I backed up my init.d stuff so everything still  
works.  However, when I shutdown my old dovecot version and start the  
new, I get an empty mailbox when logging into mail.  My current config  
for dovecot.conf on version 1.0.3 has this for my mailbox  
location:mail_location = mbox:~/:INBOX=/var/mail/%u


I went from uw-imap to dovecot some months ago and necessary changes  
to the .mailboxlist to .subscriptions.  Is there a different format  
for version 1.0.7?


--
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools

rarely do people communicate, they just take turns talking



Re: [Dovecot] upgrade from version 1.0.3 to version 1.0.7

2007-11-26 Thread Timo Sirainen
On Mon, 2007-11-26 at 09:17 -0500, [EMAIL PROTECTED]
wrote:
 Im working on upgrading to  dovecot-1.0.7 from version 1.0.3 which I  
 installed using yum.  I backed up my init.d stuff so everything still  
 works.  However, when I shutdown my old dovecot version and start the  
 new, I get an empty mailbox when logging into mail.  My current config  
 for dovecot.conf on version 1.0.3 has this for my mailbox  
 location:mail_location = mbox:~/:INBOX=/var/mail/%u
 
 I went from uw-imap to dovecot some months ago and necessary changes  
 to the .mailboxlist to .subscriptions.  Is there a different format  
 for version 1.0.7?

No. There should be no changes between 1.0.3 and 1.0.7 that could cause
this. So I don't think the problem is with the version number change,
but something else.

Setting mail_debug=yes (and maybe auth_debug=yes) and looking at logs
would show what Dovecot is really using as home directory and mail
location.


signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] upgrade from version 1.0.3 to version 1.0.7

2007-11-26 Thread dhottinger




I went from uw-imap to dovecot some months ago and necessary changes
to the .mailboxlist to .subscriptions.  Is there a different format
for version 1.0.7?


No. There should be no changes between 1.0.3 and 1.0.7 that could cause
this. So I don't think the problem is with the version number change,
but something else.

Setting mail_debug=yes (and maybe auth_debug=yes) and looking at logs
would show what Dovecot is really using as home directory and mail
location.

Have done.  When initially logging in, Messages show (using  
horde/imp).  After reading first message I get a no messages message.   
This is in my logfiles for each user:


Nov 26 09:28:10 mail dovecot: IMAP(someuser): mbox:  
data=/home/someuser/:INBOX=/var/mail/someuser
Nov 26 09:28:10 mail dovecot: IMAP(someuser): mbox:  
root=/home/someuser, index=/home/someuser, inbox=/var/mail/someuser
Nov 26 09:28:10 mail dovecot: IMAP(someuser):  
open(/var/mail/.temp.mail.harrisonburg.k12.va.us.23157.22aab3df3f835fed)  
failed: Permission denied
Nov 26 09:28:10 mail dovecot: IMAP(someuser): file_lock_dotlock()  
failed with mbox file /var/mail/someuser: Permission denied.


Now the only difference other than the version I can see is the new  
version built with ssl.  Which I would like to use.


thanks,

ddh




--
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools

rarely do people communicate, they just take turns talking



Re: [Dovecot] upgrade from version 1.0.3 to version 1.0.7

2007-11-26 Thread Timo Sirainen
On Mon, 2007-11-26 at 09:32 -0500, [EMAIL PROTECTED]
wrote:
 Nov 26 09:28:10 mail dovecot: IMAP(someuser):  
 open(/var/mail/.temp.mail.harrisonburg.k12.va.us.23157.22aab3df3f835fed)  
 failed: Permission denied
 Nov 26 09:28:10 mail dovecot: IMAP(someuser): file_lock_dotlock()  
 failed with mbox file /var/mail/someuser: Permission denied.

Typical workaround to this is to set mail_extra_groups = mail.
Alternative is to change /var/mail directory to be world writable (and
with sticky bit).



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] upgrade from version 1.0.3 to version 1.0.7

2007-11-26 Thread dhottinger

Quoting Timo Sirainen [EMAIL PROTECTED]:


On Mon, 2007-11-26 at 09:32 -0500, [EMAIL PROTECTED]
wrote:

Nov 26 09:28:10 mail dovecot: IMAP(someuser):
open(/var/mail/.temp.mail.harrisonburg.k12.va.us.23157.22aab3df3f835fed)
failed: Permission denied
Nov 26 09:28:10 mail dovecot: IMAP(someuser): file_lock_dotlock()
failed with mbox file /var/mail/someuser: Permission denied.


Typical workaround to this is to set mail_extra_groups = mail.
Alternative is to change /var/mail directory to be world writable (and
with sticky bit).


That seems to have done it.  I saw this in the wiki I think.  Sorry to  
bother you with a problem that is already documented.  Is there any  
other tweaks or settings that I should know about?


ddh



--
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools

rarely do people communicate, they just take turns talking