mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
* In ssmtp, keep the From line if set explicitly in a mail.
svn path=/nixos/trunk/; revision=11706
This commit is contained in:
parent
5dbe45bfea
commit
f2598a9ca5
|
@ -161,7 +161,8 @@ import ../helpers/make-etc.nix {
|
|||
# Configuration for ssmtp.
|
||||
++ optional config.networking.defaultMailServer.directDelivery {
|
||||
source = let cfg = config.networking.defaultMailServer; in pkgs.writeText "ssmtp.conf" ''
|
||||
mailhub=${cfg.hostName}
|
||||
MailHub=${cfg.hostName}
|
||||
FromLineOverride=YES
|
||||
${if cfg.domain != "" then "rewriteDomain=${cfg.domain}" else ""}
|
||||
UseTLS=${if cfg.useTLS then "YES" else "NO"}
|
||||
UseSTARTTLS=${if cfg.useSTARTTLS then "YES" else "NO"}
|
||||
|
|
Loading…
Reference in a new issue