The PC (Outlook) is accessing the mailbox via POP3, the iPhone is using
IMAP; please consider we are talking about a user's home setup, so it's
pretty difficult to have a more detailed report on his part (Outlook
version, iPhone OS version, xDSL router type and configuration, etc.). The
mail server 'dovecot -n' output is attached.
The symptoms: when the Mail application is "closed" on the iPhone, Outlook
still says the mailbox is in use; a Dovecot imap process is still active
for that user even after a few minutes (manually killing it releases the
lock, thereby leaving the inbox available for Outlook).
From the client side, there is a seemingly relevant article at
http://blogs.sun.com/chienr/entry/iphone_supports_imap_idle
it describes, among others, the "Settings / Mail / Auto-Check" and
"Settings / General / Auto-Lock" parameters; from my point of view,
however, being able to solve the problem directly on the server would be
far better, and might also accomodate other broken clients we haven't seen
yet: that's why I asked you whether there is a way to tell Dovecot only
one POP3 or IMAP process from the same user, the latest one, can be active
at the same time, closing and disconnecting all the others.
Regards, and thanks a lot again for your help
Federico Bianchi
Dipartimento di Storia delle Arti
Universita` di Pisa
piazza S.Matteo in Soarta, 2 - I56127 Pisa (Italy)
fax.+39-050-580128; e-mail: <[email protected]>
===================================================
!DISCLAIMER!: my e-mail reflects _my_own_ opinions!
===================================================# 1.1.16: /usr/etc/dovecot.conf
# OS: Linux 2.6.17.3-1trsmp i686
log_path: /var/log/exim/dovecot.log
protocols: imap pop3 managesieve
listen(default): *:143
listen(imap): *:143
listen(pop3): *:110
listen(managesieve): *
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /usr/var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
login_executable(managesieve): /usr/libexec/dovecot/managesieve-login
login_user: nobody
verbose_proctitle: yes
first_valid_uid: 1
first_valid_gid: 0
mail_location: mbox:~:INBOX=/var/spool/mail/%u
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_executable(managesieve): /usr/libexec/dovecot/managesieve
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(managesieve): /usr/lib/dovecot/managesieve
pop3_enable_last(default): no
pop3_enable_last(imap): no
pop3_enable_last(pop3): yes
pop3_enable_last(managesieve): no
pop3_lock_session(default): no
pop3_lock_session(imap): no
pop3_lock_session(pop3): yes
pop3_lock_session(managesieve): no
sieve_storage(default):
sieve_storage(imap):
sieve_storage(pop3):
sieve_storage(managesieve): ~/sieve
sieve(default):
sieve(imap):
sieve(pop3):
sieve(managesieve): ~/.dovecot.sieve
auth default:
username_format: %Lu
passdb:
driver: pam
userdb:
driver: passwd