Re: [Dovecot] Mailbox consistency with multiple clients

2008-10-05 Thread Timo Sirainen
Did downgrading help? I've still no ideas why it would have been doing
that with v1.1..

On Tue, 2008-09-23 at 08:24 +0100, Yates Ian Mr (ITCS) wrote:
> I'm confused by this as well.
> 
> Additionally with 1.1.3 we were getting lots of reports of people
> deleting/moving items from their inbox and the items remaining in the
> inbox?!  Also read items not being marked as read.  Both of these are
> from squirrelmail, which as you say should be impossible as squirrelmail
> logs in, performs the operation and logs out.
> 
> We aren't using any kind of IMAP proxy.
> 
> We are using the dovecot index files.
> 
> As I said before, this was not a problem when we were using dovecot
> 1.0.8.  In an effort to resolve this I will be downgrading to 1.0.8 this
> morning, I'll let you know if this sorts out the problems!
> 
> I.
> 
> >-Original Message-
> >From: [EMAIL PROTECTED] 
> >[mailto:[EMAIL PROTECTED] On 
> >Behalf Of Timo Sirainen
> >Sent: Monday, September 22, 2008 9:02 PM
> >To: Dovecot Mailing List
> >Subject: Re: [Dovecot] Mailbox consistency with multiple clients
> >
> >On Thu, 2008-09-18 at 12:06 +0100, Yates Ian Mr (ITCS) wrote:
> >> There's a mix of the following:
> >>Outlook
> >>Outlook express
> >>Thunderbird
> >>Squirrelmail (webmail)
> >> 
> >> But we tried getting the users sharing the account to use just one 
> >> client (squirrelmail) and they were still reporting the problem?!
> >> 
> >> I forgot to say that they were working this way with no problems on 
> >> dovecot 1.0.2 but since the migration to 1.1.3 we've had 
> >this problem.
> >> 
> >> In an effort to help the situation I changed the following settings 
> >> from the original, from enabling lazy writes to disabling:
> >> mbox_dirty_syncs: no
> >> mbox_lazy_writes: no
> >
> >As long as you're using Dovecot's index files, these should 
> >make no difference. Do they?
> >
> >I find this problem really weird. If you're using a shared 
> >account, it's exactly the same as if there were just a single 
> >user using multiple clients. Or in Squirrelmail case the same 
> >as if the same user was logged in multiple times with 
> >different web browsers. And in Squirrelmail case it connects, 
> >does something for a short time and disconnects. Dovecot 
> >doesn't even know if there are different users using it. So if 
> >it shows different views for different users, then the exact 
> >same thing should be happening also randomly to the same user 
> >even if s/he's the only one logged in.
> >
> >Are you using any kind of an IMAP proxy?
> >


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


Re: [Dovecot] Mailbox consistency with multiple clients

2008-09-23 Thread Yates Ian Mr (ITCS)
I'm confused by this as well.

Additionally with 1.1.3 we were getting lots of reports of people
deleting/moving items from their inbox and the items remaining in the
inbox?!  Also read items not being marked as read.  Both of these are
from squirrelmail, which as you say should be impossible as squirrelmail
logs in, performs the operation and logs out.

We aren't using any kind of IMAP proxy.

We are using the dovecot index files.

As I said before, this was not a problem when we were using dovecot
1.0.8.  In an effort to resolve this I will be downgrading to 1.0.8 this
morning, I'll let you know if this sorts out the problems!

I.

>-Original Message-
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On 
>Behalf Of Timo Sirainen
>Sent: Monday, September 22, 2008 9:02 PM
>To: Dovecot Mailing List
>Subject: Re: [Dovecot] Mailbox consistency with multiple clients
>
>On Thu, 2008-09-18 at 12:06 +0100, Yates Ian Mr (ITCS) wrote:
>> There's a mix of the following:
>>  Outlook
>>  Outlook express
>>  Thunderbird
>>  Squirrelmail (webmail)
>> 
>> But we tried getting the users sharing the account to use just one 
>> client (squirrelmail) and they were still reporting the problem?!
>> 
>> I forgot to say that they were working this way with no problems on 
>> dovecot 1.0.2 but since the migration to 1.1.3 we've had 
>this problem.
>> 
>> In an effort to help the situation I changed the following settings 
>> from the original, from enabling lazy writes to disabling:
>> mbox_dirty_syncs: no
>> mbox_lazy_writes: no
>
>As long as you're using Dovecot's index files, these should 
>make no difference. Do they?
>
>I find this problem really weird. If you're using a shared 
>account, it's exactly the same as if there were just a single 
>user using multiple clients. Or in Squirrelmail case the same 
>as if the same user was logged in multiple times with 
>different web browsers. And in Squirrelmail case it connects, 
>does something for a short time and disconnects. Dovecot 
>doesn't even know if there are different users using it. So if 
>it shows different views for different users, then the exact 
>same thing should be happening also randomly to the same user 
>even if s/he's the only one logged in.
>
>Are you using any kind of an IMAP proxy?
>


Re: [Dovecot] Mailbox consistency with multiple clients

2008-09-22 Thread Timo Sirainen
On Thu, 2008-09-18 at 12:06 +0100, Yates Ian Mr (ITCS) wrote:
> There's a mix of the following:
>   Outlook
>   Outlook express
>   Thunderbird
>   Squirrelmail (webmail) 
> 
> But we tried getting the users sharing the account to use just one
> client (squirrelmail) and they were still reporting the problem?!
> 
> I forgot to say that they were working this way with no problems on
> dovecot 1.0.2 but since the migration to 1.1.3 we've had this problem.
> 
> In an effort to help the situation I changed the following settings from
> the original, from enabling lazy writes to disabling:
> mbox_dirty_syncs: no
> mbox_lazy_writes: no

As long as you're using Dovecot's index files, these should make no
difference. Do they?

I find this problem really weird. If you're using a shared account, it's
exactly the same as if there were just a single user using multiple
clients. Or in Squirrelmail case the same as if the same user was logged
in multiple times with different web browsers. And in Squirrelmail case
it connects, does something for a short time and disconnects. Dovecot
doesn't even know if there are different users using it. So if it shows
different views for different users, then the exact same thing should be
happening also randomly to the same user even if s/he's the only one
logged in.

Are you using any kind of an IMAP proxy?


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


Re: [Dovecot] Mailbox consistency with multiple clients

2008-09-22 Thread Yates Ian Mr (ITCS)
Sorry I got the previous version wrong, we had no problems with multiple
clients when using dovecot 1.0.8

I.

>-Original Message-
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On 
>Behalf Of Yates Ian Mr (ITCS)
>Sent: Thursday, September 18, 2008 12:07 PM
>To: Dovecot Mailing List
>Subject: Re: [Dovecot] Mailbox consistency with multiple clients
>
>There's a mix of the following:
>   Outlook
>   Outlook express
>   Thunderbird
>   Squirrelmail (webmail) 
>
>But we tried getting the users sharing the account to use just 
>one client (squirrelmail) and they were still reporting the problem?!
>
>I forgot to say that they were working this way with no 
>problems on dovecot 1.0.2 but since the migration to 1.1.3 
>we've had this problem.
>
>In an effort to help the situation I changed the following 
>settings from the original, from enabling lazy writes to disabling:
>mbox_dirty_syncs: no
>mbox_lazy_writes: no
>
>
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf Of 
>>Timo Sirainen
>>Sent: Thursday, September 18, 2008 11:39 AM
>>To: Dovecot Mailing List
>>Subject: Re: [Dovecot] Mailbox consistency with multiple clients
>>
>>On Thu, 2008-09-18 at 11:29 +0100, Yates Ian Mr (ITCS) wrote:
>>> We're experiencing a problem with a shared account, where multiple 
>>> users are accessing it at the same time there seems to be a problem 
>>> where the view one user sees is not the same as the other
>>users.  This
>>> includes experiences such as deleted mail reappearing, moved
>>mail not
>>> arriving at a destination.
>>
>>What client? I'd guess this is a client issue. Some are worse than 
>>others at noticing changes done by other clients.
>>
>>
>


Re: [Dovecot] Mailbox consistency with multiple clients

2008-09-18 Thread Yates Ian Mr (ITCS)
There's a mix of the following:
Outlook
Outlook express
Thunderbird
Squirrelmail (webmail) 

But we tried getting the users sharing the account to use just one
client (squirrelmail) and they were still reporting the problem?!

I forgot to say that they were working this way with no problems on
dovecot 1.0.2 but since the migration to 1.1.3 we've had this problem.

In an effort to help the situation I changed the following settings from
the original, from enabling lazy writes to disabling:
mbox_dirty_syncs: no
mbox_lazy_writes: no


>-Original Message-
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On 
>Behalf Of Timo Sirainen
>Sent: Thursday, September 18, 2008 11:39 AM
>To: Dovecot Mailing List
>Subject: Re: [Dovecot] Mailbox consistency with multiple clients
>
>On Thu, 2008-09-18 at 11:29 +0100, Yates Ian Mr (ITCS) wrote:
>> We're experiencing a problem with a shared account, where multiple 
>> users are accessing it at the same time there seems to be a problem 
>> where the view one user sees is not the same as the other 
>users.  This 
>> includes experiences such as deleted mail reappearing, moved 
>mail not 
>> arriving at a destination.
>
>What client? I'd guess this is a client issue. Some are worse 
>than others at noticing changes done by other clients.
>
>


Re: [Dovecot] Mailbox consistency with multiple clients

2008-09-18 Thread Timo Sirainen
On Thu, 2008-09-18 at 11:29 +0100, Yates Ian Mr (ITCS) wrote:
> We're experiencing a problem with a shared account, where multiple users
> are accessing it at the same time there seems to be a problem where the
> view one user sees is not the same as the other users.  This includes
> experiences such as deleted mail reappearing, moved mail not arriving at
> a destination.

What client? I'd guess this is a client issue. Some are worse than
others at noticing changes done by other clients.



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


[Dovecot] Mailbox consistency with multiple clients

2008-09-18 Thread Yates Ian Mr (ITCS)
We're experiencing a problem with a shared account, where multiple users
are accessing it at the same time there seems to be a problem where the
view one user sees is not the same as the other users.  This includes
experiences such as deleted mail reappearing, moved mail not arriving at
a destination.

I'm running the latest release of dovecot (1.1.3) with the following
settings.

Any help would be appreciated.

Cheers.

# 1.1.3: /usr/local/dovecot-1.1.3/etc/dovecot.conf
base_dir: /var/run/dovecot/
log_path: /var/log/dovecot/error.log
info_log_path: /var/log/dovecot/info.log
protocols: imap imaps pop3 pop3s
ssl_cert_file: /usr/share/ssl/certs/dovecot-cert.pem
ssl_key_file: /usr/share/ssl/private/dovecot-key.pem
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/local/dovecot/libexec/dovecot/imap-login
login_executable(imap): /usr/local/dovecot/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3-login
login_process_size: 16
login_processes_count: 20
login_max_processes_count: 1000
valid_chroot_dirs: /var/spool/mail:/home
max_mail_processes: 1024
verbose_proctitle: yes
mail_location: mbox:%h/Mail:INBOX=/mail/spool/%u:INDEX=/mail/cache/%u
fsync_disable: yes
maildir_copy_with_hardlinks: no
mbox_min_index_size: 200
mbox_dirty_syncs: no
mbox_lazy_writes: no
mail_executable(default): /usr/local/dovecot/libexec/dovecot/imap
mail_executable(imap): /usr/local/dovecot/libexec/dovecot/imap
mail_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/local/dovecot-1.1.3/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/dovecot-1.1.3/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/dovecot-1.1.3/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail outlook-idle
netscape-eoh tb-extra-mailbox-sep
imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(pop3):
pop3_uidl_format(default): %08Xu%08Xv
pop3_uidl_format(imap): %08Xu%08Xv
pop3_uidl_format(pop3): %08Xv%08Xu
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
namespace:
  type: private
  inbox: yes
  list: yes
  subscriptions: yes
auth default:
  executable: /usr/local/dovecot/libexec/dovecot/dovecot-auth
  count: 50
  worker_max_count: 100
  passdb:
driver: pam
args: session=yes dovecot
  passdb:
driver: passwd
  passdb:
driver: shadow
  userdb:
driver: passwd