This list suffers from the "reply" problem you mentioned. :) As far as executing a server side command.
I think the easiest way to do it would be to setup a framework that adds a record to the database and then have a script running on the server through cron every couple of minutes check that table for things it needs to do. That would allow you a bit more flexibility security wise and functionality wise. Probably more appropriate as a plugin than part of the roundcube core. Elisamuel Resto wrote: > Hello. > > I'm currently looking for pointers on how to implement a "Spam"/"Ham" > button that will trigger a run of a command (in my case dspam-related) on > the server, and depending on the result, it moves the message to the > Junk/Spam folder and display a notice if it either failed or succeeded. > > And also, looking to make rcube smarter when it comes to replying to > messages from mailing lists... some ml admins don't use the rewriting of > "From" tags for whatever reason, and to "reply" to the list one has to > manually enter the address of the list. In most cases such lists include a > "List-Post" or "List-Id" header where the posting address can be extracted > from. > > > Any pointers on the functions I should look at and files I should look at > to make these would be appreciated. >
