<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
I mean same user having concurrent session on more than one backend. This will likely cause index corruption. Same applies for dovecot doing delivery on differenr backend than where the user is currently logged in.
</div>
<div>
<br>
</div>
<div>
Aki
</div>
<blockquote type="cite">
<div>
On 19 October 2018 at 17:57 Albert Whale <
<a href="mailto:Albert.Whale@IT-Security-inc.com">Albert.Whale@IT-Security-inc.com</a>> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Maybe I misunderstand. Each user is only able to access their mailbox from a single connection at a time. Other users can access the NFS Spool from other connections, I think that is what I am calling Concurrent connections.
</div>
<div>
<br>
</div>
<div>
Is that the same definition you have?
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
From: dovecot [mailto:
<a href="mailto:dovecot-bounces@dovecot.org">dovecot-bounces@dovecot.org</a>] On Behalf Of Aki Tuomi
</div>
<div>
Sent: Friday, October 19, 2018 10:05 AM
</div>
<div>
To: Albert Whale <
<a href="mailto:Albert.Whale@it-security-inc.com">Albert.Whale@it-security-inc.com</a>>;
<a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a>
</div>
<div>
Subject: RE: Dovecot 2.2.13 error message
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Concurrent access is not supported. One user should access mail using one backend at a time. You can use dovecot in director mode to prevent this.
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Aki
</div>
<div>
<br>
</div>
<div>
On 19 October 2018 at 16:47 Albert Whale <
<a href="mailto:Albert.Whale@IT-Security-inc.com">Albert.Whale@IT-Security-inc.com</a> <mailto:
<a href="mailto:Albert.Whale@IT-Security-inc.com">Albert.Whale@IT-Security-inc.com</a>> > wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Yes, there is currently concurrent usage because the Mail spool is NFS
</div>
<div>
<br>
</div>
<div>
Mounted.
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Here is the current configuration:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
dovecot -n
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
# 2.1.15: /etc/dovecot/dovecot.conf
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
# OS: Linux 3.10.54-server-2.mga3 i686 Mageia 3
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
base_dir = /var/run/dovecot/
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
disable_plaintext_auth = no
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
lock_method = dotlock
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
login_greeting = SpamZapper Email ready.
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
mail_debug = yes
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
mail_fsync = always
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
mail_location = maildir:~/Maildir
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
mail_nfs_index = yes
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
mail_nfs_storage = yes
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
mail_privileged_group = mail
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
mbox_lock_timeout = 15 mins
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
mmap_disable = yes
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
passdb {
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
driver = pam
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
}
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
protocols = imap pop3
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
service anvil {
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
client_limit = 1000
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
process_limit = 1
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
}
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
service auth {
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
user = root
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
}
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
service imap-login {
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
chroot = login
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
client_limit = 10
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
user = dovecot
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
vsz_limit = 256 M
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
}
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
service pop3-login {
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
chroot = login
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
client_limit = 1024
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
user = dovecot
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
}
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
ssl = no
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
syslog_facility = local2
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
userdb {
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
driver = passwd
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
}
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
verbose_proctitle = yes
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
protocol pop3 {
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
mail_max_userip_connections = 20
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
pop3_uidl_format = %08Xv%08Xu
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
}
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
protocol lda {
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
postmaster_address =
<a href="mailto:postmaster@example.com">postmaster@example.com</a> <mailto:
<a href="mailto:postmaster@example.com">postmaster@example.com</a>>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
}
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
protocol imap {
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
mail_max_userip_connections = 30
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
}
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
For the time being, I have isolated usage of POP3 connections on a single
</div>
<div>
<br>
</div>
<div>
Servers, however IMAP is especially problematic.
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
From: Aki Tuomi [mailto:
<a href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a> <mailto:
<a href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>> ]
</div>
<div>
<br>
</div>
<div>
Sent: Friday, October 19, 2018 2:51 AM
</div>
<div>
<br>
</div>
<div>
To: Albert Whale <
<a href="mailto:Albert.Whale@IT-Security-inc.com">Albert.Whale@IT-Security-inc.com</a> <mailto:
<a href="mailto:Albert.Whale@IT-Security-inc.com">Albert.Whale@IT-Security-inc.com</a>> >;
<a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a> <mailto:
<a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a>>
</div>
<div>
<br>
</div>
<div>
Subject: Re: Dovecot 2.2.13 error message
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
On 18.10.2018 15.15, Albert Whale wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
In attempting to reactivate my IMAP communications with my Email Spool (NFS
</div>
<div>
<br>
</div>
<div>
Mounted), I have gotten the following while attempting to download the
</div>
<div>
<br>
</div>
<div>
Emails via POP3.
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Oct 18 08:00:45 ns4 dovecot: pop3-login: Login: user=<aewhale>,
</div>
<div>
<br>
</div>
<div>
method=PLAIN, rip=74.109.213.194, lip=66.207.133.232
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Oct 18 08:02:40 ns4 dovecot: pop3(aewhale): Error: Timeout (180s) while
</div>
<div>
<br>
</div>
<div>
waiting for dotlock for transaction log file
</div>
<div>
<br>
</div>
<div>
/home/aewhale/Maildir/dovecot.index.log
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Oct 18 08:02:40 ns4 dovecot: pop3(aewhale): Disconnected: Storage error
</div>
<div>
<br>
</div>
<div>
during logout. top=0/0, retr=11511/1566975544, del=11511/11511,
</div>
<div>
<br>
</div>
<div>
size=1566691807
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Oct 18 08:02:58 ns4 dovecot: pop3(aewhale): Connection closed top=0/0,
</div>
<div>
<br>
</div>
<div>
retr=0/0, del=0/11520, size=1566929900
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
This is significantly more information than what I can receive from 2.1.15,
</div>
<div>
<br>
</div>
<div>
but still does not resolve the communications issues.
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Any help is certainly appreciated.
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
--
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Albert E. Whale, CEH CHS CISA CISSP
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Hi!
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Seems something is locking the index. Do you have concurrent usage between
</div>
<div>
<br>
</div>
<div>
two or more nodes for same user?
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Aki
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
---
</div>
<div>
Aki Tuomi
</div>
</blockquote>
<div>
<br>
</div>
<div class="io-ox-signature">
---
<br>Aki Tuomi
</div>
</body>
</html>