ispman/install-data/examples/postfix_configuration/with_cyrus_virtdomains ldap-canonical-maps.cf, NONE, 1.1.2.1 ldap-relay-domains.cf, NONE, 1.1.2.1 ldap-relay-recipient-maps.cf, NONE, 1.1.2.1 ldap-transport-maps.cf, NONE, 1.1.2.1 ldap-virtual-alias-maps.cf, NONE, 1.1.2.1 main.cf, NONE, 1.1.2.1 sasl_passwd, NONE, 1.1.2.1

Joerg Delker <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/install-data/examples/postfix_configuration/with_cyrus_virtdomains
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv11362/install-data/examples/postfix_configuration/with_cyrus_virtdomains

Added Files:
      Tag: dev_1_3-cyrus_virtdomain
	ldap-canonical-maps.cf ldap-relay-domains.cf 
	ldap-relay-recipient-maps.cf ldap-transport-maps.cf 
	ldap-virtual-alias-maps.cf main.cf sasl_passwd 
Log Message:
applied s0undt3ch's patch for cyrus virtudomain feature


--- NEW FILE: ldap-canonical-maps.cf ---
# ldap search for canonical_maps
version = 3
server_host = ldap.example.com
server_port = 389
search_base = o=ispman
query_filter = (&(objectclass=dnsdomain)(domaintype=replica)(mailacceptinggeneralid=%s))
result_attribute = maillocaladdress

--- NEW FILE: ldap-virtual-alias-maps.cf ---
# ldap search for virtual_alias_maps
version = 3
server_host = ldap.example.com
server_port = 389
search_base = o=ispman
query_filter = (|(mailLocalAddress=%s)(mailAlias=%s))
result_attribute = mailForwardingAddress, mailRoutingAddress

--- NEW FILE: ldap-transport-maps.cf ---
# ldap search for transport_maps
version = 3
server_host = ldap.example.com
server_port = 389
search_base = o=ispman
query_filter = (mailLocalAddress=%s)
result_attribute = mailHost
result_format = lmtp:[%s]

--- NEW FILE: ldap-relay-domains.cf ---
# ldap search for relay_domain
version = 3
server_host = ldap.example.com
server_port = 389
search_base = o=ispman
query_filter = (&(objectclass=ispmanDomain)(ispmanDomain=%s))
result_attribute = ispmanDomain

--- NEW FILE: main.cf ---
# your primary domain
mydomain = example.com
myorigin = $mydomain

# accept mail for this hosts/domains/networks (no virtual domains here!)
mydestination = $myhostname, localhost.$mydomain, $mydomain
mynetworks = $config_directory/mynetworks

# lokal aliases for your primary domain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

# optional canonical mapping (map replica domains to their master)
canonical_maps = ldap:/etc/postfix/ldap-canonical-maps.cf

# virtual_alias_maps
virtual_alias_maps = ldap:/etc/postfix/ldap-virtual-alias-maps.cf

# tell postfix about domains that we handle, both localy and those
# that we relay to other MTA's
relay_domains = ldap:/etc/postfix/ldap-relay-domains.cf

# Tell postfix how we route the mail for every domains/addresses we host
transport_maps = ldap:/etc/postfix/ldap-transport-maps.cf

# Tell postfix the addresses we handle localy
relay_recipient_maps = ldap:/etc/postfix/ldap-relay-recipient-maps.cf

# We need the following to be able to route to cyrus lmtp server
lmtp_sasl_auth_enable = yes
lmtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
lmtp_sasl_security_options = noanonymous

--- NEW FILE: ldap-relay-recipient-maps.cf ---
# ldap search for relay_recipient_maps
version = 3
server_host = ldap.example.com
server_port = 389
search_base = o=ispman
query_filter = (|(mailLocalAddress=%s)(mailAlias=%s))
# the result atribute can be anything except an empty value
result_attribute = mailRoutingAddress

--- NEW FILE: sasl_passwd ---
<mailstore_1_hostname>.<box_domain>.<tld> <cyrus_admin_defined_on_ispman.conf>:<pass_defined_on_ispman.conf>
<mailstore_2_hostname>.<box_domain>.<tld> <cyrus_admin_defined_on_ispman.conf>:<pass_defined_on_ispman.conf>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.