diff options
author | Alan Pearce | 2022-04-30 19:00:04 +0200 |
---|---|---|
committer | Alan Pearce | 2025-03-16 00:56:49 +0100 |
commit | feb8b02530b8d32e4659b16863d13ebd4379f142 (patch) | |
tree | 5db90542047494064fa5159b8b2e94017a7b27fd /post/postfix-as-null-client-with-external-catchall.md | |
parent | a1e37b3a20addda6dd00d1a0ccfd349eff8b3afd (diff) | |
download | website-feb8b02530b8d32e4659b16863d13ebd4379f142.tar.lz website-feb8b02530b8d32e4659b16863d13ebd4379f142.tar.zst website-feb8b02530b8d32e4659b16863d13ebd4379f142.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 3d4a84f..4290f04 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 = []; |