summaryrefslogtreecommitdiff
path: root/config.inc.php.dist
diff options
context:
space:
mode:
authorCarson Fleming <[email protected]>2024-12-30 04:00:35 -0800
committerCarson Fleming <[email protected]>2024-12-30 04:00:35 -0800
commit649608f336a2b6810886bc291b31126a48a1bba6 (patch)
tree9ef9b77bb5ef8144b6129d5445cdffde403c1640 /config.inc.php.dist
parent090370ed5b4906fd718cb46871b0e7bce20ef314 (diff)
downloadrc-inbox-settings-649608f336a2b6810886bc291b31126a48a1bba6.tar.gz
potentially working stub
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';
?>