Our mail server has a domain name like "mail.example.com" and only requires the username to log in.
If I *do not* specify "$config['username_domain'] = '%z';"
then "$config['calendar_caldav_url'] = 'https://cal.example.com:5232/%u/%u.ics/';" links to the correct caldav URL:
"https://cal.example.com:5232/username/username.ics/"
However this causes the email address to be "username@mail.example.com" which is not what we want.
If I do specify "username_domain" then the email will be correct (username@example.com) but the caldav URL will then be wrong ("https://cal.example.com:5232/username%40example.com/username%40example.com.i...")
Is there any way I can have the "username@example.com" email address *AND* have the caldav URL be correct (i.e. for %u to equal "username" instead of "username@example.com")?
On 01.06.2017 10:46, Mathew Shires wrote:
Is there any way I can have the "username@example.com" email address *AND* have the caldav URL be correct (i.e. for %u to equal "username" instead of "username@example.com")?
Set mail_domain instead of username_domain.
Is there anywhere I can find a list of ALL options?
On 01/06/2017 9:55 AM, A.L.E.C wrote:
On 01.06.2017 10:46, Mathew Shires wrote:
Is there any way I can have the "username@example.com" email address *AND* have the caldav URL be correct (i.e. for %u to equal "username" instead of "username@example.com")?
Set mail_domain instead of username_domain.
On 01.06.2017 11:11, Mathew Shires wrote:
Is there anywhere I can find a list of ALL options?
config/defaults.inc.php.
setting mail_domain has done nothing, the email addresses are still username@mail.example.com.
On 01/06/2017 9:55 AM, A.L.E.C wrote:
On 01.06.2017 10:46, Mathew Shires wrote:
Is there any way I can have the "username@example.com" email address *AND* have the caldav URL be correct (i.e. for %u to equal "username" instead of "username@example.com")?
Set mail_domain instead of username_domain.
On 01.06.2017 11:16, Mathew Shires wrote:
setting mail_domain has done nothing, the email addresses are still username@mail.example.com.
This works when the user record is being created, so drop the user record from users table and log in again.