gpgit/config.sample.ini

23 lines
647 B
INI
Raw Normal View History

2019-11-04 21:04:16 +01:00
version = 0.1
service_name = netire-cryptall
2019-11-28 17:08:19 +01:00
# available backends: ldap, mysql
backend = mysql
2019-11-04 21:04:16 +01:00
[ldap]
host = ldap.exmaple.com
port = 636
bind_dn =
bind_pw =
search_base = ou=people,dc=user,dc=mc8051,dc=de
query_filter = (&(mail=%s)(pgpEnabled=True)(objectClass=person))
2019-11-28 17:08:19 +01:00
key_attribute = pgpKey
[mysql]
host = sql.exmaple.com
port = 3306
username =
password =
database = vmail
# use %u as a placeholder for the username and %d as the domain (username@domain.com)
query = SELECT pgp_key FROM pgp LEFT JOIN account USING(account_id) LEFT JOIN domain ON account.domain_id = domain.domain_id WHERE username = '%u' AND domain = '%d' and enabled = true