Commit graph

463 commits

Author SHA1 Message Date
Danylo Hlynskyi
c6e2de7180 don't enable firewall by default
It is default ON in NixOS and will conflict with `firewall.enable = false`, which some user may intentionally set.
In my opinion it is very high-level option to be set automatically.

Also, people who really don't want firewall, just do `lib.mkForce false` and won't even notice that this module requires it.
2017-08-31 14:42:14 +03:00
Robin Raymond
b0ae2de5f4 Merge branch 'master' of https://github.com/Infinisil/nixos-mailserver into module-rewrite 2017-08-31 10:49:01 +02:00
Robin Raymond
42c4e18438 remove unnecessary after field in systemd 2017-08-30 15:56:24 +02:00
Silvan Mosberger
692a677194 make configuration a nixos module 2017-08-30 15:09:38 +02:00
Robin Raymond
bb4717bf0b fix typo in opendkim key generation 2017-08-30 14:29:06 +02:00
Robin Raymond
f01e0bdbb3 update goals for v1.0 2017-08-23 17:37:45 +02:00
Robin Raymond
d05bd24040 make dovecot wait for postfix instead of other way around 2017-08-23 17:34:34 +02:00
Robin Raymond
dbd8b88aca remove obsolete opendkim service 2017-08-23 17:29:51 +02:00
Robin Raymond
fe55d8f501 update dkim docs 2017-08-23 17:24:40 +02:00
Robin Raymond
8551dcffff enable dkim signing 2017-08-23 17:22:44 +02:00
Robin Raymond
7d4809038f add virus scanning 2017-08-13 21:51:07 +02:00
Robin Raymond
f51811b236 add password hashes 2017-08-13 15:51:41 +02:00
Robin Raymond
d7d27db605 pop3 tested 2017-08-13 14:21:30 +02:00
Robin Raymond
98371b86e0 remove non implemented settings 2017-08-13 14:20:18 +02:00
Robin Raymond
ecd73f4e1c firewall respects settings 2017-08-13 14:20:02 +02:00
Robin Raymond
72f45af1ca fix submission port 2017-08-13 14:05:40 +02:00
Robin Raymond
c2e89ff1ed add checklist for first release 2017-08-13 12:58:00 +02:00
Robin Raymond
b68e64ec72 certificate scheme 2
On the fly create certificates via openssl (Maybe change this to
libressl in the future?). This is probably the best scheme to get
something that simply works. Self signed certificates only pose a
problem when connecting to retrieve the email via imap or pop3.
2017-08-13 11:51:07 +02:00
Robin Raymond
be5d8c09d8 add rmilter and certificate files 2017-08-12 18:27:22 +02:00
Robin Raymond
9cbd131ffc add more documentation 2017-08-12 17:09:32 +02:00
Robin Raymond
f291391a27 mention that virus scanning is not yet implemented 2017-08-12 16:42:21 +02:00
Robin Raymond
f3f30f2f24 add documentation 2017-08-12 16:41:43 +02:00
Robin Raymond
f8b5e03b78 get postfix working
I still have to decide what to do with the certificate file
2017-08-12 16:14:16 +02:00
Robin Raymond
1d53a88a21 finish up dovecot configuration
also factor out users into own file
2017-08-12 12:28:46 +02:00
Robin Raymond
4fdace2538 add some hints on how to test 2017-08-12 11:52:01 +02:00
Robin Raymond
e63b6ebda9 create maildir folder 2017-08-12 11:47:52 +02:00
Robin Raymond
8d2b9bc5fc update readme 2017-08-12 11:37:54 +02:00
Robin Raymond
60574841c6 restructuring; now works with 17.03/17.09-pre
I had to remove some of the features, they need to be slowely added in
again.
2017-08-12 11:27:19 +02:00
Robin Raymond
54e56926d6 add firewall 2017-08-11 14:42:24 +02:00
Robin Raymond
9e56908439 add nixops deployment 2017-08-11 14:06:54 +02:00
Robin Raymond
938158b3a6 fix arguments of functions 2017-08-11 14:05:58 +02:00
r-raymond
9d7716d262 options virus scanning 2016-07-28 08:29:22 +02:00
r-raymond
4c389aef41 Options for imap and pop3 ssl 2016-07-28 08:28:03 +02:00
Robin Raymond
6d2b195213 implements transformation valias -> String
it is still kind of unclear to me how [String] should get mapped
to String
2016-07-25 18:16:15 +02:00
Robin Raymond
6d104b99d0 remove the multiple domain claim from readme
This is a feature that can maybe be implemented later on.
As of right now, it would make things too complicated.
2016-07-25 18:07:49 +02:00
Robin Raymond
5c6576a106 adds config for valias and vaccounts 2016-07-25 18:06:57 +02:00
Robin Raymond
5faac4d735 factors out postfix 2016-07-25 17:48:40 +02:00
Robin Raymond
dd7359d9db factors out postfix and adds valias + vaccounts 2016-07-25 17:47:54 +02:00
Robin Raymond
a73059e63c imports dovecot.nix 2016-07-25 17:42:23 +02:00
Robin Raymond
00649f7222 seperate dovecot into own file 2016-07-25 17:40:58 +02:00
Robin Raymond
80de0490ba starts splitting up files 2016-07-25 17:30:03 +02:00
r-raymond
53568f6d1f set the correct permissions for vmail folder 2016-07-25 17:14:18 +02:00
r-raymond
6720dc7209 adds mailUser, mailGroup, mailLocation to dovecot 2016-07-25 17:10:22 +02:00
r-raymond
1ca3e7ef22 adds imap / pop3 options and support 2016-07-25 17:06:44 +02:00
r-raymond
f6d2f7818f adds dovecot 2016-07-25 16:12:04 +02:00
r-raymond
525de4b76a adds rspamd 2016-07-25 16:11:08 +02:00
r-raymond
3de88514e6 clarify that it is not useable at this point 2016-07-21 18:55:59 +02:00
r-raymond
f33feb35ee adds one of these badge thingies 2016-07-21 18:55:01 +02:00
r-raymond
a118fd4092 adds license info to file 2016-07-21 18:46:43 +02:00
r-raymond
00a579af63 adds imap and tls to features 2016-07-21 18:42:14 +02:00