array( 'verify_peer' => true, 'verify_peer_name' => true, ), ); $config['smtp_host'] = '{{getenv "SMTP_HOST" "tls://%n"}}:{{getenv "SMTP_PORT" "587"}}'; $config['smtp_user'] = '%u'; $config['smtp_pass'] = '%p'; /*$config['smtp_conn_options'] = array( 'ssl' => array( 'verify_peer' => true, 'verify_peer_name' => true, ), );*/ $config['use_https'] = true; $config['des_key'] = '{{getenv "SECRET_KEY"}}'; $config['cipher_method'] = '{{getenv "CIPHER_METHOD" "AES-256-CBC"}}'; $config['mail_domain'] = '%t'; $config['username_domain'] = '%d'; $config['username_domain_forced'] = true; $config['password_charset'] = 'UTF-8'; $config['plugins'] = array('archive', 'managesieve', 'zipdownload'); $config['spellcheck_engine'] = 'pspell'; $config['default_charset'] = 'UTF-8'; $config['oauth_provider'] = 'generic'; $config['oauth_provider_name'] = '{{getenv "OAUTH_PROVIDER_NAME"}}'; $config['oauth_client_id'] = '{{getenv "OAUTH_CLIENT_ID"}}'; $config['oauth_client_secret'] = '{{getenv "OAUTH_CLIENT_SECRET"}}'; $config['oauth_auth_uri'] = '{{getenv "OAUTH_AUTH_URI"}}'; $config['oauth_token_uri'] = '{{getenv "OAUTH_TOKEN_URI"}}'; $config['oauth_identity_uri'] = '{{getenv "OAUTH_IDENTITY_URI"}}'; $config['oauth_scope'] = 'email profile openid'; $config['oauth_auth_parameters'] = []; $config['oauth_identity_fields'] = ['preferred_username']; $config['oauth_login_redirect'] = true;