Prev: postfix 2.3.x vs postfix 2.6 stable
Next: Block BCC
From: Wietse Venema on 11 Oct 2009 15:47 Roland de Lepper: [ Charset ISO-8859-1 unsupported, converting... ] > Hi Wietse, > > I only have one (1) main.cf file in /etc/postfix. > > [root(a)euzarafa postfix]# find / -name main.cf -ls > 5079460 32 -rw-r--r-- 1 root root 28178 Oct 11 19:45 > /etc/postfix/main.cf > [root(a)euzarafa postfix]# > > Indeed, that's what I've read in the man page to use 'version = 3' parameter. > > Here is a short copy of my main.cf file: > > zarafa_destination_recipient_limit = 1 > ##virtual_transport = zarafa: > virtual_transport = lmtp:127.0.0.1:2003 > # > virtual_mailbox_domains = cvislabs.eu > # > virtual_mailbox_maps = ldap:ldap-users > ldap-users_server_host = ldaps://eumicrosoft.cvislabs.eu:636 > ##ldap-users_server_host = ldap://eumicrosoft.cvislabs.eu > tls_ca_cert_file = /etc/ssl/certs/eumicrosoft.pem > ldap-users_bind_dn = cn=roland,ou=Zarafa,dc=cvislabs,dc=eu > ldap-users_bind_pw = XXXXXX > ldap-users_search_base = ou=Zarafa,dc=cvislabs,dc=eu > version = 3 Hey, RTFM the ldap_table manpage BACKWARDS COMPATIBILITY For backwards compatibility with Postfix version 2.0 and earlier, LDAP parameters can also be defined in main.cf. Specify as LDAP source a name that doesn't begin with a slash or a dot. The LDAP parameters will then be accessible as the name you've given the source in its def- inition, an underscore, and the name of the parameter. For example, if the map is specified as "ldap:ldapsource", the "server_host" parameter below would be defined in main.cf as "ldapsource_server_host". Wietse |