diff options
| author | Carson Fleming <[email protected]> | 2024-11-25 00:31:59 -0800 |
|---|---|---|
| committer | Carson Fleming <[email protected]> | 2024-11-25 00:31:59 -0800 |
| commit | ff3facb2614aa3e6641b125710b526f92ba421df (patch) | |
| tree | ad6385e2bd9e95e981a4c9a01f5f36a3baa135ce /config.inc.php.dist | |
| parent | a46266049550491849a309357270cf9aa113ee54 (diff) | |
| download | rc-inbox-settings-ff3facb2614aa3e6641b125710b526f92ba421df.tar.gz | |
working prototype, still need key management and maybe some json for smoother experience
Diffstat (limited to 'config.inc.php.dist')
| -rw-r--r-- | config.inc.php.dist | 8 |
1 files changed, 4 insertions, 4 deletions
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'; |
