Post edited 11:17 am – December 19, 2009 by consultant
Hi Consultant.
Thanks for your reply.
I have configured my mail server as per your guide in CentOs. I have configured virtual domains. It's really wonderfull. but i have an bad experience with ldap config and vacation plugin add on.
As after configuring my squirrelmail is not showing any address either not showing any type of error. i didn't understand the meaning of your section. Popluate your directory…
To populate your directory, create a file similar to the one below and import it using ldapadd or better yet, use a GUI tool like JXplorer, a Java based LDAP browser.
dn: ou=People,dc=acme,dc=local
ou: People
objectClass: organizationalUnit
dn: uid=bugsbunny,ou=People,dc=acme,dc=local
uid: bugsbunny
cn: Bugs Bunny
displayName: Bugs Bunny
givenName: Bugs
sn: Bunny
objectClass: inetOrgPerson
userPassword: password
mail: bugsbunny@acme.local
I only want address book via ldap with virtual users no other things. as i also have to do dovecot configuration ??
And vacation i have configured my sql alias file but it's not working as i have already using mysql alias file of virtual users but it's not working. didn't undstand these lines.
If adding the vacation domain conflicts with your existing virtual_alias_maps, use recipient_bcc_maps instead and replace /etc/postfix/mysql-aliases.cf with the lines below.
host = localhost
user = postfix
password = your_password
dbname = postfix
table = vacation
select_field = email
where_field = email
additional_conditions = and active = '1'
result_format = %u@vacation.invalid
after configuring this i always get a bad reciepent mail from user. invalid host or destination. this error.
The mail system
<1#adilfahim.com@vacation.invalid> (expanded from <1@adilfahim.com>): Host or
domain name not found. Name service error for name=vacation.invalid type=A:
Host not found
Kindly tell me where i have mistaken.
Regards
Adil