ClearFoundation Tracker - ClearOS
View Issue Details
0001205ClearOSapp-mail-extension - Mail Extensionpublic2013-06-28 10:522013-08-22 16:16
user2 
user2 
normalfeatureN/A
closedfixed 
 
6.4.0 Updates6.4.0 Updates 
0001205: Add support for read/write mode on the mail attribute - command line only / experimental
By default, the mail attribute in the mail extension is set to "username@domain" and is read-only webconfig. We have had some requests to make the mail attribute a read/write field so that alternative defaults could be used.
At a basic level, this can be accomplished by simply flipping the flag in a LDAP attribute definition (deploy/user_map.php). This flag has been exposed via the /etc/clearos/mail_extension.conf configuration file:

$mail_visibility = 'read_write';

At this stage, there's no sanity checking for username/group/alias conflicts, so the administrator needs to be aware of this. For example, an administrator could specify the mail address sales@domain even with the group "sales" (with the "distribution list" attribute set) exists.
No tags attached.
Issue History
2013-06-28 10:52user2New Issue
2013-06-28 10:52user2Assigned To => user2
2013-06-28 10:52user2Statusnew => confirmed
2013-06-28 10:53user2Checkin
2013-06-28 10:53user2Note Added: 0000907
2013-06-28 10:53user2Statusconfirmed => resolved
2013-06-28 10:53user2Fixed in Version => 6.4.0 Updates
2013-06-28 10:53user2Resolutionopen => fixed
2013-08-22 16:16user2Statusresolved => closed

Notes
(0000907)
user2   
2013-06-28 10:53   
Source Code Changelog
---------------------------------------------------
- Added read/write support for mail attribute [tracker 0001205]

File Changes
---------------------------------------------------
Details: http://code.clearfoundation.com/svn/revision.php?repname=ClearOS&rev=6156 [^]
U webconfig/apps/mail_extension/trunk/deploy/info.php
U webconfig/apps/mail_extension/trunk/deploy/user_map.php
U webconfig/apps/mail_extension/trunk/libraries/OpenLDAP_User_Extension.php
U webconfig/apps/mail_extension/trunk/packaging/app-mail-extension.spec
A webconfig/apps/mail_extension/trunk/packaging/mail_extension.conf