I have just installed KeyHelp on Ubuntu 18.04 on a machine with 1GB RAM, 150GB Disk Space, all work fine, but I am a bit worrying about disk quota allocation to the email accounts. I have set 1MB quota for an email account, but when the quota exceed for about 120%, the email account still send and receive the emails even with the 2MB attachment.
I tried to switch both webmail (Rainloop and Roundcube) but still the same.
One thing, quota service is inactive by default, I did enabling the quota service manually with the following command:
Code: Select all
service quota start
Code: Select all
root@my-server:~# service quota status
● quota.service - Initial Check File System Quotas
Loaded: loaded (/lib/systemd/system/quota.service; disabled; vendor preset: enabled)
Active: active (exited) since Thu 2019-11-21 11:58:06 +09; 14min ago
Docs: man:quotacheck(8)
Process: 3192 ExecStart=/usr/share/quota/quota-initial-check.sh (code=exited, status=0/SUCCESS)
Main PID: 3192 (code=exited, status=0/SUCCESS)
Nov 21 11:58:06 my-server systemd[1]: Starting Initial Check File System Quotas...
Nov 21 11:58:06 my-server systemd[1]: Started Initial Check File System Quotas.
Code: Select all
root@my-server:~# repquota /
*** Report for user quotas on device /dev/sda2
Block grace time: 7days; Inode grace time: 7days
Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 6408512 0 0 133893 0 0
daemon -- 64 0 0 4 0 0
man -- 1876 0 0 141 0 0
www-data -- 536 0 0 12 0 0
systemd-network -- 12 0 0 3 0 0
syslog -- 6428 0 0 9 0 0
_apt -- 24 0 0 4 0 0
lxd -- 4 0 0 1 0 0
dnsmasq -- 4 0 0 1 0 0
landscape -- 8 0 0 4 0 0
pollinate -- 4 0 0 1 0 0
falko -- 32 0 0 10 0 0
keyhelp -- 235492 0 0 11809 0 0
bind -- 12 0 0 3 0 0
mysql -- 187352 0 0 284 0 0
ftp -- 4 0 0 1 0 0
postfix -- 88 0 0 52 0 0
vmail -- 20648 0 0 201 0 0
opendkim -- 72 0 0 18 0 0
clamav -- 275336 0 0 9 0 0
postgrey -- 10324 0 0 8 0 0
debian-spamd -- 2040 0 0 29 0 0
amavis -- 3848 0 0 34 0 0
client1 -- 390916 1048576 1048576 998 174763 174763
mailhost -- 208 102400 102400 11 17067 17067
test1 -- 384 10240 10240 14 1707 1707
#62583 -- 4 0 0 2 0 0
Do you guys have any idea? or did I miss something?
Thank You