Subject: The mailing list for listmasters using Sympa
List archive
- From: Davide Ferrari <address@concealed>
- To: address@concealed
- Subject: [sympa-users] Sympa, LDAP and postfix
- Date: Tue, 30 May 2006 11:43:49 +0200
Hi
I'm trying to configure Sympa with LDAP support on a postfix installation
with
virtual domains and LDAP support.
I've currently Sympa and wwwsympa running and working, correctly created a ML
with wwwsympa, correctly added ML aliases to LDAP with ldap_alias_manager.pl
and I can send mails to ML addresses...the only problem is delivery: it's
done to the Maildir directory, as it was a normal user (so,
to /home/vmail/domains/mylist/Maildir/new), I can't get postfix to run the
program specified in deliveryProgramPath.
this is the relevant main.cf part, what am I missing? I know I should put
somewhere the configuration to retrieve deliveryProgramPath, but where? is it
an alias? is it something different?
virtual_transport = virtual
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail/domains
virtual_mailbox_maps = ldap:accounts,ldap:alternate
virtual_mailbox_domains = example.com,bookmequick.com,discount25.com
virtual_alias_maps = ldap:aliases
mydestination = $myhostname
aliases_server_host = ldap.example.com
aliases_search_base = o=example
aliases_query_filter = (&(objectClass=qmailUser)(mail=%s)
(accountStatus=active))
aliases_result_attribute = mailForwardingAddress
aliases_scope = sub
aliases_cache = yes
aliases_bind = no
aliases_version = 3
accounts_server_host = ldap.example.com
accounts_search_base = o=example
accounts_query_filter = (&(objectClass=qmailUser)(mail=%s)
(accountStatus=active))
accounts_result_attribute = uid
accounts_result_format = %s/Maildir/
accounts_scope = sub
accounts_cache = yes
accounts_bind = no
accounts_version = 3
## Accounts with alternatemail emails
alternate_server_host = ldap.example.com
alternate_search_base = o=example
alternate_query_filter = (&(objectClass=qmailUser)(mailAlternateAddress=%s)
(accountStatus=active))
alternate_result_attribute = mailMessageStore
alternate_result_format = %s/Maildir/
alternate_scope = sub
alternate_cache = yes
alternate_bind = no
alternate_version = 3
--
Davide Ferrari
System Administrator
example.com
- [sympa-users] Sympa, LDAP and postfix, Davide Ferrari, 05/30/2006
Archive powered by MHonArc 2.6.19+.