JingGuo Gan :
Postfix mail server was working but after reinstall the MySQL server, the Postfix Mail Server is not working. This is the var/log/mail.log file
mysql:/etc/postfix/mysql_virtual_alias_maps.cf is unavailable.
unsupported dictionary type: mysql
Feb 25 11:51:46 mail postfix/cleanup[8607]: warning:
proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf lookup error for "[email protected]"
Feb 25 11:51:46 mail postfix/cleanup[8607]: warning: 60F7F9AC01A: virtual_alias_maps map lookup
problem for [email protected] -- message not accepted, try again later
how can I fix this problem?
mingming :
Maybe you need to redefine mysql user like following.
/etc/postfix/mysql_sender_login_maps.cf
user = username
password= password
hosts=localhost
dbname=postfix
query = SELECT username From mailbox WHERE username='%s'
Also, in /etc/postfix/sql , you need to init password in all .cf config files.