Andre Bischof
2013-Feb-24  12:17 UTC
[Dovecot] Deleted / read mails show up as new on remote imap clients
Hi,
I've one problem:
Mails, which I already read or deleted via my IMAP client (Thunderbird) 
on the same machine running the server (it runs behind DynDNS on my 
local machine, thanks to http://mein.homelinux.com/wiki/mailserver/) 
show up again if I connect via IMAP from other client computers, i.e. my 
notebook (Thunderbird again).
As you can see from the config below I have /home/user/Maildir, not 
/var/mail - is that the problem? Or is that anything else, resulting in 
status from emails not being stored (or not being available remote) in 
the responding dovecot files (dovecot.index?).
Some month ago I migrated from Cyrus, and if I remember correct I had 
some problems with migrating subscriptions, stati and so on (one had to 
use a special script, sorry, it's been some time now) ;-) So maybe s.th. 
went wrong which could be the source of this problem? Just guessing ...
Ok, here's my config:
root at linux:/lost+found# dovecot -n
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.5.0-25-generic x86_64 Ubuntu 12.10
auth_verbose = yes
lda_mailbox_autosubscribe = yes
mail_debug = yes
mail_location = maildir:~/Maildir
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope 
encoded-character vacation subaddress comparator-i;ascii-numeric 
relational regex imap4flags copy include variables body enotify 
environment mailbox date ihave
namespace inbox {
   inbox = yes
   list = yes
   location    prefix    separator = .
   type = private
}
passdb {
   driver = pam
}
plugin {
   sieve = ~/.dovecot.sieve
   sieve_dir = ~/sieve
}
postmaster_address = postmaster at localhost
protocols = imap pop3 sieve
service auth {
   unix_listener /var/spool/postfix/private/dovecot-auth {
     group = postfix
     mode = 0660
     user = postfix
   }
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_cipher_list = 
ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
   driver = passwd
}
protocol imap {
   imap_client_workarounds = delay-newmail
   mail_max_userip_connections = 10
}
protocol pop3 {
   mail_max_userip_connections = 10
   pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
protocol lda {
   deliver_log_format = msgid=%m: %$
   mail_plugins = sieve sieve
   postmaster_address = postmaster
   quota_full_tempfail = yes
   rejection_reason = Your message to <%t> was automatically rejected:%n%r
}
root at linux:/lost+found#
root at linux:/lost+found# dovecot -n
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.5.0-25-generic x86_64 Ubuntu 12.10
auth_verbose = yes
lda_mailbox_autosubscribe = yes
mail_debug = yes
mail_location = maildir:~/Maildir
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope 
encoded-character vacation subaddress comparator-i;ascii-numeric 
relational regex imap4flags copy include variables body enotify 
environment mailbox date ihave
namespace inbox {
   inbox = yes
   list = yes
   location    prefix    separator = .
   type = private
}
passdb {
   driver = pam
}
plugin {
   sieve = ~/.dovecot.sieve
   sieve_dir = ~/sieve
}
postmaster_address = postmaster at localhost
protocols = imap pop3 sieve
service auth {
   unix_listener /var/spool/postfix/private/dovecot-auth {
     group = postfix
     mode = 0660
     user = postfix
   }
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_cipher_list = 
ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
   driver = passwd
}
protocol imap {
   imap_client_workarounds = delay-newmail
   mail_max_userip_connections = 10
}
protocol pop3 {
   mail_max_userip_connections = 10
   pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
protocol lda {
   deliver_log_format = msgid=%m: %$
   mail_plugins = sieve sieve
   postmaster_address = postmaster
   quota_full_tempfail = yes
   rejection_reason = Your message to <%t> was automatically rejected:%n%r
}
root at linux:/lost+found#
If you need other info pls let me know.
Any help is greatly appreciated!
Regards
Andre
-- 
rheinSinn - A. Bischof
Gottesweg 46, 50969 K?ln
Tel. 0221 / 46 75 59 87  - Mob. 0179 / 510 45 92
andre.bischof at rheinsinn.de
www.rheinsinn.de - www.coaching-evaluationen.de
Daniel Parthey
2013-Feb-24  18:23 UTC
[Dovecot] Deleted / read mails show up as new on remote imap clients
Hi Andre, Andre Bischof wrote:> Mails, which I already read or deleted via my IMAP client > (Thunderbird) on the same machine running the server (it runs behind > DynDNS on my local machine, thanks to > http://mein.homelinux.com/wiki/mailserver/) show up again if I > connect via IMAP from other client computers, i.e. my notebook > (Thunderbird again).I had a similar problem where deleted folders showed up again in Thunderbird. The following imap_client_workaround setting worked for me: protocol imap { imap_client_workarounds = delay-newmail tb-extra-mailbox-sep } Kind regards Daniel -- https://plus.google.com/103021802792276734820
Charles Marcus
2013-Feb-25  12:47 UTC
[Dovecot] Deleted / read mails show up as new on remote imap clients
On 2013-02-24 1:23 PM, Daniel Parthey <daniel.parthey at informatik.tu-chemnitz.de> wrote:> protocol imap { imap_client_workarounds = delay-newmail > tb-extra-mailbox-sep }Did you try these one at a time? Meaning, were both required to solve the problem? Also, what version of Thunderbird do either/both of you have? -- Best regards, */Charles/*
Daniel Parthey
2013-Feb-25  22:02 UTC
[Dovecot] Deleted / read mails show up as new on remote imap clients
Charles Marcus wrote:> On 2013-02-24 1:23 PM, Daniel Parthey > <daniel.parthey at informatik.tu-chemnitz.de> wrote: > >protocol imap { imap_client_workarounds = delay-newmail > >tb-extra-mailbox-sep } > > Did you try these one at a time? > Meaning, were both required to solve the problem?No. I just added tb-extra-mailbox-sep and this did the trick. The workaround for delay-newmail had already been set before.> Also, what version of Thunderbird do either/both of you have?10.0.12 Regards Daniel -- https://plus.google.com/103021802792276734820
Charles Marcus
2013-Feb-26  12:57 UTC
[Dovecot] Deleted / read mails show up as new on remote imap clients
On 2013-02-25 5:02 PM, Daniel Parthey <daniel.parthey at informatik.tu-chemnitz.de> wrote:> Charles Marcus wrote: >> On 2013-02-24 1:23 PM, Daniel Parthey >> <daniel.parthey at informatik.tu-chemnitz.de> wrote: >>> protocol imap { imap_client_workarounds = delay-newmail >>> tb-extra-mailbox-sep } >> Did you try these one at a time? >> Meaning, were both required to solve the problem? > No. I just added tb-extra-mailbox-sep and this did the trick. > The workaround for delay-newmail had already been set before.Ok, thanks...>> Also, what version of Thunderbird do either/both of you have? > 10.0.12Ummm... even the ESR is already at 17.0.3... why stuck in the stone age? -- Best regards, */Charles/*