summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index 5826f22d..c157d75e 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -184,6 +184,7 @@ in rec {
184 64738 # murmur 184 64738 # murmur
185 53 # DNS 185 53 # DNS
186 6523 # Obby 186 6523 # Obby
187 4190 # Managesieve
187 ]; 188 ];
188 allowedUDPPorts = [ 64738 # murmur 189 allowedUDPPorts = [ 64738 # murmur
189 53 # DNS 190 53 # DNS
@@ -769,6 +770,8 @@ in rec {
769 user = postfix 770 user = postfix
770 group = postfix 771 group = postfix
771 } 772 }
773
774 mail_plugins = $mail_plugins sieve
772 } 775 }
773 776
774 namespace inbox { 777 namespace inbox {
@@ -784,10 +787,27 @@ in rec {
784 quota_status_overquota = "552 5.2.2 Mailbox is full" 787 quota_status_overquota = "552 5.2.2 Mailbox is full"
785 quota_status_success = DUNNO 788 quota_status_success = DUNNO
786 quota_status_nouser = DUNNO 789 quota_status_nouser = DUNNO
790 quota_grace = 10%%
787 } 791 }
788 792
789 protocol imap { 793 protocol imap {
790 mail_max_userip_connections = 50 794 mail_max_userip_connections = 50
795 mail_plugins = $mail_plugins imap_quota
796 }
797
798 service managesieve-login {
799 inet_listener sieve {
800 port = 4190
801 }
802 }
803
804 service managesieve {}
805
806 protocol sieve {}
807
808 plugin {
809 sieve = file:~/sieve;active=~/.dovecot.sieve
810 sieve_redirect_envelope_from = orig_recipient
791 } 811 }
792 ''; 812 '';
793 }; 813 };