1

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.

0

Ok after many hours spending time on this issue i finally found resolve:

Postfix trying read file :/etc/postfix/dynamicmaps.cf and can't, becouse have wrong permissions. I set new owners and modification permission resolve my problem.

chown root.root /etc/postfix/dynamicmaps.cf
chmod 640 /etc/postfix/dynamicmaps.cf

Maybe this answer will help somebody else.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.