On 7/23/07, Michael Baierl <[EMAIL PROTECTED]> wrote:
Elisamuel Resto wrote:
> My idea is to have some sort of "hook" with buttons on the message list and
> message view, and when issued, it executes the command I give it in the
> configuration, which I also told it what to expect back... and those could
> be changed easily with the config file. Displaying a fail/success message
> and any other actions specified be performed.

The problem is just that (hopefully) your Webserver is not allowed to
execute commands as the mail-user... otherwise you are in big trouble!
Check out what the Squirrelmail people did for their serversidefilter
plugin - it's not that easy to solve that issue in a secure way.

The plugin (probably) utilizes IMAP functions. At least that is
doable, secure and relatively easy.

The downside to this is that the actions are only invoked when you use
your webmail. Which does not really make sense (IMO). Think about
users who have Outlook/Thunderbird, and then use the webmail when they
are on the road. It would only work half way.

Till


Reply via email to