|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
michel
casa.co.cu
Date: Fri Aug 28 2009 - 20:37:02 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Victor Duchovni <Victor.Duchovni
morganstanley.com> ha escrito:
> On Fri, Aug 28, 2009 at 10:58:56AM -0400, Michel Bulgado wrote:
>
>> On Fri, 2009-08-28 at 10:48 -0400, Michel Bulgado wrote:
>> > Hello
>> >
>> > Using postfix-2.3.3-2.1 + with virtual accounts active directory to make
>> > the search for my users.
>> >
>> > I wonder if it is possible to declare more than one ldap server in
>> > postfix, for if it fails then postfix ldap1 continue doing searches on
>> > LDAP2.
>> >
>> >
>> > failover?
>> > Redundancy?
>> >
>> > Thanks
>> >
>> > Michel
>> >
>> >
>>
>> Sorry , this is my config
>>
>> accounts_server_host = ldap://server1.home.com:389,
>> ldap://server2.home.com:389
>> accounts_search_base = ou=home,dc=com
>> accounts_query_filter =
>> (&(objectClass=user)(!(objectClass=computer))(mail=%s))
>> accounts_result_filter = %d/%u/
>> accounts_result_attribute = mail
>> accounts_bind = yes
>> accounts_bind_dn = cn=conector,cn=Users,dc=home,dc=com
>> accounts_bind_pw = ***********
>>
>>
>> I test but don't work
> ^^^^^^^^^^
>
> You could elaborate on this description of the problem. The level of
> detail could be greater.
>
> Multiple servers in a single LDAP table are not a mechanism to extend
> searches over multiple LDAP databases when records are not found in the
> first database. Rather the second server is only used when connections
> to the first server cannot be established.
>
> If you want to stack LDAP databases, use multiple LDAP tables in
>
> alias_maps
> virtual_alias_maps
> generic_maps
> ...
>
> With multiple tables, each table is consulted in turn until one matches.
>
> --
> Viktor.
For more details of my problem, when the server is not responding
ldap1 by technical problems, Postfix rejects all email me saying that
the mailbox does not exist, when the user exists.
Recipient address rejected: User unknown in virtual mailbox table
So nagios began to warn that the SMTP service did not respond at
intervals, making access to the server slow.
alias_maps = hash: /etc/aliases
virtual_alias_maps = hash: /etc /postfix/virtual_alias
virtual_mailbox_maps = ldap: accounts
I have many tables as you can see, but are not equal between them,
each serves a purpose. then do you recommend?
Greetings
Michel
----------------------------------------------
Webmail, servicio de correo electronico
Casa de las Americas - La Habana, Cuba.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]