problems witch quota working
Bartłomiej Solarz-Niesłuchowski
Bartlomiej.Solarz-Niesluchowski at wit.edu.pl
Fri Aug 30 23:06:40 EEST 2019
Good evening!
Dear list I have problem with quota-fs (rquota) support with dovecot.
I use dovecot version:
dovecot --version
2.3.7.1 (0152c8b10)
build options:
dovecot --build-options
Build options: ioloop=epoll notify=inotify openssl io_block_size=8192
SQL driver plugins: mysql postgresql sqlite
Passdb: checkpassword ldap pam passwd passwd-file shadow sql
Userdb: checkpassword ldap(plugin) passwd prefetch passwd-file sql
the privatedevices is in service set as no:
systemctl show -p PrivateDevices dovecot
PrivateDevices=no
but quota (rquota on nfsv4) does not work:
doveadm quota get -u solarz
\doveadm(solarz): Error: Failed to get quota resource STORAGE: quota-fs:
quotactl(Q_GETQUOTA, oceanic:/home) failed: No such file or directory
Quota name Type Value Limit %
User quota STORAGE error error error
quota from os works:
quota solarz
Disk quotas for user solarz (uid 1761):
Filesystem blocks quota limit grace files quota limit
grace
/dev/mapper/vg01-lvol00
1588264 40480000 40480000 12383 0 0
oceanic:/home 76318340 86284030 87416830 561911 1190000 1650000
configuration:
# OS: Linux 5.2.9-200.fc30.x86_64 x86_64 Fedora release 30 (Thirty)
# Hostname: dervish.wsisiz.edu.pl
auth_cache_size = 8 k
mail_access_groups = mail
mail_fsync = always
mail_location = maildir:~/Maildir:INBOX=/var/spool/mail/%u
mail_max_userip_connections = 500
mail_nfs_index = yes
mail_nfs_storage = yes
mail_plugins = acl quota zlib trash
mail_privileged_group = mail
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 enotify
environment mailbox date index ihave duplicate mime foreverypart extracttext
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 {
special_use = \Trash
}
prefix =
}
passdb {
args = /etc/dovecot/deny-users
deny = yes
driver = passwd-file
}
passdb {
args = cache_key=#hidden_use-P_to_show# max_requests=256
driver = pam
}
passdb {
args = cache_key=#hidden_use-P_to_show# max_requests=256
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
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=80%% quota-warning 80 %u
sieve = file:~/sieve;active=~/.dovecot.sieve
}
postmaster_address = postmaster at wit.edu.pl
protocols = imap pop3
service anvil {
client_limit = 1155
}
service auth {
client_limit = 5248
user = root
}
service imap-login {
client_limit = 1024
inet_listener imap {
port = 0
}
inet_listener imaps {
address = [::], *
port = 993
}
process_limit = 1024
service_count = 0
}
service imap {
process_limit = 2048
vsz_limit = 512 M
}
service pop3-login {
client_limit = 1024
inet_listener pop3 {
port = 0
}
inet_listener pop3s {
address = [::], *
port = 995
}
process_limit = 128
service_count = 0
}
service pop3 {
process_limit = 2048
}
service quota-warning {
executable = script /usr/local/bin/quota-warning.sh
user = dovenull
}
ssl = required
ssl_cert = </etc/pki/tls/certs/ipop3d.pem
ssl_cipher_list = PROFILE=SYSTEM
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
userdb {
driver = passwd
}
userdb {
driver = passwd
}
protocol imap {
imap_client_workarounds = " tb-extra-mailbox-sep"
mail_max_userip_connections = 200
mail_plugins = acl quota zlib trash imap_quota
ssl_cert = </etc/pki/tls/certs/imapd.pem
ssl_key = # hidden, use -P to show it
}
protocol pop3 {
mail_max_userip_connections = 200
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
pop3_uidl_format = %08Xu%08Xv
ssl_cert = </etc/pki/tls/certs/ipop3d.pem
ssl_key = # hidden, use -P to show it
}
Thank for any clues.
Best Regards
--
Bartłomiej Solarz-Niesłuchowski, Administrator WSISiZ
e-mail: Bartlomiej.Solarz-Niesluchowski at wit.edu.pl
tel. 223486547, fax 223486501
JID: solarz at jabber.wit.edu.pl
01-447 Warszawa, ul. Newelska 6, pokój 421, pon.-pt. 8-16
Motto - Jak sobie pościelisz tak sie wyśpisz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5121 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190830/f893b146/attachment-0001.p7s>
More information about the dovecot
mailing list