LDAP attribute format
Jim Tyrrell <[email protected]>
| Newsgroups | gmane.mail.perdition.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have just been looking at using perdition as part of a mail migration between multiple POP3 servers and have it working well with LDAP. At the moment I have it configured to lookup against the domain part of the user login and have temporarily added the following attribute to the domain object in LDAP: mailhost=192.168.10.81 That works, but I would like to use an existing attribute that already exists and wouldnt require manually editing the LDAP object everytime a domain was updated. The problem is this attribute is in the format of: mailtransport=nexthop:[mda-clusterX.domain.com] So my query is returning "nexthop:[mdaX.domain.com]". Is there anyway to get ldap/perdition to retrieve the part of the result thats in the [] brackets? If I could use that part of the LDAP attribute I would only need to add an entry to the hosts file so that it would use the POP3 server that corresponds with the Mail Delivery server in that attribute? If theres a trick to accimplish that it would save me alot of work. :) Thanks. Jim. ______________________________________________ Perdition-users mailing list [email protected] http://lists.vergenet.net/listinfo/perdition-users