LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 02-12-2017, 09:41 AM   #1
rhinolt
Member
 
Registered: Jan 2017
Posts: 30

Rep: Reputation: Disabled
postfix+dovecot+mariadb+postfixadmin failure


system is CentOS7,trying set up a mail server with
postfix+dovecot+cyrus+mariadb+postfixadmin

systemctl restart postfix
systemctl restart dovecot
systemctl restart saslauthd
systemctl restart mariadb
telnet server.example.com 110

Code:
Feb 12 10:36:56 server.example.com systemd[1]: Started Postfix Mail Transport Agent.
Feb 12 10:36:56 server.example.com postfix/proxymap[88766]: error: unsupported dictionary type: mysql
Feb 12 10:36:56 server.example.com postfix/proxymap[88766]: error: unsupported dictionary type: mysql
Feb 12 10:36:56 server.example.com postfix/proxymap[88766]: error: unsupported dictionary type: mysql
Feb 12 10:36:56 server.example.com postfix/pickup[88760]: warning: 35CF76160425: message has been queued for 2 days
Feb 12 10:36:56 server.example.com postfix/pickup[88760]: 35CF76160425: uid=0 from=<root>
Feb 12 10:36:56 server.example.com postfix/proxymap[88766]: error: unsupported dictionary type: mysql
Feb 12 10:36:56 server.example.com postfix/proxymap[88766]: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf is unavailable. unsupported dictionary type: mysql
Feb 12 10:36:56 server.example.com postfix/cleanup[88765]: warning: proxy:mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf lookup error for "root@example.com"
Feb 12 10:36:56 server.example.com postfix/cleanup[88765]: warning: 35CF76160425: virtual_alias_maps map lookup problem for root@example.com -- message not accepted, try again later
Code:
Feb 12 10:36:52 server.example.com systemd[1]: Starting Dovecot IMAP/POP3 email server...
Feb 12 10:36:52 server.example.com systemd[1]: Started Dovecot IMAP/POP3 email server.
Feb 12 10:36:59 server.example.com dovecot[88668]: auth: Fatal: Unknown database driver 'mysql'
Feb 12 10:36:59 server.example.com dovecot[88662]: master: Error: service(auth): command startup failed, throttling for 2 secs
Code:
Feb 12 10:36:43 server.example.com systemd[1]: Starting SASL authentication daemon....
Feb 12 10:36:43 server.example.com saslauthd[88408]: detach_tty      : master pid is: 88408
Feb 12 10:36:43 server.example.com saslauthd[88408]: ipc_init        : listening on socket: /var/run/saslauthd/mux
Feb 12 10:36:43 server.example.com systemd[1]: Started SASL authentication daemon..
Code:
Feb 12 10:36:46 server.example.com systemd[1]: Starting MariaDB database server...
Feb 12 10:36:47 server.example.com mysqld_safe[88455]: 170212 10:36:47 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'.
Feb 12 10:36:47 server.example.com mysqld_safe[88455]: 170212 10:36:47 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Feb 12 10:36:49 server.example.com systemd[1]: Started MariaDB database server.
 
Old 02-23-2017, 10:34 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,757

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by rhinolt View Post
system is CentOS7,trying set up a mail server with
postfix+dovecot+cyrus+mariadb+postfixadmin

systemctl restart postfix
systemctl restart dovecot
systemctl restart saslauthd
systemctl restart mariadb
telnet server.example.com 110

Code:
Feb 12 10:36:56 server.example.com systemd[1]: Started Postfix Mail Transport Agent.
Feb 12 10:36:56 server.example.com postfix/proxymap[88766]: error: unsupported dictionary type: mysql
Feb 12 10:36:56 server.example.com postfix/proxymap[88766]: error: unsupported dictionary type: mysql
Feb 12 10:36:56 server.example.com postfix/proxymap[88766]: error: unsupported dictionary type: mysql
Feb 12 10:36:56 server.example.com postfix/pickup[88760]: warning: 35CF76160425: message has been queued for 2 days
Feb 12 10:36:56 server.example.com postfix/pickup[88760]: 35CF76160425: uid=0 from=<root>
Feb 12 10:36:56 server.example.com postfix/proxymap[88766]: error: unsupported dictionary type: mysql
Feb 12 10:36:56 server.example.com postfix/proxymap[88766]: warning: mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf is unavailable. unsupported dictionary type: mysql
Feb 12 10:36:56 server.example.com postfix/cleanup[88765]: warning: proxy:mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf lookup error for "root@example.com"
Feb 12 10:36:56 server.example.com postfix/cleanup[88765]: warning: 35CF76160425: virtual_alias_maps map lookup problem for root@example.com -- message not accepted, try again later
Code:
Feb 12 10:36:52 server.example.com systemd[1]: Starting Dovecot IMAP/POP3 email server...
Feb 12 10:36:52 server.example.com systemd[1]: Started Dovecot IMAP/POP3 email server.
Feb 12 10:36:59 server.example.com dovecot[88668]: auth: Fatal: Unknown database driver 'mysql'
Feb 12 10:36:59 server.example.com dovecot[88662]: master: Error: service(auth): command startup failed, throttling for 2 secs
Code:
Feb 12 10:36:43 server.example.com systemd[1]: Starting SASL authentication daemon....
Feb 12 10:36:43 server.example.com saslauthd[88408]: detach_tty      : master pid is: 88408
Feb 12 10:36:43 server.example.com saslauthd[88408]: ipc_init        : listening on socket: /var/run/saslauthd/mux
Feb 12 10:36:43 server.example.com systemd[1]: Started SASL authentication daemon..
Code:
Feb 12 10:36:46 server.example.com systemd[1]: Starting MariaDB database server...
Feb 12 10:36:47 server.example.com mysqld_safe[88455]: 170212 10:36:47 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'.
Feb 12 10:36:47 server.example.com mysqld_safe[88455]: 170212 10:36:47 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Feb 12 10:36:49 server.example.com systemd[1]: Started MariaDB database server.
You don't say how you installed Postfix, but the version in the stock CentOS repos is not compiled with the MySQL driver, as the error clearly says. Enable the 'centosplus' repository
https://wiki.centos.org/AdditionalRe...ies/CentOSPlus

...and re-install postfix. Before that, have you run "postconf -n" to see if MySQL support is present/configured? Did you check any of the how-to guides?
https://www.linode.com/docs/email/po...db-on-centos-7
 
  


Reply

Tags
centos7, dovecot, postfix postfixadmin



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix, dovecot, squirrelmail, postfixadmin, mysql fmkangazi Linux - Server 2 01-31-2013 05:49 PM
Postfix, Dovecot, Postfixadmin and Vacation (auto Response) problems.. Patric.F Linux - Server 2 02-18-2010 01:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 08:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration