diff options
author | Victor Nawothnig <dminuoso+git@icloud.com> | 2021-08-19 11:59:43 +0200 |
---|---|---|
committer | Victor Nawothnig <dminuoso+git@icloud.com> | 2021-08-19 11:59:43 +0200 |
commit | 10933c5ccfafa8f38bfbe9e3b9b5c856f9b90cbe (patch) | |
tree | 411ed7000528b68bd74231550e3a010bf491d487 /nixos/modules/services | |
parent | 3fbb3d909196317505607d3929077a3d061cee0b (diff) | |
download | nixpkgs-10933c5ccfafa8f38bfbe9e3b9b5c856f9b90cbe.tar nixpkgs-10933c5ccfafa8f38bfbe9e3b9b5c856f9b90cbe.tar.gz nixpkgs-10933c5ccfafa8f38bfbe9e3b9b5c856f9b90cbe.tar.bz2 nixpkgs-10933c5ccfafa8f38bfbe9e3b9b5c856f9b90cbe.tar.lz nixpkgs-10933c5ccfafa8f38bfbe9e3b9b5c856f9b90cbe.tar.xz nixpkgs-10933c5ccfafa8f38bfbe9e3b9b5c856f9b90cbe.tar.zst nixpkgs-10933c5ccfafa8f38bfbe9e3b9b5c856f9b90cbe.zip |
nixos/dovecot: Allow any or no protocol
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/mail/dovecot.nix | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/nixos/modules/services/mail/dovecot.nix b/nixos/modules/services/mail/dovecot.nix index 1ccfb357750..bac437c752d 100644 --- a/nixos/modules/services/mail/dovecot.nix +++ b/nixos/modules/services/mail/dovecot.nix @@ -468,10 +468,6 @@ in assertions = [ { - assertion = intersectLists cfg.protocols [ "pop3" "imap" ] != []; - message = "dovecot needs at least one of the IMAP or POP3 listeners enabled"; - } - { assertion = (cfg.sslServerCert == null) == (cfg.sslServerKey == null) && (cfg.sslCACert != null -> !(cfg.sslServerCert == null || cfg.sslServerKey == null)); message = "dovecot needs both sslServerCert and sslServerKey defined for working crypto"; |