Create an MX record in your DNS server with the IP of the server, to which you need to divert your mails to and then give the host's name in mailHost attribute of LDAP.
----- Original Message -----
From: "Dieter Kluenter" dieter@dkluenter.de
To: openldap-technical@openldap.org
Subject: Re: mail Routing thorugh openldap attribute
Date: Thu, 07 Aug 2008 14:18:31 +0200
"Aravind Arjunan" aravind.arjunan@gmail.com writes:
hi,
I had configured mailserver in postfix and integrated openldap with postfix.
All my users information is in openldap.
Now i need to route my mail for particular user to his respective mail box.
eg:
[...]
So when i send mail to user1 , it will first check the mail
address is correct or not from ldap entries
and check mailHost for the particular user and must go the
particular SMTP server where i had mentioned
in mailHost attribute in ldap.
But for me it is checking the mailHost attribute and i had
mentioned the IP of the SMTP server in my LDAP
for mailHost attribute.So for me it checks the mailHost attribute
and delivering the mail in the same
SMTP server by creating the IP as the username and droping the mail
Any body plz guide me home to route the mail to the particular user
.
http://www.postfix.org/LDAP_README.html
-Dieter
--
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6
53°08'09,95"N
10°08'02,42"E