Re: [exim] Dynamic certificate paths

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Lance Lovette
日付:  
To: exim-users
題目: Re: [exim] Dynamic certificate paths
"Those options that undergo string expansion before use are marked with †."

Thanks! It's always the fine print that gets you :)

After further investigation (thanks -d+expand!), I must retract my earlier
statement about my readfile assignment not causing any issues. It was :)

╭considering: $primary_hostname
├──expanding: $primary_hostname
╰─────result: ${readfile{/etc/mailname}{}}
...
SMTP>> EHLO ${readfile{/etc/mailname}{}}


For posterity, going back to my original post, TLS certificate options *are
expanded* and can indeed be dynamic! This works just fine... not that it's
the most efficient way :)

tls_certificate =
/etc/letsencrypt/live/${readfile{/etc/mailname}{}}/fullchain.pem

Thanks Jeremy for the help!

Lance