Re: Problem selecting Imap based on Ldap information!

Nore Eriksson <[email protected]> Wed, 18 Jul 2012 15:42:34 +0200
Newsgroups gmane.mail.perdition.user
Message-ID <[email protected]>
Hej Mats.

I have a similar setup as you request for.

I use the ldap plugin to search for the "real" mailbox
adress.
the way I do it, is with map_library and map_library_opt in
perdition.conf.
I use the same config for IMAP IMAPS, POP3 and POP3S


map_library_opt
"ldap://192.168.0.100/o=mailsystem?mailLocalAddress?sub?(mail=%25s)"

this will return the address of mailLocalAdress field.. ie.
[email protected]

	/Regards Nore

On Wed, Jul 18, 2012 at 12:56:55PM +0000, Mats Ã…kerberg wrote:
> Hi!
> 
> I'm looking into perdition for a small case we have.
> 
> We would like to use perdition as a frontend for IMAP and only IMAP to choose between two system based on information in a OpenLdap database.
> 
> The  information is in a object called "mailrouteaddress" and can be one of two  [email protected] or [email protected]
> Hence I don't have an object just containing the systename.
> 
> Is there a way to parse the domainname from the object above?
> (In pop I could use popmap I guess but I only need this for IMAP).
> 
> Regards
> 
>      /Mats
> 
> 
> ______________________________________________
> Perdition-users mailing list
> [email protected]
> http://lists.vergenet.net/listinfo/perdition-users
> 
______________________________________________
Perdition-users mailing list
[email protected]
http://lists.vergenet.net/listinfo/perdition-users