Basically I follow this tutorial: https://www.linode.com/docs/email/postfix/email-with-postfix-dovecot-and-mysql
My problems strated with first test Postfix.
postconf -m
postconf: warning: /etc/postfix/dynamicmaps.cf: file is owned or writable by non-root users -- skipping this file
btree
cidr
environ
fail
hash
inline
internal
memcache
nis
pipemap
proxy
randmap
regexp
socketmap
static
tcp
texthash
unionmap
unix
It's look like i forgot install postfix-mysql but when i try again install i get:
postfix-mysql is already the newest version (3.1.0-3).
postmap -q example.com mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
postmap: warning: /etc/postfix/dynamicmaps.cf: file is owned or writable by non-root users -- skipping this file
postmap: fatal: unsupported dictionary type: mysql
All files .cf look like in tutorial. For mysql-* config files i set owner and group "postfix".
Any idea?
Edit:
In my case i have installed postfix-mysql.