LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-05-2009, 09:28 PM   #1
Brandon.Wamboldt
Member
 
Registered: Apr 2009
Posts: 30

Rep: Reputation: 15
Postfix broke after update, please help!


I am running CentOS and ran yum's update service today. Postfix is now broken. I don't see anything in any log files and have no clue what to do. What should I do?

After this I am switching to qmail or something, postfix is always breaking

Postfix is setup to use Courier Imap for MySQL authentication (I think)

Also when running telnet localhost 25 nothing shows up

Apparently my system logger was misconfigured, after fixing the issue I found this in my maillog

Code:
Dec  5 21:57:03 cl-t112-271cl postfix/postfix-script: stopping the Postfix mail system
Dec  5 21:57:03 cl-t112-271cl postfix/master[27451]: terminating on signal 15
Dec  5 21:57:04 cl-t112-271cl postfix/postfix-script: warning: group or other writable: /etc/postfix/./smtpd.key
Dec  5 21:57:04 cl-t112-271cl postfix/postfix-script: warning: group or other writable: /etc/postfix/./mysql-virtual_mailboxes.cf
Dec  5 21:57:04 cl-t112-271cl postfix/postfix-script: warning: group or other writable: /etc/postfix/./mysql-virtual_email2email.cf
Dec  5 21:57:04 cl-t112-271cl postfix/postfix-script: warning: group or other writable: /etc/postfix/./master.cf.rpmsave
Dec  5 21:57:04 cl-t112-271cl postfix/postfix-script: warning: group or other writable: /etc/postfix/./mysql-virtual_mailbox_limit_maps.cf
Dec  5 21:57:04 cl-t112-271cl postfix/postfix-script: warning: group or other writable: /etc/postfix/./mysql-virtual_forwardings.cf
Dec  5 21:57:04 cl-t112-271cl postfix/postfix-script: warning: group or other writable: /etc/postfix/./mysql-virtual_domains.cf
Dec  5 21:57:04 cl-t112-271cl postfix/postfix-script: warning: group or other writable: /etc/postfix/./prng_exch
Dec  5 21:57:04 cl-t112-271cl postfix/postfix-script: warning: group or other writable: /etc/postfix/./smtpd.cert
Dec  5 21:57:04 cl-t112-271cl postfix/postfix-script: warning: group or other writable: /etc/postfix/./mysql-virtual_transports.cf
Dec  5 21:57:04 cl-t112-271cl postfix/postfix-script: warning: group or other writable: /etc/postfix/./smtpd.pem
Dec  5 21:57:04 cl-t112-271cl postfix/postfix-script: starting the Postfix mail system
Dec  5 21:57:04 cl-t112-271cl postfix/master[27615]: daemon started -- version 2.3.3, configuration /etc/postfix
Dec  5 21:57:04 cl-t112-271cl postfix/qmgr[27617]: 834637F800D: from=<vmail@cl-t112-271cl.privatedns.com>, size=3039, nrcpt=1 (queue active)
Dec  5 21:57:04 cl-t112-271cl postfix/proxymap[27620]: fatal: unsupported dictionary type: mysql
Dec  5 21:57:05 cl-t112-271cl postfix/trivial-rewrite[27618]: warning: premature end-of-input on private/proxymap socket while reading input attribute name
Dec  5 21:57:05 cl-t112-271cl postfix/trivial-rewrite[27618]: warning: private/proxymap socket: service dict_proxy_open: Success
Dec  5 21:57:05 cl-t112-271cl postfix/master[27615]: warning: process /usr/libexec/postfix/proxymap pid 27620 exit status 1
Dec  5 21:57:05 cl-t112-271cl postfix/master[27615]: warning: /usr/libexec/postfix/proxymap: bad command startup -- throttling
Dec  5 21:58:05 cl-t112-271cl postfix/proxymap[27627]: fatal: unsupported dictionary type: mysql
Dec  5 21:58:06 cl-t112-271cl postfix/trivial-rewrite[27618]: warning: premature end-of-input on private/proxymap socket while reading input attribute name
Dec  5 21:58:06 cl-t112-271cl postfix/trivial-rewrite[27618]: warning: private/proxymap socket: service dict_proxy_open: Success
Dec  5 21:58:06 cl-t112-271cl postfix/master[27615]: warning: process /usr/libexec/postfix/proxymap pid 27627 exit status 1
Dec  5 21:58:06 cl-t112-271cl postfix/master[27615]: warning: /usr/libexec/postfix/proxymap: bad command startup -- throttling
Remember, postfix worked fine before the update. The important line is fatal: unsupported dictionary type: mysql

Last edited by Brandon.Wamboldt; 12-05-2009 at 10:21 PM.
 
Old 12-06-2009, 08:53 AM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Quote:
After this I am switching to qmail or something, postfix is always breaking
qmail will not make you a better sysadmin. Where did you get the previous
version of postfix? The one that's in the base/updates repo doesn't have mysql support.
The one in centosplus does. If that's what you used previously, you can delete what you
have and do a
Code:
yum --disablerepo=* --enablerepo=centosplus install postfix
Prevent this problem from happening again by editing /etc/yum.repos.d/CentOS-Base.repo:
Code:
[base]
name=CentOS-$releasever - Base
...
exclude=postfix*

[updates]
name=CentOS-$releasever - Updates
...
exclude=postfix*
 
Old 12-06-2009, 09:41 AM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Start with removing write permission from group and other from all the files mentioned near "group or other writable".
 
  


Reply



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
Ubuntu last update broke sg module ~zoey~ Linux - Newbie 2 09-03-2009 08:24 PM
emacs broke after update zzyxx Ubuntu 2 09-05-2007 05:06 AM
update to enlightenment broke it, on ubuntu 7.04 AceofSpades19 Ubuntu 1 07-24-2007 08:48 AM
Yum update broke X server :( edd8990 Fedora 12 11-01-2006 07:03 PM
Xorg broke after update to current coffeedemon Slackware 1 11-10-2004 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:43 AM.

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