Roundcube Community Forum

 

Redirect mail

Started by msisto, March 29, 2010, 06:15:34 AM

Previous topic - Next topic

msisto

Hi !

I'd like to redirect (not forward) a mail to some address when clicking a button.
Is that possible ?

Thanks.

dziobak

use filters/rules. for example dovecot-sieve can do this.

msisto

#2
Sorry for double post.

msisto

#3
Sieve can have indeed redirect rules but that's not what I want to do : I'd like to redirect a mail by pushing some button. Sieve redirect some mail when receiving it, if it matches with one of the rules in the dovecot.sieve, while i want to redirect a mail which is already received, when pressing the button, and so, whithout sending it again.

JohnDoh

adding a button to the toolbar and making a funciton which sends an email is really easy with the plugin api
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

msisto

Not so easy for me... I did something which send an email with smtp_mail function but it does'nt keep my original mail : I would like to send one which is an exact copy of the original mail (with original headers too) for spams training purpose. That's why i need the "redirect" thing.

JohnDoh

have you tried the markasjunk2 plugin? that has an email_learn driver which can do what you want.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

msisto

I'll try to do something with this plugin. That's shame it seems to be impossible to do a simple "redirect" thing. Thanks anyway to you for your answers !

umount

#8
Quote from: msisto;26438Hi !

I'd like to redirect (not forward) a mail to some address when clicking a button.
Is that possible ?

Thanks.

I want to preset you and all my plugin bounce
Ticket #1485774 (E-Mail - Redirect Bounce) ? Roundcube Webmail
this is test version.

I will be glad to any responses.

Add plugin on github
http://github.com/umount/rcplugin_bounce

06.03.10 Fix message body, last version on github.

Plugin testing on trunc roundcube version.

umount

I dont know how delete attached file, it is not wrong, use github version.

lacri

many thanks is a nice feature ... :)  and works perfekt
i think a recipients autocomplete feature would be nice

lacri

i add german translation and better buttons when using standard theme.

and when using rosalis forward as attachment plugin a better container for buttons position is the container forwardatt set in bounce.php on line 35 this works only when container is set in mail.html template

umount

Quote from: lacri;26696i add german translation and better buttons when using standard theme.

and when using rosalis forward as attachment plugin a better container for buttons position is the container forwardatt set in bounce.php on line 35 this works only when container is set in mail.html template

Thank you. I am add German translation and new default buttons on github.