Use postfix options for routing mails through tunnel #45
|
@ -1265,10 +1265,7 @@ in
|
|||
|
||||
environment.etc."postfix/sender_relay".text = ''
|
||||
@m-labs-intl.com [localhost]:1587
|
||||
|
||||
@m-labs.hk :
|
||||
@m-labs.ph :
|
||||
@193thz.com :
|
||||
@malloctech.fr :
|
||||
* :
|
||||
sb10q marked this conversation as resolved
Outdated
sb10q
commented
Is this really required? I would expect NixOS to deal by itself with Is this really required? I would expect NixOS to deal by itself with ``services.postfix.mapFiles`` without requiring any additional user-defined systemd services.
sb10q
commented
https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/mail/postfix.nix#L752-L755 Does this not work for some reason, or is it your usual sloppiness? https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/mail/postfix.nix#L752-L755
Does this not work for some reason, or is it your usual sloppiness?
|
||||
'';
|
||||
sb10q
commented
Is the line Is the line ``* :`` needed?
|
||||
systemd.services.postfix-rebuild-sender-relay = {
|
||||
description = "Postfix Rebuild Sender Dependent Relayhost Maps";
|
||||
|
|
Loading…
Reference in New Issue
In https://www.postfix.org/transport.5.html I don't see the syntax
@domain
. Justdomain
. What is going on?I checked previously and it just didn't work until I used
@domain
Why the apparent discrepancy with the documentation? How carefully did you check?