View Single Post
  #7  
Old 6th February 2013, 09:41
maqsood22 maqsood22 is offline
Junior Member
 
Join Date: Jan 2013
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Details of "/etc/postfix/mysql*.cf" files are given below. Please guide me that have I made any mistake in these configuration files.

nano mysql-virtual_domains.cf
“user = mail_admin
password = mail_admin_password
dbname = mail
query = SELECT domain AS virtual FROM domains WHERE domain='%s'
hosts = 127.0.0.1 “

nano mysql-virtual_email2email.cf
“user = mail_admin
password = mail_admin_password
dbname = mail
query = SELECT email FROM users WHERE email='%s'
hosts = 127.0.0.1 “

nano mysql-virtual_forwardings.cf
“user = mail_admin
password = mail_admin_password
dbname = mail
query = SELECT destination FROM forwardings WHERE source='%s'
hosts = 127.0.0.1 “

nano mysql-virtual_mailboxes.cf
“ user = mail_admin
password = mail_admin_password
dbname = mail
query = SELECT CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'$
hosts = 127.0.0.1 “

nano mysql-virtual_transports.cf
“user = mail_admin
password = mail_admin_password
dbname = mail
query = SELECT transport FROM transport WHERE domain='%s'
hosts = 127.0.0.1 “
Reply With Quote