summaryrefslogtreecommitdiff
path: root/config.inc.php.dist
diff options
context:
space:
mode:
Diffstat (limited to 'config.inc.php.dist')
-rw-r--r--config.inc.php.dist10
1 files changed, 10 insertions, 0 deletions
diff --git a/config.inc.php.dist b/config.inc.php.dist
index af79ba0..394086b 100644
--- a/config.inc.php.dist
+++ b/config.inc.php.dist
@@ -62,4 +62,14 @@ $config['inbox_settings_forwarding_addresses_query'] = 'SELECT addr, fwd_addr, a
// %sf - whether forwarding is set for this address (boolean)
// %sa - the new forwarding address (string)
$config['inbox_settings_update_forwarder_query'] = 'UPDATE forwarders SET fwd_addr = %sf, active = %sa WHERE addr = %fa';
+
+// The SQL query used to select a user's PGP keys.
+// Supported replacement variables:
+// %h - user's IMAP hostname
+// %u - the username (from the session info)
+// %l - the local part of the username
+// (in case the username is an email address)
+// %d - the domain part of the username
+// (in case the username is an email address)
+$config['inbox_settings_keys_query'] = 'SELECT id, fingerprint, comment FROM pgp_keys WHERE username = %u';
?>