Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd February 2011, 04:03
MrCompTech MrCompTech is offline
Member
 
Join Date: Jul 2010
Posts: 92
Thanks: 1
Thanked 19 Times in 8 Posts
Default POP3 no longer works after system upgrade

After upgrading server from Fedora Core 13 to 14 I can no longer log in to the mail server using webmail (imap) or Thunderbird (POP3).

When I try with Thunderbird/POP3 is receive the error message:

Sending of username did not succeed. Mail server 192.168.1.10 responded: Plaintext authentication disallowed on non-secure (SSL/TLS) connections

I changed the dovecot.conf file and added :
disable_plaintext_auth = no

Restart dovecot and try using Thunderbird/POP3 again and receive the error message:

Sending of password dod not succedd. Mail server 192.168.1.10 responded: Authentication failed.

Get an option to enter the password again but still get the same error.
Went into the ISPConfig control panel and put the password in again but still get 'Authentication failed'.

The system upgrade apparently included upgrading dovecot!

I replaced the new dovecot.conf with my old one and get these errors and the service fails to start:

Code:
Starting Dovecot Imap: doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:20: protocols=imaps is no longer necessary, remove it
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:20: protocols=pop3s is no longer necessary, remove it
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:560: mail_executable has been replaced by service { executable }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:631: mail_executable has been replaced by service { executable }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:715: protocol managesieve {} has been replaced by protocol sieve { }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:890: add auth_ prefix to all settings inside auth {} and remove the auth {} section completely
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:928: passdb pam {} has been replaced by passdb { driver=pam }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:1007: passdb sql {} has been replaced by passdb { driver=sql }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:1044: userdb passwd {} has been replaced by userdb { driver=passwd }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:1089: userdb sql {} has been replaced by userdb { driver=sql }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:1110: auth_user has been replaced by service auth { user }
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: ssl enabled, but ssl_cert not set
So the dovecot.conf files are no longer compatible, so I but the new back in place of the old which was how is was after the upgrade.

I ran doveconf -n > dovecot-new.conf and copied this to dovecot.conf but that has not fixed the problem.

Any suggestions?
Reply With Quote
Sponsored Links
  #2  
Old 2nd February 2011, 15:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What's your new Dovecot version? ISPConfig does not support Dovecot 2, only Dovecot 1.x.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 2nd February 2011, 19:32
MrCompTech MrCompTech is offline
Member
 
Join Date: Jul 2010
Posts: 92
Thanks: 1
Thanked 19 Times in 8 Posts
Default

Owch! That hurts!

It's Dovecot 2.0.8

Am I alone in trying to get this to work with ISPConfig 3.0.3.2 on FC14?

Any info on how ISPConfing integrates with Dovecot?
Reply With Quote
  #4  
Old 2nd February 2011, 20:59
MrCompTech MrCompTech is offline
Member
 
Join Date: Jul 2010
Posts: 92
Thanks: 1
Thanked 19 Times in 8 Posts
Default

Is there a way to roll back dovecot to the earlier version without losing my email domains and mailboxes?

Or have they already been deleted by the dovecot upgrade.

Where does ISPConfig store the email information, domains, aliases, forwards, mailboxes, etc.?

... checked on some things

I see in the database table dbispconfig that the mail domains, forwarders and mail users are still there.
I do see a pass word column as well.

... tried using yum to downgrade dovecot but received an error

Code:
Loaded plugins: presto, refresh-packagekit
Setting up Downgrade Process
updates/metalink                                         |  10 kB     00:00
updates                                                  | 4.7 kB     00:00
updates/primary_db                                       | 4.1 MB     03:21
Resolving Dependencies
--> Running transaction check
---> Package dovecot.x86_64 1:2.0.1-1.fc14 set to be downgraded
---> Package dovecot.x86_64 1:2.0.8-2.fc14 set to be erased
--> Finished Dependency Resolution
Error: Package: 1:dovecot-mysql-2.0.8-2.fc14.x86_64 (@updates)
           Requires: dovecot = 1:2.0.8-2.fc14
           Removing: 1:dovecot-2.0.8-2.fc14.x86_64 (@updates)
               dovecot = 1:2.0.8-2.fc14
           Downgraded By: 1:dovecot-2.0.1-1.fc14.x86_64 (fedora)
               dovecot = 1:2.0.1-1.fc14
           Available: 1:dovecot-2.0.9-1.fc14.i686 (updates)
               dovecot = 1:2.0.9-1.fc14
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Next option is to uninstall dovecto and see if I can install the previous one.

...

Uninstall went OK, but when I used 'yum list obsoletes dovecot' the previous version was not listed. I am guessing the the upgrade to FC14 changed the repositories and I need to find the repo that has the previous version of dovecto.

Last edited by MrCompTech; 2nd February 2011 at 21:47.
Reply With Quote
  #5  
Old 2nd February 2011, 22:36
MrCompTech MrCompTech is offline
Member
 
Join Date: Jul 2010
Posts: 92
Thanks: 1
Thanked 19 Times in 8 Posts
Default

Well it took a while but I did find an RPM to install the previous version of dovecot. But, that didn't work either, becuase the OS upgrade which included the dovecot upgrade also updated file needed by dovecot!

Code:
[root@prl-ofc-s01 ~]# yum install dovecot-1.2.16-1.el5.x86_64.rpm
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Examining dovecot-1.2.16-1.el5.x86_64.rpm: 1:dovecot-1.2.16-1.el5.x86_64
Marking dovecot-1.2.16-1.el5.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package dovecot.x86_64 1:1.2.16-1.el5 set to be installed
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: 1:dovecot-1.2.16-1.el5.x86_64
--> Processing Dependency: libcrypto.so.6()(64bit) for package: 1:dovecot-1.2.16-1.el5.x86_64
--> Processing Dependency: libdb-4.3.so()(64bit) for package: 1:dovecot-1.2.16-1.el5.x86_64
--> Processing Dependency: libldap-2.3.so.0()(64bit) for package: 1:dovecot-1.2.16-1.el5.x86_64
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: 1:dovecot-1.2.16-1.el5.x86_64
--> Processing Dependency: libpq.so.4()(64bit) for package: 1:dovecot-1.2.16-1.el5.x86_64
--> Processing Dependency: libssl.so.6()(64bit) for package: 1:dovecot-1.2.16-1.el5.x86_64
--> Finished Dependency Resolution
Error: Package: 1:dovecot-1.2.16-1.el5.x86_64 (/dovecot-1.2.16-1.el5.x86_64)
           Requires: libmysqlclient.so.15(libmysqlclient_15)(64bit)
Error: Package: 1:dovecot-1.2.16-1.el5.x86_64 (/dovecot-1.2.16-1.el5.x86_64)
           Requires: libdb-4.3.so()(64bit)
Error: Package: 1:dovecot-1.2.16-1.el5.x86_64 (/dovecot-1.2.16-1.el5.x86_64)
           Requires: libldap-2.3.so.0()(64bit)
Error: Package: 1:dovecot-1.2.16-1.el5.x86_64 (/dovecot-1.2.16-1.el5.x86_64)
           Requires: libssl.so.6()(64bit)
Error: Package: 1:dovecot-1.2.16-1.el5.x86_64 (/dovecot-1.2.16-1.el5.x86_64)
           Requires: libpq.so.4()(64bit)
Error: Package: 1:dovecot-1.2.16-1.el5.x86_64 (/dovecot-1.2.16-1.el5.x86_64)
           Requires: libcrypto.so.6()(64bit)
Error: Package: 1:dovecot-1.2.16-1.el5.x86_64 (/dovecot-1.2.16-1.el5.x86_64)
           Requires: libmysqlclient.so.15()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Oh this is painful!
Reply With Quote
  #6  
Old 3rd February 2011, 14:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Yo ucould try to install these (for Fedora 13, maybe they work on 14 as well): http://packages.atrpms.net/dist/f13/dovecot-1.2.x/
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 3rd February 2011, 17:33
MrCompTech MrCompTech is offline
Member
 
Join Date: Jul 2010
Posts: 92
Thanks: 1
Thanked 19 Times in 8 Posts
Default

I downloaded both the main package dovecot-1.2.16-1_114.fc13.x86_64.rpm and the libraries and headers into the same directory.

I tried to install them with
Code:
yum install *
and get
Quote:
warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, Key ID 66534c2b: NOKEY

Public key for dovecot-1.2.16-1_114.fc13.x86_64.rpm is not installed
There is no signature file listed on the atrpms.net website.

I did find the key dovecot-1.2.16.tar.gz.sig at dovecot.org but I am not sure how to use this file and not sure if it is the key that I need to complete this install.

So how do I use this key, assuming it is the correct one?
__________________
MrCompTech.com
Reply With Quote
  #8  
Old 3rd February 2011, 23:43
MrCompTech MrCompTech is offline
Member
 
Join Date: Jul 2010
Posts: 92
Thanks: 1
Thanked 19 Times in 8 Posts
Default

Since i new where the packages came from, and assuming the site hasn't been hacked, to get the packages to install I disabled the GPG.

Edited /etc/yum.conf
And changed pgpcheck=1 to 0
After the install, which went off without any errors I set this back to 1.

Now I just need to run on of the ISPConfig files to reconfigure dovecot.
I saw the file in one of the posts on this forum, now I just have to find it again.
__________________
MrCompTech.com
Reply With Quote
  #9  
Old 4th February 2011, 15:19
MrCompTech MrCompTech is offline
Member
 
Join Date: Jul 2010
Posts: 92
Thanks: 1
Thanked 19 Times in 8 Posts
 
Default

Got a bit tired of tryign to fix this so I did a complete system restore and I'm back to the point were I had upgraded to ISPConfig 3.0.3.2 but before I upgraded from FC13 to FC14.

So email is working again.

I'll probably wait a few weeks or a month before I try again another upgrade.
__________________
MrCompTech.com
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CLAM AV upgrade failed (nothing will apt-get upgrade) gjcomputer General 4 25th July 2009 16:10
Fetchmail retrieval configuration on the clients side perfectpol7 Server Operation 8 19th May 2009 15:26
ISPconfig no longer works!!! banzaiwebstudio.com Installation/Configuration 5 15th November 2008 15:47
UebiMiau login puntjuh Installation/Configuration 13 14th March 2006 18:24
POP3 SMTP FTP problem arsu Installation/Configuration 1 11th November 2005 09:32


All times are GMT +2. The time now is 17:55.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.