doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:26: protocols=imaps is no longer necessary, remove it

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

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.

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.

You can safely remove those obsolete settings. Virtualmin may be still adding them on install because they were required by older dovecot releases.

Thanks. I mark this closed then.