enable mail quotas
Currently set to 10 gigabytes. Nobody I know ever reached that limit, so it should be fine
This commit is contained in:
parent
8285c750a6
commit
80d016ae8f
1 changed files with 3 additions and 1 deletions
|
@ -94,6 +94,7 @@ in
|
||||||
"reject_unauth_destination"
|
"reject_unauth_destination"
|
||||||
"reject_unauth_pipelining"
|
"reject_unauth_pipelining"
|
||||||
"reject_invalid_hostname"
|
"reject_invalid_hostname"
|
||||||
|
"check_policy_service inet:localhost:12340"
|
||||||
];
|
];
|
||||||
smtpd_relay_restrictions = [
|
smtpd_relay_restrictions = [
|
||||||
"permit_sasl_authenticated"
|
"permit_sasl_authenticated"
|
||||||
|
@ -119,7 +120,8 @@ in
|
||||||
dovecot2 = {
|
dovecot2 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableImap = true;
|
enableImap = true;
|
||||||
enableQuota = false;
|
enableQuota = true;
|
||||||
|
quotaGlobalPerUser = "10G";
|
||||||
enableLmtp = true;
|
enableLmtp = true;
|
||||||
mailLocation = "maildir:~/Maildir";
|
mailLocation = "maildir:~/Maildir";
|
||||||
sslServerCert = "/var/lib/acme/${hostname}/fullchain.pem";
|
sslServerCert = "/var/lib/acme/${hostname}/fullchain.pem";
|
||||||
|
|
Loading…
Add table
Reference in a new issue