Configure Roundcube on community
[cacert-puppet.git] / sitemodules / profiles / templates / roundcube / clientcert_authentication-config.inc.php.epp
1 <%- | String $mail_domain,
2 String $master_password
3 | -%>
4 <?php
5
6 // THIS FILE IS MANAGED BY PUPPET, MANUAL CHANGES WILL BE OVERWRITTEN BY THE
7 // NEXT PUPPET RUN
8
9 // X.509 Client Certificate Authentication Plugin options
10 // ------------------------------------------------------
11
12 // This domain will be used to form e-mail addresses of new users.
13 $config['clientcert_authentication_mail_domain'] = '<%= $mail_domain %>';
14
15 // Password to be used to authenticate on the IMAP server side. Username is
16 // extracted from the first email address subject alternative name in presented
17 // client certificate.
18 //
19 // As no password is provided in client certificate authentication, the
20 // 'clientcert_authentication_password' here is used to access all accounts.
21 // The IMAP and SMTP server (if smtp_pass has %p), also needs to accept this
22 // password. 'clientcert_authentication_password' cannot be empty.
23 $config['clientcert_authentication_password'] = '<%= $master_password %>';