diff options
author | alecpl <alec@alec.pl> | 2010-06-07 09:49:19 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-06-07 09:49:19 +0000 |
commit | 6a642d1a2e4029fd1462e68d43a55ca1b6351f01 (patch) | |
tree | fbd2303437f1f0e870d2b4e4587aa3f12a93dc59 /config | |
parent | 073543aec910eddf897341a118084253dae03987 (diff) |
- support dynamic hostname variables in 'username_domain' option
Diffstat (limited to 'config')
-rw-r--r-- | config/main.inc.php.dist | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist index 34a976306..991d757a7 100644 --- a/config/main.inc.php.dist +++ b/config/main.inc.php.dist @@ -180,6 +180,11 @@ $rcmail_config['des_key'] = 'rcmail-!24ByteDESkey*Str'; // Automatically add this domain to user names for login // Only for IMAP servers that require full e-mail addresses for login // Specify an array with 'host' => 'domain' values to support multiple hosts +// Supported replacement variables: +// %h - user's IMAP hostname +// %n - http hostname ($_SERVER['SERVER_NAME']) +// %d - domain (http hostname without the first part) +// For example %n = mail.domain.tld, %d = domain.tld $rcmail_config['username_domain'] = ''; // This domain will be used to form e-mail addresses of new users |