Displaying 20 results from an estimated 855 matches for "mbox_write_locks".
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 lexiconn2 dovecot: child 32127 (pop3) killed with signal
11
Nov 19 09:31:01 lexiconn2 dovecot: POP3(cerberus): file_lock_d...
2007 Mar 29
1
locking question
...Everybody wants to lock differently
1) procmail (delivering for sendmail), which seems to want to use
dotlocking, fcntl and lockf locking; for whatever reasons, the compile
time tests seem to disallow flock.
2) UWIMAP which according to wiki.dovecot.org/Migration/UW uses:
mbox_read_locks = flock
mbox_write_locks = dotlock flock
3) I want to run dovecot in the same environment as I switch over, for
which the locking strategy is supposed to be (according to
http://wiki.dovecot.org/MboxLocking)
mbox_read_locks = fcntl
mbox_write_locks = dotlock fcntl
Since that same page in the wiki says. "*It's i...
2006 Jun 26
1
mbox locking
...himself to override the lock ? If it's using fcntl, is it only
possible to override ?
- when a process abort trying to get a lock after mbox_lock_timeout,
does the UA sees anything ?
- multiple locking methods in "mbox_write_lock" :
if I state, for instance,
mbox_write_locks = dotlock fcntl
when does exactly dotlock method get used and when does fcntl get
used ? Are both used simultaneously ?
Which leads to the wiki's deadlock situation example :
# Program A: fcntl locks the mbox
# Program B at the same time: dotlocks the mbox
# Pr...
2006 Aug 01
5
permissions warning on OpenBSD 3.9
At startup I get the following warning:
"Warning: Fixing permissions of /var/dovecot to be world-readable."
Q: Is this something that I can/should fix, or can it be safely ignored?
Thnx,
J
2017 Jan 12
2
doveadm mailbox cryptokey - not found
....dovecot.org/CompilingSource#Compiling_Dovecot_From_Sources :
./configure && make && sudo make install
# dovecot -n
# 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf
# OS: Linux 4.4.38-std-def-alt0.M80P.1 x86_64 ALT starter kit (Hypericum)
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mbox_write_locks = fcntl
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Tras...
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/*)
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. It
was default before.
mail_executable: /usr/local/libexec/dovecot/pop3
mail_plugin_dir: /usr/local/lib/dovecot/pop3
pop3_uidl_format: %08Xu%08Xv
auth default:
mechanisms: plain apop login
worker_max_count: 5...
2018 Sep 16
3
Quotas not working with roundcube
...ki.dovecot.org/Quota
# doveconf -n
auth_mechanisms = cram-md5 loginauth_verbose = yes
debug_log_path = /tmp/dovecot.log
first_valid_uid = 1000
log_path = /var/log/dovecot.log
mail_gid = vmail
mail_location = maildir:/home/mail/%d/%n/Maildir
mail_plugins = notify replication quota
mail_uid = vmail
mbox_write_locks = fcntl
mmap_disable = yes
namespace inbox {
? inbox = yes
? location =
? mailbox Drafts {
??? special_use = \Drafts
? }
? mailbox Junk {
??? special_use = \Junk
? }
? mailbox Sent {
??? special_use = \Sent
? }
? mailbox "Sent Messages" {
??? special_use = \Sent
? }
? mailbox Trash {
???...
2011 Aug 13
2
dovecot problem -- not deleting messages from server after downloading them
...op=0/0, retr=487/2134628, del=0/487, size=2126323
My "dovecot -n" output is below.
Thanks,
Charlie
# dovecot -n
# 2.0.beta6 (3156315704ef): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-71.29.1.el6.i686 i686 CentOS Linux release 6.0 (Final)
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mbox_write_locks = fcntl
passdb {
driver = pam
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
driver = passwd
}
2007 Apr 24
1
locking questions
...rently
> 1) procmail (delivering for sendmail), which seems to want to use
> dotlocking, fcntl and lockf locking; for whatever reasons, the compile
> time tests seem to disallow flock.
> 2) UWIMAP which according to wiki.dovecot.org/Migration/UW uses:
> mbox_read_locks = flock
> mbox_write_locks = dotlock flock
> 3) I want to run dovecot in the same environment as I switch over, for
> which the locking strategy is supposed to be (according to
> http://wiki.dovecot.org/MboxLocking)
> mbox_read_locks = fcntl
> mbox_write_locks = dotlock fcntl
>
> Since that same page i...
2015 Jun 25
2
authenticate LDAP to email server
hi all,
first things first my version and config -
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-504.el6.x86_64 x86_64 CentOS release 6.6 (Final)
auth_mechanisms = plain login
mail_location = maildir:~/Maildir
mbox_write_locks = fcntl
passdb {
driver = pam
}
protocols = imap pop3
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0666
user = postfix
}
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
us...
2012 Nov 08
3
Mails don't get deleted after POP3
...via pop3?
Here is the configuration:
# dovecot -n
# 1.2.15: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.38-8-server x86_64 Ubuntu 11.04
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: pop3 pop3s
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/pop3-login
mail_privileged_group: mail
mbox_write_locks: fcntl dotlock
mail_executable: /usr/lib/dovecot/pop3
mail_plugin_dir: /usr/lib/dovecot/modules/pop3
auth default:
passdb:
driver: pam
userdb:
driver: passwd
-----8<-----
# dovecot -a
# 1.2.15: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.38-8-server x86_64 Ubuntu 11.04
base_dir:...
2012 Nov 08
2
cannot update mailbox - unable to lock for exclusive access
...delay=19,
delays=0.07/0/0/19, dsn=4.2.0, status=deferred (cannot update mailbox
/var/spool/mail/abc for user abc. unable to lock for exclusive access:
Resource temporarily unavailable)
Postfix is currently set to:
mailbox_delivery_lock = fcntl, dotlock
Dovecot has this:
mbox_read_locks = fcntl
mbox_write_locks = fcntl dotlock
I've scoured the web and tried all kinds of different locking mechanisms
and combinations to no avail. The mail is eventually delivered but on a
busy day this can take several hours.
In the evening it generally doesn't happen, which leads me to believe it
occurs during...
2019 Nov 18
2
Doveadm replicator ssl issues
...agesieve_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 index ihave
duplicate mime foreverypart extracttext
mbox_write_locks = fcntl
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
sp...
2016 Mar 15
2
New dovecot user needs installation help
...e pointers! I don?t necessarily need my hand held the entire way? At least not yet?
Here is the output of my dovecot -n:
[ec2-user at ip-172-31-22-222 log]$ dovecot -n
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 3.14.48-33.39.amzn1.x86_64 x86_64
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mbox_write_locks = fcntl
passdb {
driver = pam
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
driver = passwd
}
[ec2-user at ip-172-31-22-222 log]$
Let me know if there is anything else you need, or where to go from here!
Thanks in advance!...
2015 Jul 19
2
IMAP Folder Mail Separator
...worked up until a few months
ago after a dovecot/fedora upgrade.
# 2.2.18: /etc/dovecot/dovecot.conf
# OS: Linux 4.0.7-300.fc22.x86_64 x86_64 Fedora release 22 (Twenty Two)
default_client_limit = 2000
mail_gid = mail
mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u
mail_privileged_group = mail
mbox_write_locks = fcntl
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Tras...
2017 Jan 12
1
doveadm mailbox cryptokey - not found
>
> You forgot to load mail_crypt plugin.
>
> mail_plugins = $mail_plugins mail_crypt
>
With these settings also.
# dovecot -n
.....
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_plugins = " mail_crypt"
mbox_write_locks = fcntl
.....
# service dovecot restart
# doveadm mailbox cryptokey
usage: doveadm [-Dv] [-f .........
# ls /usr/lib64/dovecot/modules/* | grep mail_crypt
/usr/lib64/dovecot/modules/lib05_mail_crypt_acl_plugin.so
/usr/lib64/dovecot/modules/lib10_mail_crypt_plugin.so
/usr/lib64/dovecot/modules/lib...
2017 Feb 20
1
doveadm: Fatal: All your namespaces have a location setting
...= 1000
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 environment
mailbox date ihave enotify
mbox_write_locks = fcntl
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
spe...
2017 Jul 20
1
Dovecot imap
...asked by Aki Tuomi.. Do you see anything
wrong..?
I would appreciate mush in anyone could help ...
# OS: Linux 2.6.32-696.1.1.el6.x86_64 x86_64 CentOS release 6.9 (Final)
auth_mechanisms = plain login
disable_plaintext_auth = no
mail_location = maildir:~/Maildir
mail_plugins = " quota"
mbox_write_locks = fcntl
passdb {
driver = pam
}
plugin {
quota = fs:User quota
quota_grace = 10%%
quota_status_nouser = DUNNO
quota_status_overquota = 552 5.2.2 Mailbox is full
quota_status_success = DUNNO
}
protocols = imap pop3
userdb {
driver = passwd
}
protocol imap {
mail_plugins = " quot...
2018 Dec 16
1
mailbox locking
...ail 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
pop3_lock_session = no
Do I need to change anything in dovecot's default locking setup? Does
it still use lockfiles on mboxes or not? There are some contradictory
parameters IMHO.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/