srs delivery template: do not set config_directory in main.cf

The instance gets MAIL_CONFIG=/etc/postfix-srs/delivery from
postfix@srs-delivery.service; setting it again makes postconf warn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
chrisandClaude Opus 5.5 committed 2026-11-10 15:35:48 +01:00
1 parent 877e8996b0
commit 564a5254ad
1 file changed
+5 -1
+5 -1
View File
@@ -105,4 +105,8 @@ smtp_tls_CAfile = @SMTP_TLS_CAFILE@
smtp_tls_mandatory_protocols = @SMTP_TLS_MANDATORY_PROTOCOLS@ smtp_tls_mandatory_protocols = @SMTP_TLS_MANDATORY_PROTOCOLS@
smtp_tls_protocols = @SMTP_TLS_PROTOCOLS@ smtp_tls_protocols = @SMTP_TLS_PROTOCOLS@
smtp_tls_security_level = @SMTP_TLS_SECURITY_LEVEL@ smtp_tls_security_level = @SMTP_TLS_SECURITY_LEVEL@
config_directory = /etc/postfix-srs/delivery
# config_directory is intentionally NOT set here: the instance is started by
# postfix@srs-delivery.service with MAIL_CONFIG=/etc/postfix-srs/delivery
# (systemd turns the '-' in the instance name into '/'). Setting it again in
# main.cf makes postconf warn "overriding earlier entry: config_directory=...".