-begin routers
-
-server_store:
- driver = accept
- condition = ${if eq {SERVER}{server}{yes}{no}}
- transport = file
-
-client:
- driver = accept
- transport = send_to_server
-
-# ----- Transports
-
-begin transports
-
-send_to_server:
- driver = smtp
- allow_localhost
- hosts = HOSTIPV4
- port = PORT_D
- hosts_try_fastopen = :
-
- dkim_domain = test.ex
-.ifdef SELECTOR
- dkim_selector = SELECTOR
-.else
- dkim_selector = sel
-.endif
-
- dkim_private_key = ${extract {${length_3:$dkim_selector}} {\
- ses=dkim512.private \
- sel=dkim.private \
- sed=dkim_ed25519.private \
- }{DDIR/$value}}
-
-.ifndef HEADERS_MAXSIZE
- dkim_sign_headers = OPT
-.else
- dkim_identity = allheaders@$dkim_domain
-.endif
-.ifdef VALUE
- dkim_hash = VALUE