[Dovecot] Deliver - Virtual users - [SOLVED]
Tobias Balle-Petersen
tbp at kontrapunkt.com
Fri Feb 22 14:30:01 EET 2008
Hello...
As Charles Marcus said, my problem is with postfix, not dovecot.
I have solved my problem like this:
1. Create file /etc/postfix/ldap/local_recipients.cf with content:
bind = no
server_host = ldap://192.168.0.51:389
search_base = cn=users,dc=yoiko,dc=local,dc=kontrapunkt,dc=dk
query_filter = (uid=%u)
result_attribute = uid
2. Added the below to /etc/postfix/main.cf:
local_recipient_maps = proxy:ldap:/etc/postfix/ldap/local_recipients.cf
Postfix now rejects mail to users not in my LDAP database (No uid matching the recipient with the
domain stripped off.)
Tobias
More information about the dovecot
mailing list