R
R
romankulish52018-10-24 18:35:20
MySQL
romankulish5, 2018-10-24 18:35:20

How to enable mysql in postfix?

Hello!
Help me please. How to enable Mysql support in postfix? It seems to be installed and should work:

# dpkg -l | grep mysql
ii  default-mysql-server            1.0.2                                                              all          MySQL database server binaries and system database setup (metapackage)
ii  dovecot-mysql                   1:2.2.27-3+deb9u2                                                  amd64        secure POP3/IMAP server - MySQL support
ii  libdbd-mysql-perl               4.041-2                                                            amd64        Perl5 database interface to the MariaDB/MySQL database
ii  mysql-common                    5.8+1.0.2                                                          all          MySQL database common files, e.g. /etc/mysql/my.cnf
ii  mysql-server                    5.5.9999+default                                                   amd64        MySQL database server binaries and system database setup [transitional]
ii  php5.6-mysql                    5.6.38-2+0~20181015120829.6+stretch~1.gbp567807                    amd64        MySQL module for PHP
ii  postfix-mysql                   3.1.8-0+deb9u1                                                     amd64        MySQL map support for Postfix

But it's not here, so it doesn't work:
# 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

Another error in the logs:
postfix/smtpd[18413]: error: unsupported dictionary type: mysql

Maybe some kind of conflict with mariadb?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
AVKor, 2018-10-24
@AVKor

Here you can look.

R
Ruslan Fedoseev, 2018-10-24
@martin74ua

put iredmail

V
vanoc, 2018-10-24
@Zoro

Can be set up without MySQL

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question