[SOLVED] Postfix updated by CentOS and doesn't support MySQL anymore
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
3. install postfix from the centosplus repo. it understands mysql:
Code:
yum --enablerepo=centosplus install postfix
Now outgoing messages that were stuck in queue were delivered, but incoming messages to our domains are still in queue.
This is what I get in the error log:
Code:
May 27 14:07:31 sip postfix/proxymap[2179]: fatal: unsupported dictionary type: mysql
May 27 14:07:32 sip postfix/smtpd[1911]: warning: premature end-of-input on private/proxymap socket while reading input attribute name
May 27 14:07:32 sip postfix/trivial-rewrite[1821]: warning: premature end-of-input on private/proxymap socket while reading input attribute name
May 27 14:07:32 sip postfix/smtpd[1911]: warning: private/proxymap socket: service dict_proxy_open: Connection reset by peer
May 27 14:07:32 sip postfix/trivial-rewrite[1821]: warning: private/proxymap socket: service dict_proxy_open: Success
May 27 14:07:32 sip postfix/master[1759]: warning: process /usr/libexec/postfix/proxymap pid 2179 exit status 1
May 27 14:07:32 sip postfix/master[1759]: warning: /usr/libexec/postfix/proxymap: bad command startup -- throttling
May 27 14:08:32 sip postfix/proxymap[2183]: fatal: unsupported dictionary type: mysql
May 27 14:08:33 sip postfix/trivial-rewrite[1821]: warning: premature end-of-input on private/proxymap socket while reading input attribute name
May 27 14:08:33 sip postfix/smtpd[1911]: warning: premature end-of-input on private/proxymap socket while reading input attribute name
May 27 14:08:33 sip postfix/smtpd[1911]: warning: private/proxymap socket: service dict_proxy_open: Success
May 27 14:08:33 sip postfix/trivial-rewrite[1821]: warning: private/proxymap socket: service dict_proxy_open: Connection reset by peer
May 27 14:08:33 sip postfix/master[1759]: warning: process /usr/libexec/postfix/proxymap pid 2183 exit status 1
May 27 14:08:33 sip postfix/master[1759]: warning: /usr/libexec/postfix/proxymap: bad command startup -- throttling
May 27 14:08:33 sip dovecot: auth-worker(default): mysql: Connected to 127.0.0.1 (postfix)
MySQL is missing from the postconf. How do I enable it? It makes sense that outgoing emails work now, but incoming doesn't recognize the destinations, as the domains and mailboxes are listed in the db.
ok, the postfix you're running did not come from centosplus. something went wrong with
step2, above. please cut and paste /etc/yum.repos.d/CentOS-Base.repo
ok, the postfix you're running did not come from centosplus. something went wrong with
step2, above. please cut and paste /etc/yum.repos.d/CentOS-Base.repo
You're right. I probably didn't save the changes. I ran the whole thing again and everything works just fine. messages are coming and going
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.