Displaying 20 results from an estimated 81 matches for "sqlquota".
2014 Jan 31
2
Dovecot2 + Quota
Hello!
I need to configure Quota on Roundcubemail with Dovecot2.
So, I did:
90-quota.conf:
# SQL backend:
quota = dict:User quota::proxy::sqlquota
quota_rule = *:storage=20M:messages=1000
}
dict {
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
OK, works! but, My webmail shows me 20M of quota. But on my Postfixadmin I
configured 200M.
How can I fix this?
Att;
*Lucas Possamai*
http://about.me/lucaspossamai
https://www.digi...
2018 Jul 26
1
dsync: expunge from pop3 does not replicate
...:messages=0
Jul 26 10:54:11 mda11 dovecot: doveadm(jakub@***): Debug: remote(10.3.13.52:54321): Effective uid=65534, gid=65534, home=/datastore/maildir/***/jakub
Jul 26 10:54:11 mda11 dovecot: doveadm(jakub@***): Debug: remote(10.3.13.52:54321): Quota root: name=User quota backend=dict args=:proxy::sqlquota
Jul 26 10:54:11 mda11 dovecot: doveadm(jakub@***): Debug: remote(10.3.13.52:54321): Quota rule: root=User quota mailbox=* bytes=3221225472 messages=0
Jul 26 10:54:11 mda11 dovecot: doveadm(jakub@***): Debug: remote(10.3.13.52:54321): Quota rule: root=User quota mailbox=* bytes=3221225472 messages=0...
2015 Sep 23
1
v2.2.19 release candidate released
...76
http://hg.dovecot.org/dovecot-2.2/rev/9ceeb1a5c492
http://hg.dovecot.org/dovecot-2.2/rev/beb3b8496b7d
I think this also means that you could have only a couple of dict processes, since all the queries should now be done asynchronously. So if you had for example:
quota = dict:User quota::proxy::sqlquota
you could now have:
quota = dict:User quota::proxy:dict-async:sqlquota
You'd also probably need to change the service dict-async { unix_listener dict-async { permissions } }.
Then again, it might not work. I haven't really tested this case. :)
2018 Jul 25
2
dsync: expunge from pop3 does not replicate
...h_cache_negative_ttl = 2 secs
auth_cache_size = 16 M
auth_cache_ttl = 1 mins
auth_master_user_separator = /
auth_mechanisms = plain login
auth_verbose = yes
default_client_limit = 2000
default_process_limit = 2000
default_vsz_limit = 16894 M
deliver_log_format = %m %f/%e %s -> %e %p: %$
dict {
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
sqlsieve = mysql:/etc/dovecot/dovecot-dict-sqlsieve.conf.ext
}
disable_plaintext_auth = no
doveadm_password = # hidden, use -P to show it
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags
lda_mailbox_autocreate = yes
lda_mai...
2013 Sep 06
1
fdatasync -- Error -- bad file descriptor
.../dovecot/dovecot.conf
# OS: Linux 2.6.32-358.14.1.el6.x86_64 x86_64 CentOS release 6.4 (Final)
ext4
auth_mechanisms = plain login digest-md5 cram-md5
auth_socket_path = /apps/mail/var/dovecot/run/auth-userdb
base_dir = /apps/mail/var/dovecot/run/
debug_log_path = /var/log/dovecot-debug.log
dict {
sqlquota =
mysql:/apps/mail/dovecot/2.2.5/etc/dovecot/conf.d/sqlquota.dict.ext
}
hostname = mail1 at mydomain.tldmydomain.tld
mail_attachment_dir = /apps/mail/mailbox/attachments
mail_attachment_hash = %{sha256:80}
mail_debug = yes
mail_location = mdbox:/apps/mail/mailbox/%d/%n/mdbox
mail_plugin_dir = /apps...
2018 May 30
2
Fatal: nfs flush requires mail_fsync=always
...> # Pigeonhole version 0.5.1.alpha0 (d5f710e0)
>> # OS: Linux 4.9.0-4-amd64 x86_64 Debian 9.3 nfs
>> auth_worker_max_count = 200
>> dict {
>> expire = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
>> quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
>> sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
>> }
>> disable_plaintext_auth = no
>> lock_method = dotlock
>> mail_fsync = always
>> mail_location = maildir:/mnt/virtual_mail/%d/%n
>> mail_nfs_index = yes
>> mail_nfs_storage = yes
>> mail_plugins = q...
2016 Sep 03
2
doveadm quota recalc returns a Segmentation fault
...?doveadm quota recalc -u alessio at skye.it? dovecot return a ?Segmentation
fault? (but the quota is update fine). Since dovecot version 2.2.24.3
(55cdc32) works fine.
This is my quota backends configuration:
plugin {
quota = maildir:UserQuota
quota2 = dict:Quota Usage::noenforcing:proxy::sqlquota
}
dict {
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
I found that if I comment the line ?quota2 = dict:?? doveadm quota
recalc works fine. I have two quota backends because with dict I can
store everybody's current quota usage in a SQL database for fast
retrieving (like quo...
2018 Jan 19
1
Fatal: nfs flush requires mail_fsync=always
...) [XI:2:2.3.1~alpha0-1~auto+14]:
/etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.1.alpha0 (d5f710e0)
# OS: Linux 4.9.0-4-amd64 x86_64 Debian 9.3 nfs
auth_worker_max_count = 200
dict {
expire = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
lock_method = dotlock
mail_fsync = always
mail_location = maildir:/mnt/virtual_mail/%d/%n
mail_nfs_index = yes
mail_nfs_storage = yes
mail_plugins = quota
mailbox_list_index = no
metric imap_select_no {
event_name = imap...
2017 Mar 19
0
Solved? - Re: Understanding quotas
I spent an evening, again, reading up on quota. This time I think my
search foo was strong enough. I found guidance and came up with the
following:
sed -i -e "s/#quota = /sqlquota = /w /dev/stdout"
/etc/dovecot/dovecot.conf
Sets up a dovecot dictionary of sqlquota to the default file of
/etc/dovecot/dovecot-dict-sql.conf.ext
cat <<EOF>>/etc/dovecot/conf.d/90-quota.conf || exit 1
plugin {
quota = dict:user::proxy::sqlquota
}
EOF...
2013 Jul 04
1
dovecot 2.2 Panic: pool_data_stack_realloc(): stack frame changed
...is2 at otenet.gr
Jul 4 12:29:47 pop01 dovecot: lmtp(2899, rigakis2 at otenet.gr): Debug:
Effective uid=531846, gid=100, home=/var/mail/folders/U/9/5/rigakis2
Jul 4 12:29:47 pop01 dovecot: lmtp(2899, rigakis2 at otenet.gr): Debug:
Quota root: name=User quota backend=dict args=:noenforcing:proxy::sqlquota
Jul 4 12:29:47 pop01 dovecot: lmtp(2899, rigakis2 at otenet.gr): Debug:
Quota rule: root=User quota mailbox=* bytes=52428800 messages=0
Jul 4 12:29:47 pop01 dovecot: lmtp(2899, rigakis2 at otenet.gr): Debug:
Quota grace: root=User quota bytes=5242880 (10%)
Jul 4 12:29:47 pop01 dovecot: lmtp(28...
2018 Jan 16
0
nfs flush requires mail_fsync=always
...8) [XI:2:2.3.1~alpha0-1~auto+6]: /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.1.alpha0 (c9f2afe0)
# OS: Linux 4.9.0-4-amd64 x86_64 Debian 9.3 nfs
auth_worker_max_count = 200
dict {
expire = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
lock_method = dotlock
mail_fsync = always
mail_location = maildir:/mnt/virtual_mail/%d/%n
mail_nfs_index = yes
mail_nfs_storage = yes
mail_plugins = quota
mailbox_list_index = no
metric imap_select_no {
event_name = imap...
2017 Apr 03
3
Problem with acl and shared mailboxes
...ation:
host:~ # doveconf -n
# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.12.67-60.64.24-default x86_64 SUSE Linux Enterprise Server 12 (x86_64) ext3
auth_debug = yes
auth_master_user_separator = *
auth_mechanisms = plain login
auth_verbose = yes
debug_log_path = /var/log/dovecot.debug
dict {
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
first_valid_uid = 480
lmtp_save_to_detail_mailbox = yes
mail_debug = yes
mail_gid = vmail
mail_location = maildir:/var/spool/mail/%d/%u/Maildir:LAYOUT=fs
mail_plugins = acl quota listescape
mail_privileged_group = vmail
ma...
2019 Oct 29
1
Sieve problem - Timeout while waiting for lock
...Pigeonhole version 0.5.7.2 (7372921a)
# OS: Linux 3.10.0-1062.1.2.el7.x86_64 x86_64 CentOS Linux release
7.7.1908 (Core)
auth_debug = yes
auth_master_user_separator = *
auth_username_format =
base_dir = /data/dovecot/var/run/dovecot
default_client_limit = 8192
default_vsz_limit = 768 M
dict {
? sqlquota = mysql:/config/dovecot/common/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
doveadm_password = # hidden, use -P to show it
first_valid_gid = 101
first_valid_uid = 102
imap_id_send =
import_environment = TZ
info_log_path = /LOGS/dovecot/dovecot.log
instance_name = dovecot
listen = dovecot...
2014 Nov 23
2
Strange repplication issues
...ssages
Key ID: FF395BD9
GPG FP: DE10 73FD 17EB 5544 A491 B385 1EDA 35DC FF39 5BD9
-------------- next part --------------
# 2.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 3.13.0-34-generic x86_64 Ubuntu 14.04.1 LTS ext4
# THIS IS SERVER A CONFIGURATION
auth_mechanisms = CRAM-MD5 PLAIN LOGIN
dict {
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
doveadm_password = nicepassword
dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u
first_valid_uid = 106
last_valid_uid = 106
mail_gid = Debian-exim
mail_location = maildir:/var/mail/virtual/%d/%n
mail_plu...
2018 Feb 09
1
Shared folders and quota
...or shared folders?
This is my doveconf -n":
# 2.2.30.2 (c0c463e): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.18 (29cc74d)
# OS: SLES12SP3
auth_debug = yes
auth_master_user_separator = *
auth_mechanisms = plain login
auth_verbose = yes
debug_log_path = /var/log/dovecot.debug
dict {
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
first_valid_uid = 480
lmtp_save_to_detail_mailbox = yes
mail_debug = yes
mail_gid = vmail
mail_location = maildir:/var/spool/mail/user/%n/Maildir:LAYOUT=fs
mail_plugins = acl quota stats listescape notify virtual
mail_priv...
2014 Nov 21
2
Handle of "subscription" file/folder for IMAP
...8 21:15 .subscriptions/
drwx------ 2 5000 5000 4096 Nov 19 23:26 tmp/
drwx------ 5 5000 5000 4096 Nov 8 21:15 .Trash/
root at fastmail:/home/mail/a.com/a at a.com#
doveconf:
# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.14.23x x86_64 Debian 7.6 ext4
auth_mechanisms = plain login
dict {
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
listen = *
login_greeting = myserver
mail_location = maildir:/home/mail/%d/%u
mail_plugins = quota
mail_privileged_group = mail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope...
2018 Nov 23
2
doveadm dsync-server doesn't use user parameter?
...e_size = 10 M
auth_cache_ttl = 1 secs
auth_master_user_separator = *
auth_mechanisms = PLAIN LOGIN APOP
auth_verbose = yes
default_client_limit = 600
default_vsz_limit = 512 M
dict {
lastlogin = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
sqlacl = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
first_valid_gid = 1001
first_valid_uid = 1001
hostname = mailstore2
imap_hibernate_timeout = 1 mins
imap_id_log = *
imap_id_send = *
imap_idle_notify_interval = 10 mins
imap_logout_format = bytes=%i/%o
instance_name = mail...
2017 Jun 05
0
quota clone + mysql + duplicate key
...9 Query INSERT INTO quota (bytes,messages,username) VALUES
(25002030,226,'user at domain.tld') ON DUPLICATE KEY UPDATE
bytes=bytes+25002030,messages=messages+226
1186029 Query COMMIT
Is it a bug or am I missing something in my configuration ?
The relevant part of the config :
dict {
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
plugin {
quota = count:User quota
quota_clone_dict = proxy::sqlquota
quota_exceeded_message = Quota for this mail account has been
exceeded, please try again later.
quota_grace = 1M
quota_vsizes = yes
}
map {
pattern = priv/quota/storag...
2017 Mar 17
2
Understanding quotas
Just to level-set, I am using Centos7-arm which supplies Dovecot
2.2.10. I don't have access to a arm build or mock environment and use
what is available (I DID try to install them but had dependency issues).
Much of what I have is from campworld, but some I have picked up from
other Centos mailserver builders.
Also I am using Postfixadmin which provides quotas per user in mysql
2014 Mar 10
0
mdbox+sis: Error: read(attachments-connector(/path/...)) failed: read(/path/...[base64:18 b/l]) failed: Stream is larger than expected (256088 > 256087, eof=1) (FETCH BODY for mailbox INBOX UID 29925)
...Andrew Lewis
-------------- next part --------------
# 2.2.12.0: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-57-generic x86_64 Ubuntu 12.04.4 LTS
auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@&
auth_verbose = yes
auth_verbose_passwords = plain
dict {
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
first_valid_uid = 108
last_valid_uid = 108
mail_attachment_dir = ~/attachments
mail_attachment_hash = %{sha256}
mail_gid = 115
mail_location = mdbox:~/
mail_plugins = quota
mail_privileged_group = mail
mail_uid = 108
manag...