Displaying 20 results from an estimated 205 matches for "mbox_read_lock".
Did you mean:
mbox_read_locks
2007 Mar 29
1
locking question
...nning the lockd daemon.
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 wi...
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/*)
2007 Apr 24
1
locking questions
...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
&...
2012 Nov 08
2
cannot update mailbox - unable to lock for exclusive access
...c.com>, relay=local, 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...
2018 Dec 16
1
mailbox locking
...endfile 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
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...
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: P...
2007 Sep 22
1
Strange error message
I apologise if this is a faq but I couldn't find it in the archives.
FreeBSD math 4.11-RELEASE-p26 FreeBSD 4.11-RELEASE-p26
dovecot version 1.0.3
x86 cpu
local disk (ufs)
Trying to run "deliver" from user's .forward file.
sendmail configured with smrsh, forward file says:
| "deliver"
Imap seems to work fine, but deliver says:
deliver(rw): mbox read/write lock list
2006 Mar 03
0
lock files on mbox using 1.0 stable
...eleted the lock
but it returned a few hour later.
the user is using Outlook express only.
as a test i have setup a new account for him but would like to know if there
is a way to stop this happening.
i have gone thru the conf and
default_mail_env = mbox:/var/spool/mail/%u
#lock_method = fcntl
#mbox_read_locks = fcntl
#mbox_write_locks = dotlock fcntl
#mbox_read_locks = fcntl
mbox_dotlock_change_timeout = 30
Mark
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.375 / Virus Database: 268.1.1/273 - Release Date: 02/03/2006
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?
2012 Oct 24
1
Locking /var/mail/user issue with postfix and dovecot
...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, dovecot
locks
/var/mail/user with fcntl until the users finish downloading the mail
ok here comes my question.
While the user is downloading the mail , a mail arrives so postfix make
some thing weird
1- Postfix creates /va...
2009 Jul 22
3
Newbie: unable to access mailbox more than once
...ged_group: mail
mail_location:
maildir:/mnt/Mail:INBOX=/mnt/Mail/.INBOX:INDEX=/mnt/Mail/.indexes/:CONTROL=/mnt/Mail/.control
mail_debug: yes
mail_full_filesystem_access: yes
mmap_disable: yes
dotlock_use_excl: no
mail_nfs_storage: yes
mail_nfs_index: yes
lock_method: dotlock
maildir_stat_dirs: yes
mbox_read_locks: dotlock_try fcntl
mbox_write_locks: dotlock_try fcntl
imap_client_workarounds: tb-extra-mailbox-sep
auth default:
verbose: yes
debug: yes
passdb:
driver: pam
userdb:
driver: passwd
Sorry if this is a long post. The summary, I guess, is that I can't
access mailbox folders wi...
2011 Sep 22
1
Duplicates when switching from Qpopper to Dovecot pop3
..._dir = /usr/local/var/run/dovecot/
disable_plaintext_auth = no
first_valid_uid = 100
log_path = /var/log/dovecot.log
login_greeting =
mail_access_groups = mail
mail_fsync = never
mail_location = mbox:~/mail:INBOX=/var/mail/%1u/%1.1u/%u
mbox_dotlock_change_timeout = 1 mins
mbox_min_index_size = 1 B
mbox_read_locks = dotlock
mbox_write_locks = dotlock
mmap_disable = yes
passdb {
driver = shadow
}
protocols = pop3
service pop3-login {
client_limit = 10
inet_listener pop3 {
address = 216.223.136.7
port = 110
}
process_limit = 128
process_min_avail = 5
service_count = 0
vsz_limit = 512 M...
2007 Sep 26
1
deliver net_connect auth-master failed: Permission denied
...: localhost:996
ssl_disable: yes
login_dir: /var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/imap-login
login_greeting_capability: yes
first_valid_uid: 100
mail_extra_groups: mail
mail_location: mbox:~/mail:INBOX=/var/mail/%u:INDEX=/var/spool/dovecot_indexes/%u
lock_method: flock
mbox_read_locks: flock
mbox_write_locks: flock
auth default:
passdb:
driver: pam
userdb:
driver: passwd
socket:
type: listen
client:
path: /var/run/dovecot/auth-client
mode: 432
master:
path: /var/run/dovecot/auth-master
mode: 432
Thanks!!!!!
Rich
2013 Aug 05
1
Using ldap and pam
...e, however when a user changes there password they can no longer see
there email. If they change it back to the original password mail can be
seen. This has stumped me for a day or so so I was hoping someone could
shed some light.
/etc/dovecot.conf
protocols = imap imaps
disable_plaintext_auth = no
mbox_read_locks = fcntl
mbox_write_locks = fcntl
protocol imap {
}
protocol pop3 {
}
protocol lda {
postmaster_address = postmaster at example.com
}
auth default {
mechanisms = plain login
passdb pam {
}
passdb ldap {
args = /etc/dovecot-ldap.pass
}
userdb passwd {
}
user = root
user = root...
2005 Jun 28
1
dovecot - outlook users keep getting locked out of imap
...dir = /var/run/dovecot/login
login_process_size = 128
login_processes_count = 9
login_max_processes_count = 256
login_max_logging_users = 512
verbose_proctitle = yes
mail_extra_groups = mail
default_mail_env = mbox:~/mail/:INBOX=/var/spool/mail/%u
mmap_disable = no
lock_method = fcntl
mbox_read_locks = fcntl
mbox_write_locks = dotlock fcntl
mbox_lock_timeout = 300
mbox_dotlock_change_timeout = 30
mbox_dirty_syncs = yes
mbox_very_dirty_syncs = no
protocol imap {
imap_client_workarounds = outlook-idle
}
protocol pop3 {
}
auth default {
mechanisms = plain
passdb = pam...
2006 Aug 17
1
Dovecot public folders ACL
...space private {
separator = /
prefix =
location = maildir:/home/user/%u/.maildir
inbox = yes
}
namespace public {
separator = /
prefix = Public/
location = maildir:/home/user/public:CONTROL=/home/user/%u/public/control:INDEX=/home/user/%u/public/index
hidden = no
inbox = no
}
mbox_read_locks = fcntl
mbox_write_locks = dotlock fcntl
mbox_lock_timeout = 300
mbox_very_dirty_syncs = yes
umask = 0007
protocol imap {
listen = 192.168.101.1:143
mail_plugins = acl
imap_client_workarounds = delay-newmail outlook-idle
}
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
pop3_client_wo...
2008 Sep 24
2
[Dovecot 1.1.3] Strange problem with attachment download
...l_disable = no
ssl_cert_file = /etc/ssl/certs/imapd.pem
ssl_key_file = /etc/ssl/certs/imapd.pem
verbose_ssl = yes
login_greeting = Dovecot ready.
mail_location = maildir:~/Maildir
mmap_disable = yes
fsync_disable = no
mail_nfs_index = yes
lock_method = dotlock
maildir_copy_with_hardlinks = yes
mbox_read_locks = dotlock_try
mbox_write_locks = dotlock_try
mbox_dotlock_change_timeout = 120
protocol imap {
}
protocol pop3 {
}
protocol lda {
postmaster_address = postmaster at example.com
}
auth_debug = yes
auth default {
mechanisms = plain
passdb shadow {
}
userdb passwd {
}
user = root
}
dict...
2010 Dec 17
6
Authentication issue.
....0.2: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.34.6-ipv6-64 x86_64 Ubuntu 10.10 ext4
auth_mechanisms = plain login digest-md5 cram-md5
disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_debug = yes
mail_location = dbox:/mnt/dovecot/users/%n
mail_privileged_group = mail
mbox_read_locks = fcntl dotlock
mbox_write_locks = fcntl dotlock
mmap_disable = yes
passdb {
args = /mnt/dovecot/userlist.passwd
driver = passwd-file
}
passdb {
driver = pam
}
protocols = imap pop3
service auth {
unix_listener auth-master {
mode = 0600
user = doveusers
}
user = root
}
ssl = no...
2007 Dec 19
2
Start using Dovecot
...: /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
max_mail_processes: 100
first_valid_uid: 1000
last_valid_uid: 1500
mail_extra_groups: mail
mail_location: mbox:~/mail/:INBOX=/var/mail/%u
mail_debug: yes
mbox_read_locks: dotlock fcntl
mbox_write_locks: dotlock fcntl
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plu...
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