[Dovecot] Problem with squirrelmail and dovecot 1.1
Hello!
Has noone any idea?
Ciao, Gerhard
Hello!
I'm running squirrelmail 1.4.8 (I know this is not the latest version) and know I'm having troubles with: 1.) Folder list view 2.) Save to sent or Drafts folder.
Configuration worked well. I think it has to do with the upgrade from dovecot 1.0 to 1.1 and the LIST command. Thunderbird/alpine work well.
Commands from rawlog are: A002 LIST "" "~/Mail/Drafts" A002 OK List completed.
or
A002 LIST "" "~/Mail/sent" A003 CREATE "~/Mail/sent" A002 OK List completed. A003 NO Mailbox exists.
Has something changed in the folder behaviour of dovecot from 1.0 to 1.1?
If you need more information please let me know it.
Any ideas?
Thnx.
Ciao, Gerhard
All *appears* to be fine here on Squirrel + Dovecot 1.1 ?
Ed W
Gerhard Wiesinger wrote:
Hello!
Has noone any idea?
Ciao, Gerhard
Hello!
I'm running squirrelmail 1.4.8 (I know this is not the latest version) and know I'm having troubles with: 1.) Folder list view 2.) Save to sent or Drafts folder.
Configuration worked well. I think it has to do with the upgrade from dovecot 1.0 to 1.1 and the LIST command. Thunderbird/alpine work well.
Commands from rawlog are: A002 LIST "" "~/Mail/Drafts" A002 OK List completed.
or
A002 LIST "" "~/Mail/sent" A003 CREATE "~/Mail/sent" A002 OK List completed. A003 NO Mailbox exists.
Has something changed in the folder behaviour of dovecot from 1.0 to 1.1?
If you need more information please let me know it.
Any ideas?
Thnx.
Ciao, Gerhard
On Fre, August 22, 2008 13:01, Gerhard Wiesinger wrote:
Has noone any idea?
after 1.0.13 i have to change to
$allow_thread_sort = false; $allow_server_sort = true;
in 1.0.13 i can have both as true
my dovecot namespace is
namespace private { #separator = prefix = #location = inbox = yes #hidden = yes }
i olso seek for get back the thread sort again
-- Benny Pedersen Need more webspace ? http://www.servage.net/?coupon=cust37098
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ciao, I'm new to dovecot, just a week into switching over from UW-Imap, so take my word with caution. We use SpuirrelMail, 1.4.15, and not seeing any problems. Have you configured your folder defaults with squirrellMail? Namely Option 1. "Default Folder Prefix" should be "mail/" without the quotes. I found that Dovecot didn't like "~/mail". Though I think if you put the following in your dovecot.conf file:
mail_full_filesystem_access = yes
That the "~/mail" will work then.
Gerhard Wiesinger wrote:
Hello!
Has noone any idea?
Ciao, Gerhard
Hello!
I'm running squirrelmail 1.4.8 (I know this is not the latest version) and know I'm having troubles with: 1.) Folder list view 2.) Save to sent or Drafts folder.
Configuration worked well. I think it has to do with the upgrade from dovecot 1.0 to 1.1 and the LIST command. Thunderbird/alpine work well.
Commands from rawlog are: A002 LIST "" "~/Mail/Drafts" A002 OK List completed.
or
A002 LIST "" "~/Mail/sent" A003 CREATE "~/Mail/sent" A002 OK List completed. A003 NO Mailbox exists.
Has something changed in the folder behaviour of dovecot from 1.0 to 1.1?
If you need more information please let me know it.
Any ideas?
Thnx.
Ciao, Gerhard
C. J. Keist Email: cj.keist@colostate.edu UNIX/Network Manager Phone: 970-491-0630 Engineering Network Services Fax: 970-491-5569 College of Engineering, CSU Ft. Collins, CO 80523-1301
All I want is a chance to prove 'Money can't buy happiness' -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIrsr/A29OFr7C6jcRAj2FAKCWuNF5IC+S3upwn07KIIR1E1k4SACfbRoV YcwUfyF2Y7iucl15/H/c22k= =qI43 -----END PGP SIGNATURE-----
On Fri, 2008-08-22 at 13:01 +0200, Gerhard Wiesinger wrote:
Configuration worked well. I think it has to do with the upgrade from dovecot 1.0 to 1.1 and the LIST command. Thunderbird/alpine work well.
Commands from rawlog are: A002 LIST "" "~/Mail/Drafts" A002 OK List completed.
Is the ~/Mail/ prefix correct?
Has something changed in the folder behaviour of dovecot from 1.0 to 1.1?
Not that I know of.
If you need more information please let me know it.
dovecot -n is always helpful. The most important settings here would be the namespace configuration and the value of mail_full_filesystem_access.
Hello Timo!
dovecot -n # 1.1.2: /etc/dovecot.conf listen: [::] ssl_listen: [::] ssl_cert_file: /etc/pki/dovecot/dovecot-extern.pem ssl_key_file: /etc/pki/dovecot/private/dovecot-extern.pem login_dir: /var/run/dovecot-login login_executable: /usr/libexec/dovecot/imap-login mail_location: mbox:~:INBOX=/var/mail/%u mail_full_filesystem_access: yes mbox_write_locks: fcntl mbox_lazy_writes: no mail_executable: /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap imap_client_workarounds: tb-extra-mailbox-sep auth default: passdb: driver: pam userdb: driver: passwd socket: type: listen master: path: /var/run/dovecot-auth-master mode: 432 group: users
So ~/Mail should be ok (and it works with TB and alpine).
Ciao, Gerhard
On Thu, 28 Aug 2008, Timo Sirainen wrote:
On Fri, 2008-08-22 at 13:01 +0200, Gerhard Wiesinger wrote:
Configuration worked well. I think it has to do with the upgrade from dovecot 1.0 to 1.1 and the LIST command. Thunderbird/alpine work well.
Commands from rawlog are: A002 LIST "" "~/Mail/Drafts" A002 OK List completed.
Is the ~/Mail/ prefix correct?
Has something changed in the folder behaviour of dovecot from 1.0 to 1.1?
Not that I know of.
If you need more information please let me know it.
dovecot -n is always helpful. The most important settings here would be the namespace configuration and the value of mail_full_filesystem_access.
On Thu, 2008-08-28 at 12:53 +0200, Gerhard Wiesinger wrote:
mail_full_filesystem_access: yes .. So ~/Mail should be ok (and it works with TB and alpine).
Ah, right. I just fixed that: http://hg.dovecot.org/dovecot-1.1/rev/c1e022104285
Hello Timo!
Looks to be fixed.
So the only bug for 100% satisfaction is the mbox/index problem right now.
BTW: You said that mbox is broken in 1.1.x? What's the reason and what are the consequences?
Ciao, Gerhard
On Thu, 28 Aug 2008, Timo Sirainen wrote:
On Thu, 2008-08-28 at 12:53 +0200, Gerhard Wiesinger wrote:
mail_full_filesystem_access: yes .. So ~/Mail should be ok (and it works with TB and alpine).
Ah, right. I just fixed that: http://hg.dovecot.org/dovecot-1.1/rev/c1e022104285
On Aug 28, 2008, at 2:23 PM, Gerhard Wiesinger wrote:
BTW: You said that mbox is broken in 1.1.x? What's the reason and
what are the consequences?
Recent handling mostly, but that's fixed with my latest changes.
v1.1.3 should fix everything hopefully.
Hi all,
I've switched versions from the 1.0.RC2 to 1.1.2. Now I see a number of errors, e.g.:
dovecot: Aug 28 12:58:06 Error: IMAP(user): Log synchronization error at seq=1,offset=24 for /home/user/mailarchive/Tools/Cadence/.imap/Cadence/dovecot.index: Broken extension introduction: Record field points outside record size (0+16 > 8) dovecot: Aug 28 12:58:10 Error: IMAP(user): Next message unexpectedly lost from 257852 dovecot: Aug 28 12:58:10 Error: IMAP(user): Unexpectedly lost From-line at 257852 dovecot: Aug 28 12:58:10 Error: IMAP(user): Next message unexpectedly lost from 262539 dovecot: Aug 28 12:58:10 Error: IMAP(user): Unexpectedly lost From-line at 262539 dovecot: Aug 28 12:58:10 Error: IMAP(user): Unexpectedly lost From-line at 275354
Any idea where to look?
Thanks! Radomir Zoltowski
Radomir Zoltowski Radomir.Zoltowski@s3group.com Applications Engineer Silicon & Software Systems Ltd., IT Department South County Business Park, Leopardstown, Dublin 18, IRELAND Tel.: +353 1 291 1224, Fax: +353 1 291 1001
The information contained in this e-mail and in any attachments is confidential and is designated solely for the attention of the intended recipient(s). If you are not an intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s). Please direct any additional queries to: communications@s3group.com. Thank You. Silicon and Software Systems Limited. Registered in Ireland no. 378073. Registered Office: South County Business Park, Leopardstown, Dublin 18
On Thu, 2008-08-28 at 13:42 +0100, Radomir Zoltowski wrote:
Hi all,
I've switched versions from the 1.0.RC2 to 1.1.2. Now I see a number of errors, e.g.:
dovecot: Aug 28 12:58:06 Error: IMAP(user): Log synchronization error at seq=1,offset=24 for /home/user/mailarchive/Tools/Cadence/.imap/Cadence/dovecot.index: Broken extension introduction: Record field points outside record size (0+16 > 8)
Do these happen often? Or maybe it's just a buggy log file that 1.0.rc2 wrote and 1.1.2 complained about?
dovecot: Aug 28 12:58:10 Error: IMAP(user): Next message unexpectedly lost from 257852 dovecot: Aug 28 12:58:10 Error: IMAP(user): Unexpectedly lost From-line at 257852 dovecot: Aug 28 12:58:10 Error: IMAP(user): Next message unexpectedly lost from 262539
These are a bit more strange. You could see if running with this patch for a while helps: http://hg.dovecot.org/dovecot-1.1/rev/7f5cc9e805ec
But in any case it would be helpful if you could figure out a way to reproduce it.
Hi Timo,
Now it is a little bit late as I had to switch off 1.1.2 and revert to 1.0.RC2, where I don't see these errors any more. The server is in kind of production and I cannot just swap versions and disable my beloved users... at the moment.
The first is right, 1.1.2 complains about something after 1.0.RC2, but every folder is listed just once in the log, what indicates self healing.
Hard to replicate, you need to have multiple users accessing same folders, folders are auto-mounted through NFS, mail agent Thunderbird and/or Outlook, effective UID/GID gives write permissions only on 'drwxrws---' folders thorugh SGID, otherwise only owner has write permissions, therefore often building indices in memory. Thunderbird seems to go into endless loop while trying to rebuild indices, where it fails to respond. The section below repeats endlessly until dovecot + TB are killed.
dovecot: Aug 28 16:58:22 Error: IMAP(user): Log synchronization error at seq=1,offset=24 for /home/user/mailarchive/Facilities/Cleaning/.imap/Waste &- Recycling/dovecot.index: Broken extension introduction: Record field points outside record size (0+16 > 8) dovecot: Aug 28 16:58:22 Warning: IMAP(user): fscking index file /home/user/mailarchive/Facilities/Cleaning/.imap/Waste &- Recycling/dovecot.index dovecot: Aug 28 16:58:23 Warning: IMAP(user): fscking index file (in-memory index) dovecot: Aug 28 16:58:23 Error: IMAP(user): Next message unexpectedly lost from 5382 dovecot: Aug 28 16:58:23 Error: IMAP(user): Next message unexpectedly lost from 8324 dovecot: Aug 28 16:58:23 Error: IMAP(user): Next message unexpectedly lost from 8324 dovecot: Aug 28 16:58:23 Error: IMAP(user): Next message unexpectedly lost from 8324 dovecot: Aug 28 16:58:23 Error: child 18945 (imap) killed with signal 11 [...]
At the source:
ls -al total 28 drwxrws--- 7 user group 4096 Aug 28 17:23 . drwxrws--- 3 user group 4096 Aug 28 17:23 .. drwxrws--- 2 user group 4096 Aug 28 17:23 Daily drwxrwx--- 2 user group 4096 Aug 28 15:04 Sanitary drwxrwx--- 2 user group 4096 Aug 28 15:04 Shredit drwxrwx--- 2 user group 4096 Aug 28 15:04 Special drwxrwx--- 2 user group 4096 Aug 28 15:04 Waste &- Recycling
ls -al Waste\ \&-\ Recycling/ total 232 drwxrwx--- 2 user group 4096 Aug 28 15:04 . drwxrws--- 7 user group 4096 Aug 28 17:23 .. -rwxrwx--- 1 user group 18 May 23 2006 .customflags -rw------- 1 user group 4536 Aug 28 17:21 dovecot.index -rw------- 1 user group 107520 Aug 28 17:21 dovecot.index.cache -rwxrwx--- 1 user group 26152 Aug 28 17:21 dovecot.index.log -rwxrwx--- 1 user group 1608 Jul 21 2006 .imap.index -rwxrwx--- 1 user group 60140 Jul 21 2006 .imap.index.data -rwxrwx--- 1 user group 2576 Apr 4 2006 .imap.index.log -rwxrwx--- 1 user group 1556 Jul 21 2006 .imap.index.tree
I have 1.1.2 side installation, so I could try though...
R.
Timo Sirainen wrote:
On Thu, 2008-08-28 at 13:42 +0100, Radomir Zoltowski wrote:
Hi all,
I've switched versions from the 1.0.RC2 to 1.1.2. Now I see a number of errors, e.g.:
dovecot: Aug 28 12:58:06 Error: IMAP(user): Log synchronization error at seq=1,offset=24 for /home/user/mailarchive/Tools/Cadence/.imap/Cadence/dovecot.index: Broken extension introduction: Record field points outside record size (0+16 > 8)
Do these happen often? Or maybe it's just a buggy log file that 1.0.rc2 wrote and 1.1.2 complained about?
dovecot: Aug 28 12:58:10 Error: IMAP(user): Next message unexpectedly lost from 257852 dovecot: Aug 28 12:58:10 Error: IMAP(user): Unexpectedly lost From-line at 257852 dovecot: Aug 28 12:58:10 Error: IMAP(user): Next message unexpectedly lost from 262539
These are a bit more strange. You could see if running with this patch for a while helps: http://hg.dovecot.org/dovecot-1.1/rev/7f5cc9e805ec
But in any case it would be helpful if you could figure out a way to reproduce it.
--
Radomir Zoltowski Radomir.Zoltowski@s3group.com Applications Engineer Silicon & Software Systems Ltd., IT Department South County Business Park, Leopardstown, Dublin 18, IRELAND Tel.: +353 1 291 1224, Fax: +353 1 291 1001
The information contained in this e-mail and in any attachments is confidential and is designated solely for the attention of the intended recipient(s). If you are not an intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s). Please direct any additional queries to: communications@s3group.com. Thank You. Silicon and Software Systems Limited. Registered in Ireland no. 378073. Registered Office: South County Business Park, Leopardstown, Dublin 18
On Fri, 2008-08-29 at 11:04 +0100, Radomir Zoltowski wrote:
- Hard to replicate, you need to have multiple users accessing same folders, folders are auto-mounted through NFS, mail agent Thunderbird and/or Outlook, effective UID/GID gives write permissions only on 'drwxrws---' folders thorugh SGID, otherwise only owner has write permissions, therefore often building indices in memory. Thunderbird seems to go into endless loop while trying to rebuild indices, where it fails to respond. The section below repeats endlessly until dovecot + TB are killed.
Do you have one or more Dovecot servers accessing the NFS?
Hmm. Looks like I'm getting these all the time with in-memory indexes:
mbox sync: UID inserted in the middle of mailbox /home/tss/mail/inbox (12046 > 10555, seq=2, idx_msgs=16)
I'm beginning to wonder if it's time to rewrite the mbox code once again, or do a major cleanup at least..
participants (6)
-
Benny Pedersen
-
CJ Keist
-
Ed W
-
Gerhard Wiesinger
-
Radomir Zoltowski
-
Timo Sirainen