I solved this issue hiding the buttons from the menus. I know options are accesible if you type the url in the address bar. My users: courious enougth to click a button and missconfigure their mail, but not to figure the full url.
So I have comment some code lines in this files to hide the code that renders that buttons:
I asumme you are using the Larry Skin.
header.html ---> comment this line: <roundcube:button command="settings" label="settings" class="button-settings" classSel="button-settings button-selected" innerClass="button-inner" />
folders.html ---> comment this line: <roundcube:button name="mailboxmenulink" id="mailboxmenulink" type="link" title="folderactions" class="listbutton groupactions" onclick="UI.show_popup('mailboxmenu');return false" innerClass="inner" content="⚙" />
mail.html ---> comment this line: <roundcube:button name="mailboxmenulink" id="mailboxmenulink" type="link" title="folderactions" class="listbutton groupactions" onclick="UI.show_popup('mailboxmenu');return false" innerClass="inner" content="⚙" />
I suppouse that if you are using other skins you will have to look for code like I showed.
If you have a better solution or you can make better this one just post here.
Sorry for my english.