add rmilter and certificate files

This commit is contained in:
Robin Raymond 2017-08-12 18:27:22 +02:00
parent 9cbd131ffc
commit be5d8c09d8
5 changed files with 97 additions and 10 deletions

View file

@ -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;
};
}