Cyrus IMAP, sendmail and LDAP
aj at mindcrash.com
Thu Jul 8 15:49:11 EDT 2004
Well, because I read on various lists that if you don't use ldap_routing then
the cyrus mail server can become cluttered with various bounces and spoofed
sender addresses.. This way, sendmail will verify each user before accepting
delivery. I may try the other alternative via socket map.
What do you recommend?
Quoting Igor Brezac <igor at ypass.net>:
> On Thu, 8 Jul 2004, AJ wrote:
>> 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.
>> Thanks again for all of your help.
>> 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
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