Can you try
strace doveadm quota get -u victim
and post the output of this?
Aki
On 13.3.2019 12.11, Eric Grammatico via dovecot wrote:
Looks working.
[root@mail ~]# ls -lh / total 72K -rw------- 1 root root 8.0K Mar 13 09:56 aquota.group -rw------- 1 root root 7.0K Mar 13 09:56 aquota.user ....
[root@mail ~]# repquota -a *** Report for user quotas on device /dev/vda1 Block grace time: 7days; Inode grace time: 7days Block limits File limits User used soft hard grace used soft hard grace
rpcuser -- 12 0 0 3 0 0
ntp -- 12 0 0 3 0 0
systemd-network -- 12 0 0 3 0 0
mysql -- 219680 0 0 564 0 0
squid -- 96 0 0 4 0 0
xxxxxx -- 869532 3170304 4194304 119 0 0
tss -- 12 0 0 2 0 0
mail -- 4 0 0 1 0 0
rpc -- 0 0 0 1 0 0
polkitd -- 8 0 0 2 0 0
xxxx -- 623880 3170304 4194304 12784 0 0
smmsp -- 8 0 0 2 0 0
apache -- 395616 0 0 19173 0 0
xxxxxxxx -- 1580 0 0 147 0 0
dovecot -- 4 0 0 1 0 0
root -- 3575932 0 0 65814 0 0
#1003 -- 0 0 0 1 0 0Thanks and regards,
Eric Grammatico _/)
13 mars 2019 10:54 "Aki Tuomi" <aki.tuomi@open-xchange.com> a écrit:
Can you ensure that quota actually works on your system? Do the aquota files exist?
Aki
On 13 March 2019 at 11:41 Eric Grammatico via dovecot <dovecot@dovecot.org> wrote:
Thanks Yassine,
My / is mounted from /dev/vda1 with the following options: [root@mail ~]# cat /etc/mtab |grep "vda1 " /dev/vda1 / ext4 rw,relatime,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0
Regards,
Eric Grammatico _/) 13 mars 2019 10:31 "Yassine Chaouche via dovecot" a écrit:
On 3/13/19 10:14 AM, Eric Grammatico via dovecot wrote: [...] Mar 11 17:56:20 mail.xxxxxxx.xx dovecot[4923]: imap(xxxx): Error: Failed to get quota resource STORAGE: quota-fs: quotactl(Q_GETQUOTA, /dev/vda1) failed: No such file or directory That's odd, I usually see s*da (not *v*da) in most systems I've worked with, as in *S*csi Drive A.
Yassine.