[BlueOnyx:07500] Re: Install tarball on RaQ4r

Michael Stauber mstauber at blueonyx.it
Sun Jun 19 12:34:29 -05 2011


Hi Jeff,

> dovecot is unaffected. There is a suspicious comment when I restart dovecot
> manually that I don't see on my other BO box. Did a config file not get
> copied? This is after a setting change in the GUI and seeing the listener
> not running:
> 
> [root at raq init.d]# service dovecot restart
> Stopping Dovecot Imap:                                     [FAILED]
> Starting Dovecot Imap: Info: If you have trouble with authentication
> failures, enable auth_debug setting. See
> http://wiki.dovecot.org/WhyDoesItNotWork

I just checked. The dovecot RPM brings aboard its /etc/dovecot.conf. During 
RPM install we just run this post install modifications of it:

/usr/bin/perl -pi -e "s|#auth_cache_size.*|auth_cache_size = 1024|;" 
/etc/dovecot.conf

/usr/bin/perl -pi -e "s|#auth_cache_ttl.*|auth_cache_ttl = 3600|;" 
/etc/dovecot.conf

/usr/bin/perl -pi -e "s|^#disable_plaintext_auth.*|disable_plaintext_auth = 
no|;" /etc/dovecot.conf

/usr/bin/perl -pi -e "s|.*pop3_uidl_format.*|  pop3_uidl_format = 
%08Xu%08Xv|;" /etc/dovecot.conf

/usr/bin/perl -pi -e "s|^#mail_location =|mail_location = 
mbox:~/mail/:INBOX=mbox|;" /etc/dovecot.conf

/usr/bin/perl -pi -e 'if ( /^.*passdb pam/ ) {$change = 1;} if ($change && 
/#args/) {s/#args = dovecot/args = session=yes cache_key=%u%s dovecot/; 
$change = 0;}' /etc/dovecot.conf

/usr/bin/perl -pi -e "s|^#log_timestamp|log_timestamp|" /etc/dovecot.conf

/usr/bin/perl -pi -e "s|^#syslog_facility|syslog_facility|" /etc/dovecot.conf

For troubleshooting purposes I'd do this:

Disable POP3, IMAP, POP3S and IMAPS in the GUI.

Uninstall dovecot:

rpm -e dovecot --nodeps

Remove dovecot.conf:

rm /etc/dovecot.conf

Then reinstall Dovecot from YUM:

yum install dovecot

Then see if you get any errors during or after the install, or when you enable 
the Dovecot related services.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list