Submitted by yngens on Fri, 01/04/2013 - 00:21
Restarting davecot in CentOS release 6.3 (Final) CLI gives:
service dovecot restart
Stopping Dovecot Imap: [ OK ]
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:26: protocols=imaps is no longer necessary, remove it
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:26: protocols=pop3s is no longer necessary, remove it
Similar issue was mentioned on http://www.virtualmin.com/node/19153#comment-86070 by some other user and Locutus asked to file an issue.
I wonder is it ok to remove obsolete setting?
Status:
Closed (fixed)
Comments
Submitted by andreychek on Fri, 01/04/2013 - 00:30 Comment #1
Howdy -- the issue in the post you linked to is due to someone copying an older Dovecot config to a new system.
In cases like that, it would be necessary to manually tweak the config file to prevent warnings like you're seeing.
In your case, are you starting with a fresh Dovecot config? Or is that from an older CentOS install?
It should be safe to comment out the obsolete protocols though.
Submitted by yngens on Fri, 01/04/2013 - 01:44 Comment #2
The issue has been observed in a fresh Cloudmin guest system with automatically installed Virtualmin. I didn't change anything in the system. You can reproduce the issue by simply installing new Virtualmin on any CentOS and restarting davecot form a command line.
Submitted by JamieCameron on Fri, 01/04/2013 - 01:36 Comment #3
You can safely remove those obsolete settings. Virtualmin may be still adding them on install because they were required by older dovecot releases.
Submitted by yngens on Fri, 01/04/2013 - 01:45 Comment #4
Thanks. I mark this closed then.