Cyrus IMAP, sendmail and LDAP

Igor Brezac igor at ipass.net
Thu Jul 8 15:20:52 EDT 2004


On Thu, 8 Jul 2004, AJ wrote:

> John,
>   Thanks, everything is up and running now, but I have one final question...
> Is it possible for sendmail to check the alias file or virtusertable before
> doing an ldap lookup.  I am not ready to move these into ldap and I want to
> preserve them.

If you are already using virtusertable, why do you bother setting up
ldap_routing?  You can just setup an ldap based virtusertable map.

-Igor

> Thanks again for all of your help.
>
> AJ
>
> Quoting John Andrews <johna at stjoelive.com>:
>
> > You will want to have something similar to this for ldap_routing.
> >
> > FEATURE(`ldap_routing', `ldap -1 -T<TMPF> -v mailHost -k
> > (mailLocalAddress=%0)', `ldap -1 -T<TMPF> -v mailRoutingAddress -k
> > (mailRoutingAddress=%0)', `bounce', `preserve')dnl
> >
> > http://www.sendmail.org/m4/ldap_routing.html
> >
> >> # LDAP Related
> >> FEATURE(`ldap_routing')
> >> LDAPROUTE_DOMAIN(`panther.mydomain.com')
> >> define(`confLDAP_DEFAULT_SPEC', `-h localhost -b
> >> ou=Users,dc=mydomain,dc=com')
> >
> > --
> >
> > John Andrews
> > Systems Administrator
> > NPG Cable, Inc.
> > (816) 273-0337
> > johna at npgco.com
>
>
>
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>

-- 
Igor
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list