Commit Graph

257 Commits

Author SHA1 Message Date
niten d10830785b Define networks... 2023-09-27 11:39:05 -07:00
niten 4139bcae81 Enable a ton of rspamd checks
And use redis for rspamd
2023-09-27 09:51:26 -07:00
niten 93ca17f907 Try this... 2023-09-27 08:47:24 -07:00
niten 152d76bdb5 Remove extra network 2023-09-27 07:16:39 -07:00
niten 0e543134a8 Just allow access to inet 2023-09-27 06:50:25 -07:00
niten fd683bb7e6 service -> server 2023-09-26 23:16:51 -07:00
niten 1ac5d81fc3 Keep dhparams so we don't have to regenerate 2023-09-26 23:16:00 -07:00
niten d8976486dc Port-forward imap, smtp, submission 2023-09-26 23:11:04 -07:00
niten 6328946703 Another try at building sieves 2023-09-26 15:55:03 -07:00
niten a78e03a374 Add 'with pkgs;' 2023-09-26 15:38:53 -07:00
niten 6ad453e3e0 Fixes to sieve generation 2023-09-26 15:30:38 -07:00
niten ddf8cbde68 submission options must be str 2023-09-26 15:07:22 -07:00
niten 53b0d7cecd Tweaks to postfix opts 2023-09-26 15:02:46 -07:00
niten 1ae9012454 Submission wants strings, smtpd doesn't 2023-09-26 14:48:11 -07:00
niten e12515764d Can these be lists? 2023-09-26 14:41:49 -07:00
niten 177a4c2fd4 Change name to mail-server 2023-09-26 13:30:01 -07:00
niten 3d21ed7c77 Timeout needs unit ('s') 2023-09-26 13:29:20 -07:00
niten 7b9c5090c2 Not sure who these dirs should belong to... 2023-09-26 13:28:06 -07:00
niten cd86e08045 Just totally forget userdb 2023-09-26 13:16:37 -07:00
niten bedd4cd676 Don't use LDAP for passdb 2023-09-26 10:37:59 -07:00
niten be57ad1b83 Does enabling imap help? 2023-09-25 22:55:24 -07:00
niten 9268e570cb Don't map users (since it doesn't work...) 2023-09-25 17:57:41 -07:00
niten cc4e2173b4 Hostnames are 'smtp' & 'imap', not 'postfix' & 'dovecot' 2023-09-25 16:40:36 -07:00
niten d9e77d0210 Add dependencies amongst images 2023-09-25 14:20:06 -07:00
niten f68e63c1c8 sievePath -> sieveDirectory 2023-09-25 12:28:53 -07:00
niten 77087c1cc1 Scripts must be built at runtime. 2023-09-25 12:18:41 -07:00
niten d890f265dc Add dovecot dependency to sieves 2023-09-25 10:24:15 -07:00
niten 8935b62cfb buildPhase -> installPhase
Wasn't producing output...
2023-09-25 10:17:17 -07:00
niten 96e0f4756c ...Which is in cfg 2023-09-25 10:10:41 -07:00
niten 71df6acf68 ldapConfig -> ldap-conf 2023-09-25 10:10:15 -07:00
niten b481728172 metrics-port -> ports.metrics 2023-09-25 10:08:04 -07:00
niten d3fc1020f7 replaceString -> replaceStrings 2023-09-25 10:05:51 -07:00
niten 333fed167f Make it a list, then concat 2023-09-25 10:03:24 -07:00
niten 06b7134a00 Fix config reference (no .postfix) 2023-09-25 10:00:05 -07:00
niten ee7261ff5c policydSpf -> policydSpfFile... 2023-09-25 09:55:33 -07:00
niten 53be472194 Put restrictions list together into string 2023-09-25 09:51:46 -07:00
niten 07b7b50d63 Restrictions are needed by both smtp & submission 2023-09-25 09:45:56 -07:00
niten f13b0302e7 mapped-file -> mappedFile 2023-09-25 09:41:13 -07:00
niten 710b8b01cb dkim -> dkim-server 2023-09-25 09:38:59 -07:00
niten 7b2abd2fe4 ports toString 2023-09-25 09:36:28 -07:00
niten 507d47719d port toString 2023-09-25 09:34:05 -07:00
niten 04d409f4d5 Define sasl-domain option. 2023-09-25 09:26:24 -07:00
niten a41b4cc611 Define message-size-limit option 2023-09-25 09:23:49 -07:00
niten 8ea389947a Define blacklists in mail-server 2023-09-25 09:16:40 -07:00
niten 2cdb1d8c67 blacklists -> blacklist 2023-09-25 09:13:27 -07:00
niten 0350f1d176 dns-blacklists -> dns.blacklists 2023-09-25 09:07:38 -07:00
niten c987d118fd Add alias options 2023-09-24 23:26:41 -07:00
niten 8b2845a1b2 Add trusted-networks option 2023-09-24 23:13:58 -07:00
niten 47c1ed966c Disable SRS for now 2023-09-24 22:59:20 -07:00
niten efdaa338ee Put concatMapAttrsToList in let clause 2023-09-24 14:47:46 -07:00