I'm writing a plugin to add a button to the toolbar which will take a user to a new screen I'm creating to manage server side mail forwarding rules.
My question is does there always need to be a "task"? Should I set the href of the button to be:
http://roundcube/?_action=plugin.emailrules.forwarding
Or does it need to be like:
http://roundcube/?_task=mail&_action=plugin.emailrules.forwarding
The _task variable describes the section the system is in.... mail, settings etc. It triggers the loading of the section specific resources. Plugins can also register their own tasks.
From your description it sounds like your plugin would go into the settings section.