diff options
author | Alan Pearce | 2022-04-30 19:00:04 +0200 |
---|---|---|
committer | Alan Pearce | 2022-04-30 19:00:04 +0200 |
commit | a8ad05ee11fd6c6c32dbadad30ed2013b08587ae (patch) | |
tree | 32c7c03f3839cde46bbfcfcda491c0448dd6b6b9 /content/post/postfix-as-null-client-with-external-catchall.md | |
parent | 5deeb3893fead388293e16317b8a3e8f178d9e25 (diff) | |
download | website-a8ad05ee11fd6c6c32dbadad30ed2013b08587ae.tar.lz website-a8ad05ee11fd6c6c32dbadad30ed2013b08587ae.tar.zst website-a8ad05ee11fd6c6c32dbadad30ed2013b08587ae.zip |
Migrate syntax highlighting options to zola syntax
Diffstat (limited to 'content/post/postfix-as-null-client-with-external-catchall.md')
-rw-r--r-- | content/post/postfix-as-null-client-with-external-catchall.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/post/postfix-as-null-client-with-external-catchall.md b/content/post/postfix-as-null-client-with-external-catchall.md index 4a604b5..eb0a913 100644 --- a/content/post/postfix-as-null-client-with-external-catchall.md +++ b/content/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 = []; |