diff options
author | Robin Raymond <robin@robinraymond.de> | 2017-08-12 18:27:22 +0200 |
---|---|---|
committer | Robin Raymond <robin@robinraymond.de> | 2017-08-12 18:27:22 +0200 |
commit | be5d8c09d8e14e9fab6553a121fa8f53b4dd884f (patch) | |
tree | 497ce9fdea5c68476bde986a4710d948df2ad0c1 /mail-server/services.nix | |
parent | 9cbd131ffc8978a363c062f12cc030e9164e16c1 (diff) |
add rmilter and certificate files
Diffstat (limited to 'mail-server/services.nix')
-rw-r--r-- | mail-server/services.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mail-server/services.nix b/mail-server/services.nix index 07d6d18..b872586 100644 --- a/mail-server/services.nix +++ b/mail-server/services.nix @@ -15,7 +15,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/> { mail_dir, vmail_user_name, vmail_group_name, valiases, domain, enable_imap, -enable_pop3 }: +enable_pop3, virus_scanning, dkim_signing, certificate_scheme, cert_file, +key_file }: { # rspamd @@ -23,12 +24,16 @@ enable_pop3 }: enable = true; }; + rmilter = import ./rmilter.nix { + inherit domain virus_scanning dkim_signing; + }; + postfix = import ./postfix.nix { - inherit mail_dir domain valiases; + inherit mail_dir domain valiases certificate_scheme cert_file key_file; }; dovecot2 = import ./dovecot.nix { inherit vmail_group_name vmail_user_name mail_dir enable_imap - enable_pop3; + enable_pop3 certificate_scheme cert_file key_file; }; } |