Hi
I have a issue here, i have a postfix server that uses mapping files
to query the database.

In my senerio  i have a domain called niteshn.info. and i have a
mapping file in /etc/postfix called mysql_virtual_alias_maps.cf  which
ahs the following content -->
user = postfix
password = postfix
hosts = 127.0.0.1
dbname = postfix
query = SELECT goto FROM alias WHERE address='%s' AND active = 1

In my main.cf file i have a entry  ----->
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf


When i query  this database with the postmap command i get the following error :

postmap -q  -v "@niteshn.info"
mysql:/etc/postfix/mysql_virtual_alias_maps.cf (enter)
postmap: fatal: open database @niteshn.info.db: No such file or directory

how do i check is my mapping files work???


-- 
Warm Regards

Agnello . G .Dsouza

Reply via email to