Displaying 20 results from an estimated 8000 matches similar to: "cannot update mailbox - unable to lock for exclusive access"
2012 Oct 24
1
Locking /var/mail/user issue with postfix and dovecot
Hello,
I have a question regarding mailbox locking and hope any one can help
me to better understanding the locking of mbox
My Postfix lock option is fcntl dotlock
mailbox_delivery_lock = fcntl, dotlock
virtual_mailbox_lock = fcntl, dotlock
My Dovecot lock option is fcntl only
mbox_write_locks = fcntl
mbox_read_locks = fcntl
now, when user is download a large mail (20 MB) for example,
2003 May 17
1
Postfix locking equivalence?
/etc/postfix/main.cf.default:
mailbox_delivery_lock = flock, dotlock
Is flock equivalent to dovecot's fnctl locking? For mbox what type of
locking settings should I be using? (No NFS, only local filesystem.)
Warren Togami
warren at togami.com
2006 Apr 15
1
LOCK FILE
i'm working with exim 4.60, with mbox, and dovecot dovecot-1.0.beta7,
and filesystem quotas
default_mail_env = mbox:~/mail::INBOX=%h/mbox:INDEX=/tmp/%u
lock_method = dotlock fcntl
mbox_read_locks = dotlock fcntl
mbox_write_locks = dotlock fcntl
The home of users is
/home/usuaris/user
Where place dovecot the lock file?
2007 Mar 29
1
locking question
There are three applications that have their mitts on files on my mail
server, which is running AIXV5.3 and UWIMAP and mbox format. The mail
folders and INBOXES are native to that machine, but also are NFS
exported to a login server and a mailing list server. All three
machines are running the lockd daemon.
Everybody wants to lock differently
1) procmail (delivering for sendmail), which
2005 Aug 18
1
1.0alpha1, multiple lock methods?
Hi,
I just upgraded from test80 to 1.0alpha1. I wanted to
try something new on the lock_method, so I set:
lock_method = fcntl, dotlock
I got syslog complaints like:
IMAP(username): Unknown lock_method: fcntl, dotlock
Can one specify multiple file locking mechanisms? If so,
what is the syntax (and can the syntax be shown in the
comments of the .conf file)?
Jeff Earickson
Colby College
2008 Feb 26
3
nfs locking issues...
I'm running Dovecot 1.1 RC1. I believe I've done all the due diligence
for making things working correctly over nfs. But I run into locking
issues if I run over nfs.
procmail is doing the delivery over nfs. uw-imap was ruining over nfs.
dovecot is fine if its on the nfs server (i.e. it has local access to
the disk, no nfs)
I run into lock deadlocks if I run dovecot over nfs
Users
2009 Jul 22
3
Newbie: unable to access mailbox more than once
Hello,
I'm using dovecot as a mail relay so that I can back up my providers
IMAP mail locally. I'm impressed how easy this was to set up, but I'm
having a quirk that I would like help with, if possible.
There are many weak links in my set-up chain, if you will, but I think
I've narrowed the problem. I'll describe my set-up anyway. I'm running
dovecot 1.1.4 on ubuntu
2008 Apr 12
2
Mailbox locking issue?
Here's my configuration.
dovecot -n
# 1.0.7: /usr/local/etc/dovecot.conf
protocols: pop3
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /usr/local/var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/pop3-login
mail_extra_groups: mail
mail_location: /var/spool/mail/%u
mbox_write_locks: fcntl dotlock
The above setting was just added in an attempt to resolve the issue.
2007 Apr 24
1
locking questions
I have Dovecot 1.0 in trial use by the IT staff, and have some locking
questions
Background, the mail server runs procmail, sendmail and NFS exports the
user homedir and mailbox to a) a login shell host and b) a mailing list
services host. It runs UWIMAP on the usual ports and dovecot on a
arbitrary port number. Because of concern with NFS and file access
contention. I have the following
2008 Nov 19
1
mail_privileged_group not working for dotlock files (1.1.6)
Hello,
Running dovecot 1.1.6 on centOS 5 and RHEL 5.
With the settings:
pop3_lock_session = yes
mail_privileged_group = mail
mail_location = mbox:~/:INBOX=/var/spool/mail/%u
mbox_read_locks = fcntl
mbox_write_locks = dotlock fcntl
and /var/spool/mail permissions:
drwxrwx--x 2 root mail 4096 Nov 19 10:16 mail/
Trying to connect via POP3 results in this error:
---
Nov 19 09:31:01
2009 Mar 03
2
imap locking spool?
How does IMAP lock the /var/spool/mail/user file?
Here's my problem: I'm writing a script to expire old or
oversize mail through a series of archive folders. I don't
want to take the whole server down to do this, nor does it
seem like I would have to lock the user out entirely if I
can manage to emulate the locks correctly.
I am able to lock /var/spool/mail/user (and ~user/mail/*)
2018 Oct 09
4
immediate delete of mails
On Tue, 9 Oct 2018 12:08:00 +0200 Sami Ketola <sami.ketola at dovecot.fi>
wrote:
> How do you deliver then mails to the server?
>
> also mbox is very unoptimised mailbox format for this. Each time mail is deleted from mbox mailbox the whole mbox while needs to be rewritten to remove the mail.
OpenSMTPD and Dovecot run on the same machine. OpenSMTPD receives
incoming mails and
2018 Dec 16
1
mailbox locking
Dear Colleagues,
I use exim's appendfile transport, procmail and a local mutt on my
system, they all (to my knowledge) use lockfiles when working with
mboxes.
However, `doveconf | grep lock` says
dotlock_use_excl = yes
lock_method = fcntl
mail_max_lock_timeout = 0
mbox_dotlock_change_timeout = 2 mins
mbox_lock_timeout = 5 mins
mbox_read_locks = fcntl
mbox_write_locks = dotlock fcntl
2004 Jul 20
3
Bug? 1.0.0-test28 NFS locking problems
Hi
Slight problem - linux 2.4 running dovecot, Solaris 2.8 home directory
server. Full lockd support etc.
I had to make the following code patches (at end of mail for clarity) to
get dovecot to read the users mbox files at all.
1) fcntl with F_SETLKW will not work against a Solaris 2.8 server as
proved with a small test program. Other forms of fcntl (ie F_SETLK) are
OK.
I noticed there are
2011 Sep 22
1
Duplicates when switching from Qpopper to Dovecot pop3
Hi All,
Our test users re-download the mail they've left on the server when they switch from Qpopper to Dovecot. Qpopper includes the X-UIDL header - X-UIDL: X8V"!E)<"!58?"!"9C"! - on read messages. Any suggestions are appreciated. I've included my dovecot configuration.
Thank you,
Tristan
---
Tristan
Tristan Goguen
CEO, ILAP?
T: 416-250-5600 ext. 205
F:
2008 Feb 26
3
constant mailbox rebuilding with dovecot 1.0.10
I've recently upgraded to 1.0.10 in hopes that this problem would go
away but no luck. I've got some users at my company with large
inboxes on maildir (say 22,000 messages). Their mailboxes are hosted
on nfs and dovecot is configured to do dotlocking. Still I see
messages like this continually in the logs (sometimes every hour or
so):
server dovecot: IMAP(user): dotlock
2012 May 28
3
Dovecot 2.1 mbox + maildir
What syntax is needed to make this work?
The 2.0 wiki recomendations don't work - I can see the inboxes or the
folders but not both at once and there are lots of error messages about
prefix clashes if I simply use the existing 2.0.20 conf file on 2.1.6
The layout I have is:
Inboxes in mbox format - /var/spool/mail/%u
Folders in maildir format - /var/spool/imap/%u/Maildir/
Control and
2010 Dec 17
6
Authentication issue.
Hi list,
I try to run imaptest, but I get the following errors (as root):
# ./imaptest copybox=Trash # or any other command in
http://www.imapwiki.org/ImapTest/Examples
Logi List Stat Sele Fetc Fet2 Copy Stor Dele Expu Appe Logo
100% 50% 50% 100% 100% 100% 33% 50% 100% 100% 100% 100%
30% 5% 5%
0 0 0 0 0 0 0 0 0 0
2005 Jun 28
1
dovecot - outlook users keep getting locked out of imap
Greetings:
My outlook users accessing mail via dovecot's imaps have been consistantly
getting locked out of their email. It happens about once a week per
outlook user. It appears to happen when the are cliking on emails with
attachments. When this happens, there are two imap deamons running for
that user. I kill both deamons and things start working again.
Squirrelmail, thunderbird and
2014 Jan 29
1
dsync backup; compressed to uncompressed
I need to backup some of the mailboxes on our system. We are currently using mdbox with zlib compression plugin.
The backups need to be maildir without compression. How can I accomplish this using dsync?
The following just causes each msg file in maildir to be compressed as well.
dsync -f -u user1 backup maildir:/var/tmp/user1
While this just causes the dsync to fail while spewing a bunch of