Hello. I have a mail server based on iredmail with integration of Active Directory
I works. But now i need to customize my addressbook.
upn of user in AD is someuser@domain1.com
but i need to make roundcube change domain to domain2
someuser@domain2.com
i do this
/var/www/roundcubemail/config/config.inc.php
// mapping of contact fields to directory attributes
'fieldmap' => array(
'name' => 'cn',
'surname' => 'sn',
'firstname' => 'givenName',
'title' => 'title',
'email' => 'sAMAccountName',
'phone:work' => 'telephoneNumber',
'phone:mobile' => 'mobile',
'street' => 'street',
'zipcode' => 'postalCode',
'locality' => 'l',
'department' => 'departmentNumber',
'notes' => 'description',
'name' => 'cn',
'surname' => 'sn',
'firstname' => 'givenName',
'title' => 'title',
'phone:work' => 'telephoneNumber',
'phone:mobile' => 'mobile',
'phone:workfax' => 'facsimileTelephoneNumber',
'street' => 'street',
'zipcode' => 'postalCode',
'locality' => 'l',
'department' => 'departmentNumber',
'notes' => 'description',
'photo' => 'jpegPhoto',
),
'sort' => 'cn',
'scope' => 'sub',
i have no attributes in AD wich may help. I just need to add custom appendix for domain "@domain2"
now i see just someuser@127.0.0.1
how can i do it without change AD attributes?