diff options
author | Alan Pearce | 2022-04-30 19:00:04 +0200 |
---|---|---|
committer | Alan Pearce | 2022-04-30 19:00:04 +0200 |
commit | 5d56c878e59e3712afc3353e2097509a04d4e514 (patch) | |
tree | 804f85ac79a49b50542487436f12a6e5a592e3f3 /post/postfix-as-null-client-with-external-catchall.md | |
parent | 3a99934b4cff267a77913fa619fad716de6a3aac (diff) | |
download | website-5d56c878e59e3712afc3353e2097509a04d4e514.tar.lz website-5d56c878e59e3712afc3353e2097509a04d4e514.tar.zst website-5d56c878e59e3712afc3353e2097509a04d4e514.zip |
Migrate syntax highlighting options to zola syntax
Diffstat (limited to 'post/postfix-as-null-client-with-external-catchall.md')
-rw-r--r-- | post/postfix-as-null-client-with-external-catchall.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/post/postfix-as-null-client-with-external-catchall.md b/post/postfix-as-null-client-with-external-catchall.md index 4a604b5..eb0a913 100644 --- a/post/postfix-as-null-client-with-external-catchall.md +++ b/post/postfix-as-null-client-with-external-catchall.md @@ -11,7 +11,7 @@ It took me a while to figure out how to this, so I thought I'd share my method. Here's the config that can be used to do this on any NixOS host, after redefining the first two variables. -```txt {linenos=table,hl_lines=["2-3"]} +```txt,linenos,hl_lines=2-3 services.postfix = let localUser = "example-user"; forwardingAddress = "user@external.domain"; @@ -36,7 +36,7 @@ Emails to any user without a domain part are all sent to the forwarding address First, the basic setup for a null client can be found in the [postfix documentation][0]. The example config would be translated into NixOS like so: -```txt {linenos=table} +```txt services.postfix = { enable = true; destination = []; |