Dovecot 1.2.10 fails to start
Mark Hattam
mark at dxradio.demon.co.uk
Fri Feb 5 10:01:03 PST 2010
sudo port upgrade'd Dovecot to 1.2.10 from 1.1.16
upgrade appeared to go OK, but then found Dovecot 1.2.10 unable to start up
Feb 5 17:39:42 iMac com.apple.launchd[1] (org.macports.dovecot[389]): Exited with exit code: 2
Feb 5 17:39:42 iMac org.macports.dovecot[401]: Error: Error in configuration file /opt/local/etc/dovecot/dovecot.conf line 87: Unknown setting: ssl_disable
Feb 5 17:39:42 iMac org.macports.dovecot[401]: Fatal: Invalid configuration in /opt/local/etc/dovecot/dovecot.conf
OK ... that's easy to change ... compare with dovecot-example.conf and notice the subtle change
less dovecot-example.conf
# SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
#ssl = yes
less dovecot.conf
# Disable SSL/TLS support.
ssl_disable = yes
So comment out the
ssl_disable line and add the ssl line (with no)
HOWEVER, that just led to this error
Feb 5 17:44:12 iMac com.apple.launchd[1] (org.macports.dovecot[448]): Exited with exit code: 2
Feb 5 17:44:12 iMac org.macports.dovecot[462]: Last died with error (see error log for more information): Socket already exists: /opt/local/var/run/dovecot/dict-server
Feb 5 17:44:12 iMac dovecot[464]: Fatal: Socket already exists: /opt/local/var/run/dovecot/dict-server
But the error log just says the same thing
Feb 5 17:44:12 iMac dovecot[464]: Dovecot v1.2.10 starting up (core dumps disabled)
Feb 5 17:44:12 iMac dovecot[464]: Fatal: Socket already exists: /opt/local/var/run/dovecot/dict-server
Googling the error, suggests that this is a known problem with a patch in Oct 2008
But how to apply the patch?
[Gone back to 1.1.16 so I can write this]
Mark
More information about the macports-users
mailing list