We have not configured any virtual domains.

Output of postconf -n:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/postfix/aliases, ldap:/etc/postfix/ldap.cf
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = <domain name>
myhostname = <host name>
mynetworks = 127.0.0.0/8, <LAN network>
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550

Regards
Priscilla

-----Original Message-----
From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] 
On Behalf Of Nikolaos Milas
Sent: Wednesday, March 28, 2012 1:25 PM
To: postfix-users@postfix.org
Subject: Re: Postfix delivery to openldap users

On 28/3/2012 10:44 πμ, Priscilla V wrote:

> Here is the configuration included to lookup openldap users in main.cf.
>
> alias_maps = hash:/etc/postfix/aliases, ldap:/etc/postfix/ldap.cf
>

Place your lookup tables in the following settings: virtual_alias_maps (for 
aliases) and virtual_mailbox_maps (for users).

Make sure you have configured correctly: virtual_mailbox_domains and 
virtual_mailbox_base

Post the output of postconf -n

Read: http://www.postfix.org/VIRTUAL_README.html

Nick

Reply via email to