Thanks to Nore
I got it to work
Regards
/Mats
-----Ursprungligt meddelande-----
Från: perdition-users-bounces(a)vergenet.net [mailto:perdition-users-bounces@vergenet.net]
För Nore Eriksson
Skickat: den 18 juli 2012 15:43
Till: perdition-users(a)vergenet.net
Ämne: Re: [PERDITION-USERS] Problem selecting Imap based on Ldap information!
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.
real.username(a)backendserver1.mailserver.example.org
/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 user(a)box.domain.com or user(a)xob.domain.com 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
Perdition-users(a)vergenet.net
http://lists.vergenet.net/listinfo/perdition-users
______________________________________________
Perdition-users mailing list
Perdition-users(a)vergenet.net
http://lists.vergenet.net/listinfo/perdition-users