From ff3facb2614aa3e6641b125710b526f92ba421df Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Mon, 25 Nov 2024 00:31:59 -0800 Subject: working prototype, still need key management and maybe some json for smoother experience --- config.inc.php.dist | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config.inc.php.dist') diff --git a/config.inc.php.dist b/config.inc.php.dist index b65d30d..af79ba0 100644 --- a/config.inc.php.dist +++ b/config.inc.php.dist @@ -34,7 +34,7 @@ $config['inbox_settings_encryption_enabled_query'] = 'SELECT encrypt FROM users // (in case the username is an email address) // %d - the domain part of the username // (in case the username is an email address) -// %e - whether the inbox should be encrypted (boolean) +// %se - whether the inbox should be encrypted (boolean) $config['inbox_settings_update_encryption_query'] = 'UPDATE users SET encrypt = ? WHERE username = %u'; // The SQL query used to select a user's forwarding addresses. @@ -55,10 +55,10 @@ $config['inbox_settings_forwarding_addresses_query'] = 'SELECT addr, fwd_addr, a // (in case the username is an email address) // %d - the domain part of the username // (in case the username is an email address) -// %fa - the email address being forwarded +// %aa - the email address being forwarded // (returned as `addr` from the above query) -// %fl - the local part of the forwarding address -// %fd - the domain part of the forwarding address +// %al - the local part of the forwarding address +// %ad - the domain part of the forwarding address // %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'; -- cgit v1.2.3