summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-02-01 18:29:52 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2019-02-01 18:29:52 +0100
commitf6b14ceb1bfb07a772d8558fe779a8696e7103cb (patch)
treee05d7db4f963179712804e5ed74c176f31086b90
parent77073dc559bf332c2a80a3e366bb3d3f8b5325e2 (diff)
downloadnixos-f6b14ceb1bfb07a772d8558fe779a8696e7103cb.tar
nixos-f6b14ceb1bfb07a772d8558fe779a8696e7103cb.tar.gz
nixos-f6b14ceb1bfb07a772d8558fe779a8696e7103cb.tar.bz2
nixos-f6b14ceb1bfb07a772d8558fe779a8696e7103cb.tar.xz
nixos-f6b14ceb1bfb07a772d8558fe779a8696e7103cb.zip
Pidgeonhole
-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 };