I am not configuring an MTA or maintaining the /etc/aliases. I only need to have a way in openldap to add extra email addresses for users through LAM. In Microsoft ldap they use the attribute called "proxyAddresses" and was wondering how can I accomplish this in LAM. Will I need to extend ldap schema? How do I add a field in LAM?

Thanks,
Romi

On 1/27/11 11:20 PM, Vasiliy P. Melnik wrote:
On Thu, Jan 27, 2011 at 10:09:49PM -0800, Romildo Wildgrube wrote:
Roland,

I wan't to manage the users email addresses in LDAP but the interface only
supports the primary user's email address. How can add add aliases/secondary
email address for a user?

the simple way is add alias in /etc/aliases

user:  user,[email protected]

or configure MTA for getting aliases from LAM - Aliases


this is router for exim

ldap_aliases:
     driver = redirect
     domains = +local_domains
     allow_fail
     allow_defer
     data = ${lookup ldap{LDAP_DN_USER LDAP_DN_PASS
     
ldap:///LDAP_OU_ALIASES,LDAP_DC_BASE?rfc822MailMember?sub?(&(objectClass=nisMailAlias)(cn=${quote_ldap:$local_part}))}}
     file_transport = address_file
     pipe_transport = address_pipe

Example

User: Test User
Primary: [email protected]
sec: [email protected]
sec: [email protected]

Thanks,
Romi Wildgrube
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public


--
Romildo Wildgrube
Systems Operation Manager
Personal Capital Corp.
726 Main Street
Redwood City, CA 94063
Cel.: 650-430-2228

<<attachment: romildo.vcf>>

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to