summary refs log tree commit diff
path: root/nixos/modules/programs/ssmtp.nix
Commit message (Collapse)AuthorAge
* nixos/doc: clean up defaults and examplesNaïm Favier2021-10-04
|
* nixos: add implict security.wrappers optionsrnhmjoj2021-09-13
| | | | | This is to keep the same permissions/setuid/setgid as before the change in security.wrappers defaults.
* ssmtp: give example to create authPassFilesjau2021-07-01
|
* nixos/ssmtp: fix configuration generator to accomodate ssmtppacien2020-12-02
| | | | | | | | | This replaces `concatStringsSep "\n"` with the proper generator to make sure that the generated configuration file ends with a trailing `\n`, which is required by ssmtp's picky configuration parser to take the last configuration key into account. GitHub: closes #105704
* nixos/ssmtp: add assertion for useSTARTTLS dependency on useTLSpacien2020-11-09
| | | | services.ssmtp.useSTARTTLS has no effect when services.ssmtp.useTLS is disabled.
* nixos/ssmtp: minor typo fixJoe Edmonds2020-10-22
|
* nixos/ssmtp: drop authPass option in favor of authPassFile, or ↵Aaron Andersen2020-06-12
| | | | services.ssmtp.settings.AuthPass if absolutely required
* nixos/ssmtp: add settings optionAaron Andersen2020-06-07
|
* nixos/ssmtp: declare all option renames manuallyMaximilian Bosch2020-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | While renaming `networking.defaultMailServer` directly to `services.ssmtp` is shorter and probably clearer, it causes eval errors due to the second rename (directDelivery -> enable) when using e.g. `lib.mkForce`. For instance, ``` nix { lib, ... }: { networking.defaultMailServer = { hostName = "localhost"; directDelivery = lib.mkForce true; domain = "example.org"; }; } ``` would break with the following (rather confusing) error: ``` error: The option value `services.ssmtp.enable' in `/home/ma27/Projects/nixpkgs/nixos/modules/programs/ssmtp.nix' is not of type `boolean'. (use '--show-trace' to show detailed location information) ```
* nixos/treewide: Move rename.nix imports to their respective modulesSilvan Mosberger2019-12-10
| | | | | | | | A centralized list for these renames is not good because: - It breaks disabledModules for modules that have a rename defined - Adding/removing renames for a module means having to find them in the central file - Merge conflicts due to multiple people editing the central file
* ssmtp: use services.ssmtp.* optionsChristian Kauhaus2019-11-26
| | | | | | | | | | | | | | | This PR is part of the networking.* namespace cleanup. ssmtp used to be configured via `networking.defaultMailServer` which is sort of misleading since it provides options only for ssmtp. Other dumb mail relays like nullmailer have always been living under services. The intent of this PR is to align ssmtp's options with those of similar services. Specifically, two renames have been done: * Rename `networking.defaultMailHost` to `services.ssmtp`. * Rename `directDelivery` to `enable` because this is what it basically does.
* treewide: Remove usage of isNullDaniel Schaefer2019-04-29
| | | | isNull "is deprecated; just write e == null instead" says the Nix manual
* sstmp: document how to specify port/AuthPassFileJörg Thalheim2017-04-08
|
* ssmtp: use the authPassFile option instead of authPassBas van Dijk2017-03-29
| | | | | This gives users the option of storing the authPass outside the world-readable Nix store.
* nixos/treewide: remove boolean examples for optionsFranz Pletz2017-03-17
| | | | | | | They contain no useful information and increase the length of the autogenerated options documentation. See discussion in #18816.
* Fix #9759 SSMTP sendmail wrapper - cfg instead of full pathNathan Bijnens2016-07-23
|
* Fix #9759 SSMTP sendmail wrapperNathan Bijnens2016-07-23
|
* ssmtp: add 'root' optionNikolay Amiantov2014-11-05
|
* ssmtp: add types to optionsNikolay Amiantov2014-11-05
|
* Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra2014-04-14
| | | | | | | | Using pkgs.lib on the spine of module evaluation is problematic because the pkgs argument depends on the result of module evaluation. To prevent an infinite recursion, pkgs and some of the modules are evaluated twice, which is inefficient. Using ‘with lib’ prevents this problem.
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10