Postfix with Ldap!
hi at all, I trying to configure Postfix with Ldap(fedora ds), but I have some problem about configuration...I read a lot of doc but there are many parameters and I'm a newbe in Postfix Configuration...my goal is to configure Postfix to send mail from users listed in ldap and maintaining their mailbox in maildir format in a vmail directory!...unfortunately it seems doesn't working....below is my conf about main.cf and virtual.cf
Any help is greatly appreciated!
Alex
*******MAIN.CF*********
queue_directory= /var/spool/postfix
command_directory= /usr/sbin
mail_owner= postfix
myhostname= mail.domain.example.com
mydomain= domain.example.com
myorigin= $mydomain
inet_interface= $myhostname, localhost
mydestination= $myhostname, localhost.$mydomain, localhost, $mydomain
unknown_localrecipient_reject_code= 550
mynetworks_style= subnet
mynetworks=192.168.1.0/24, 127.0.0/8
relay_domains= $mydestination
alias_maps= hash:/etc/aliases
virtual_alias_maps= ldap:/etc/postfix/virtual.cf
virtual_mailbox_base= /
virtual_mailbox_maps= /etc/postfix/vmail
alias_database= hash:/etc/aliases
*********VIRTUAL.CF*********
bind=no
server_host= ldap://ldap1.domain.example.com ldap://ldap2.domain.example.com
search_base= ou=people, dc=domain, dc=example, dc=com
scope= sub
query_filter= (mail=%s)
result_attribute= maildrop
special_result_filter= $s@%d
|