persistent dovecot.conf changes

thheo

Member
Apr 20, 2013
5
0
1
cPanel Access Level
Root Administrator
Hello,

I need to make 2 important changes in the dovecot.conf and I want to make sure that they are persistent across updates or regeneration of the config because of WHM interface triggers.
The changes are related to pop3_uidl and prefix namespace in imap:
pop3_uidl_format = %08Xu%08Xv
namespace private with empty prefix
So, I have no problem in doing these changes in the conf, they work as expected I just need to make sure they stay there.
I have read: http://docs.cpanel.net/twiki/pub/AllDocumentation/ReleaseNotes/dovecot-1.1.pdf but it's not clear to me what would be the folder of the modified main.local ( it's written there that you need to copy it from main.default, but should it reside in the template folder or
/var/cpanel/conf/dovecot/ . Also I have looked in the template file and I didn't understand the syntax because the default values are commented out (with #).
Could someone help me with the proper usage of the syntax to achieve what I mentioned above?

Thank you,
Teodor
 

thheo

Member
Apr 20, 2013
5
0
1
cPanel Access Level
Root Administrator
I have succeeded to change pop3_uidl_format by using /var/cpanel/conf/dovecot/main file like this:
protocol_pop3:
mail_max_userip_connections: 20
pop3_uidl_format: %08Xu%08Xv
( I added the variable inside protocol_pop3 "section" ).
However adding an empty value for "namespace_private.prefix:" doesn't do anything..

I have also found out that the main.local has to reside in the templates folder and using the builddovecotconf script will make use of that. Of course I could just mess up the local template for the namespace prefix so that it will just return empty value, but it would be nice to keep all the local variables in /var/cpanel/conf. So I'll just stick with this final question, is it possible to have an empty value for a variable in the "main" file in /var/cpanel/conf/dovecot/ ?
 
Last edited:
Thread starter Similar threads Forum Replies Date
A Transfers 1