summary refs log tree commit diff
path: root/nixos/modules/services/mail
Commit message (Collapse)AuthorAge
* nixos/rspamd: Fix enable for locals and overridesBrian Olsen2018-11-05
| | | | | | | | | | When implementing #49620 I included an enable option for both the locals and overrides options but the code writing the files didn't actually look at enable and so would write the file regardless of its value. I also set the type to loaOf which should have been attrsOf since the code was not written to handle the options being lists. This fixes both of those issues.
* nixos/rspamd: Add support for included filesBrian Olsen2018-11-02
| | | | | | | | | | | | | By default rspamd will look for multiple files in /etc/rspamd/local.d and /etc/rspamd/override.d to be included in subsections of the merged final config for rspamd. Most of the config snippets in the official rspamd documentation are made to these files and so it makes sense for NixOS to support them and this is what this commit does. As part of rspamd 1.8.1 support was added for having custom Lua rules stored in $LOCAL_CONFDIR/rspamd.local.lua which means that it is now possible for NixOS to support such rules and so this commit also adds support for this to the rspamd module.
* dkimproxy-out module: add self as maintainerLéo Gaspard2018-10-31
|
* clamsmtp module: add self as maintainerLéo Gaspard2018-10-31
|
* dovecot: dovenull user should have its own group.Drew Hess2018-10-22
| | | | | | | Quoting from https://wiki.dovecot.org/UserIds#dovenulluser: "It should belong to its own private dovenull group where no one else belongs to..."
* postfix: add setgid wrapper for postqueue/postdropJörg Thalheim2018-10-15
| | | | | | | | | Both postqueue[1] and postdrop[2] implement a subset of administration task that are supposed to be run unprivileged users and require the setgid bit to full-fill this task. [1] http://www.postfix.org/postqueue.1.html [2] http://www.postfix.org/postdrop.1.html
* Merge pull request #48272 from avnik/fix/rmilterJörg Thalheim2018-10-12
|\ | | | | nixos/rmilter: don't enable by default, if rspamd enabled
| * nixos/rmilter: don't enable by default, if rspamd enabledAlexander V. Nikolaev2018-10-12
| |
* | nixos: correct improper uses of mkEnableOption, clarify service descriptionsPavel Goran2018-10-05
|/ | | | | | | | | Several service definitions used `mkEnableOption` with text starting with "Whether to", which produced funny option descriptions like "Whether to enable Whether to run the rspamd daemon..". This commit corrects this, and adds short descriptions of services to affected service definitions.
* nixos/rspamd: Remove non-working socket activationBrian Olsen2018-09-28
| | | | | | | | The socket activation I added to the rspamd module doesn't actually work and can't be made to work without changes to rspamd. See: #47421 See: rspamd/rspamd#2035
* Merge pull request #35690 from griff/rspamd-socketruntimeJörg Thalheim2018-09-27
|\ | | | | nixos/rspamd: Preserve runtime directory when using socket activation
| * nixos/rspamd: Preserve runtime directory when using socket activationBrian Olsen2018-02-26
| |
* | rmilter: deprecation noticeAlexander V. Nikolaev2018-09-23
| |
* | rmilter: move rmilter.sock out of /run/rmilterAlexander V. Nikolaev2018-09-22
| | | | | | | | | | | | | | | | | | /run/rmilter is set by systemd, and have root:root ownership, which prevent pid file to write. This fix suggested to be promoted to 18.09 branch. (Although rmilter itself is deprecated, and I plan to remove it, after 18.09 would be released)
* | exim: parametrise packagepacien2018-09-16
| | | | | | | | | | | | | | This allows the definition of a custom derivation of Exim, which can be used to enable custom features such as LDAP and PAM support. The default behaviour remains unchanged (defaulting to pkgs.exim).
* | [bot] nixos/*: remove unused arguments in lambdasvolth2018-07-20
| |
* | [bot]: remove unreferenced codevolth2018-07-20
| |
* | nixos/modules: users.(extraUsers|extraGroup->users|group)Florian Klink2018-06-30
| |
* | opensmtpd module: allow changing the packageLéo Gaspard2018-06-18
| |
* | nixos/exim: Add unit restart trigger (#41418)Janne Heß2018-06-03
| |
* | nixos/dovecot: Fix usage of dhparams optionaszlig2018-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pull request that added dhparams (#39507) was made at the time where the dhparams module overhaul (#39526) wasn't done yet, so it's still using the old mechanics of the module. As stated in the release notes: Module implementers should not set a specific bit size in order to let users configure it by themselves if they want to have a different bit size than the default (2048). An example usage of this would be: { config, ... }: { security.dhparams.params.myservice = {}; environment.etc."myservice.conf".text = '' dhparams = ${config.security.dhparams.params.myservice.path} ''; } Signed-off-by: aszlig <aszlig@nix.build> Cc: @qknight, @abbradar, @hrdinka, @leenaars
* | dovecot2: added ssl_dh using security.dhparamsJoachim Schiele2018-05-08
| | | | | | | | | | The 18.03 channel includes dovecot 2.3, which requires ssl_dh to be set. -> fixes https://github.com/nixcloud/nixcloud-webservices/issues/21
* | nixos/dovecot: set group in configFranz Pletz2018-03-28
|/ | | | | | The dovecot bump to 2.3.1 caused the dovecot service to fail to start because it would try to chgrp sockets to dovecot whereas our default dovecot group is called dovecot2.
* nixos/postfix: document that *Alias options support comma separated valuesBjørn Forsman2018-02-18
| | | | For the longest time I thought there could be only one rootAlias.
* Merge pull request #34562 from griff/rspamd-workersAndreas Rammhold2018-02-09
|\ | | | | nixos/rspamd: worker configuration, socket activation and tests
| * nixos/rspamd: options for worker configuration and socket activationBrian Olsen2018-02-09
| |
* | nixos/dovecot: no " in mailbox.nameRobert Schütz2018-02-09
| |
* | Wrapped ${mailbox.name} in "s to allow for space in mailbox names.Philipp Dörfler2018-02-05
|/
* nixos/postfix: separate list option elements with commasFranz Pletz2018-01-26
|
* nixos/postfix: fix default postfix configWilliButz2018-01-24
| | | | | | | `services.postfix.config` is now correctly merged with the default attrset specified in the module. Some options that are lists in postfix also have to be lists in nix to be merged correctly. Other default options are now set with `mkDefault` so they can be overridden via the module system.
* nixos/clamsmtp: initLéo Gaspard2018-01-06
|
* nixos/dkimproxy-out: init (#33229)Léo Gaspard2018-01-03
|
* nixos/rspamd: add extraConfig parameter (#33226)Léo Gaspard2017-12-31
|
* dovecot: fix config if mailboxes == []Robin Gloster2017-11-14
|
* nixos/postfix: support alternate smtp ports when relaying (#30685)Sarah Brofeldt2017-11-01
| | | | | | * postfix: support alternate smtp ports when relaying * fix missing ; after merge
* postfix: add relayPort option. (#30520)Drew Hess2017-10-25
|
* nixos/postfix: allow dollar parameters in lists (#30612)Ryan Hendrickson2017-10-23
|
* opendkim: automated key generation (no manual changes for service ↵joachim schiele2017-10-23
| | | | initialization required anymore)
* Merge pull request #29452 from jerith666/pfix-srsd-1709Joachim F2017-10-03
|\ | | | | nixos/pfix-srsd: add module
| * nixos/pfix-srsd: add moduleMatt McHenry2017-09-21
| |
* | nullmailer: simplify config generationJoerg Thalheim2017-09-28
| |
* | nullmailer: add `remotesFile` optionMarius Bergmann2017-09-28
| | | | | | | | | | | | | | | | | | | | The current `remotes` option is a string option containing nullmailer remote definitions. However, those definitions may contain secret credentials and should therefore not be put world-readable in the nix store. I added a `remotesFile` option, which allows to specify a path to the remotes definition file instead. This way, the definitions can be kept outside of the nix store with more secure file permissions.
* | nullmailer: use proper description for `remotes` optionMarius Bergmann2017-09-28
| |
* | nullmailer: fix relative -> absolute path in preStart scriptMarius Bergmann2017-09-28
| |
* | nixos(spamassassin): fix trailing whitespacePeter Simons2017-09-27
| |
* | nixos(spamassassin): provide /etc/spamassassin to fix sa-learn et alPeter Simons2017-09-27
| | | | | | | | | | | | | | | | | | | | | | Spamassassin expects its system-wide configuration at /etc/spamassassin, and some user tools (like sa-learn) need to read those configuration files. Therefore, we provide a symlink from /etc/spamassassin to the appropriate Nix store path to make sure those tools work without the user having to pass an elaborate --siteconfig path that, potentially, changes every time the system updates. Fixes https://github.com/NixOS/nixpkgs/issues/29414.
* | nixos/dovecot: Fix createMailUser implementationaszlig2017-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option got introduced in 7904499542814b8a4d04fce8dc7ca8c383c083e7 and it didn't check whether mailUser and mailGroup are null, which they are by default. Now we're only creating the user if createMailUser is set in conjunction with mailUser and the group if mailGroup is set as well. I've added a NixOS VM test so that we can verify whether dovecot works without any additional options set, so it serves as a regression test for issue #29466 and other issues that might come up with future changes to the Dovecot service. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Fixes: #29466 Cc: @qknight, @abbradar, @ixmatus, @siddharthist
* | dovecot2: added quota, changed pop3 defaultjoachim schiele2017-09-15
| |
* | nixos/postfix: undo deprecation of extraConfig, extraMasterConfBjørn Forsman2017-09-07
|/ | | | | | I realize that advanced users like to configure services with Nix attrsets, but I don't think we should remove the option to use the (configuration) language provided by upstream.
* Merge pull request #28123 from jerith666/post-fix-upPeter Simons2017-08-11
|\ | | | | Post fix up