postfix: configure cert/key using smtpd_tls_chain_files
The sslCert and sslKey options are going away, because they do too much, e.g. provision the keypair for client certificate authentication, which is not at all what we want or need.
This commit is contained in:
parent
8b27add088
commit
e540dc864c
1 changed files with 5 additions and 2 deletions
|
@ -207,13 +207,16 @@ in
|
|||
mapFiles."denied_recipients" = denied_recipients_file;
|
||||
mapFiles."reject_senders" = reject_senders_file;
|
||||
mapFiles."reject_recipients" = reject_recipients_file;
|
||||
sslCert = certificatePath;
|
||||
sslKey = keyPath;
|
||||
enableSubmission = cfg.enableSubmission;
|
||||
enableSubmissions = cfg.enableSubmissionSsl;
|
||||
virtual = lookupTableToString (mergeLookupTables [all_valiases_postfix catchAllPostfix forwards]);
|
||||
|
||||
config = {
|
||||
smtpd_tls_chain_files = [
|
||||
"${keyPath}"
|
||||
"${certificatePath}"
|
||||
];
|
||||
|
||||
# Extra Config
|
||||
mydestination = "";
|
||||
recipient_delimiter = cfg.recipientDelimiter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue