Hello!
I have FreeBSD 7.4 with postfix 2.4.5. Also I have OpenLDAP 2.3.38.
When I am trying to use aliases, for example, like this two@company.com.
in /etc/mail/aliases I get message from MAILER-IDAEMON@mail.company.com with topic "Undelivered Mail Returned to Sender".
The mail system
But actually I create user two in OpenLDAP.
In file /etc/mail/aliases there is string
And in postfix config
And then I did
I read http://www.postfix.org/VIRTUAL_README.html#virtual_alias and
http://www.postfix.org/ADDRESS_REWRITING_README.html but I didn't understand what I do not correctly.
Output of postconf in the attached file.
I have FreeBSD 7.4 with postfix 2.4.5. Also I have OpenLDAP 2.3.38.
When I am trying to use aliases, for example, like this two@company.com.
in /etc/mail/aliases I get message from MAILER-IDAEMON@mail.company.com with topic "Undelivered Mail Returned to Sender".
The mail system
Code:
<two@company.com>: user unknown
In file /etc/mail/aliases there is string
Code:
two: user1, user2
And in postfix config
Code:
alias_maps = hash:/etc/mail/aliases
alias_database = hash:/etc/mail/aliases
# postalias /etc/mail/aliases
I read http://www.postfix.org/VIRTUAL_README.html#virtual_alias and
http://www.postfix.org/ADDRESS_REWRITING_README.html but I didn't understand what I do not correctly.
Output of postconf in the attached file.