Author Topic: Redirect mail  (Read 13831 times)

Offline msisto

  • Newbie
  • *
  • Posts: 5
Redirect mail
« on: March 29, 2010, 06:15:34 AM »
Hi !

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

Thanks.

Offline dziobak

  • Full Member
  • ***
  • Posts: 184
Redirect mail
« Reply #1 on: March 29, 2010, 08:52:09 AM »
use filters/rules. for example dovecot-sieve can do this.

Offline msisto

  • Newbie
  • *
  • Posts: 5
Redirect mail
« Reply #2 on: March 29, 2010, 09:02:07 AM »
Sorry for double post.
« Last Edit: March 30, 2010, 05:38:02 AM by msisto »

Offline msisto

  • Newbie
  • *
  • Posts: 5
Redirect mail
« Reply #3 on: March 29, 2010, 09:29:47 AM »
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.
« Last Edit: March 30, 2010, 05:36:25 AM by msisto »

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,388
Redirect mail
« Reply #4 on: March 29, 2010, 01:17:48 PM »
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…

Offline msisto

  • Newbie
  • *
  • Posts: 5
Redirect mail
« Reply #5 on: March 30, 2010, 03:14:15 AM »
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.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,388
Redirect mail
« Reply #6 on: March 30, 2010, 08:36:19 AM »
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…

Offline msisto

  • Newbie
  • *
  • Posts: 5
Redirect mail
« Reply #7 on: March 31, 2010, 03:07:37 AM »
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 !

Offline umount

  • Full Member
  • ***
  • Posts: 63
Redirect mail
« Reply #8 on: April 05, 2010, 06:17:20 AM »
Quote from: msisto;26438
Hi !

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.
« Last Edit: April 06, 2010, 02:48:26 AM by umount »

Offline umount

  • Full Member
  • ***
  • Posts: 63
Redirect mail
« Reply #9 on: April 06, 2010, 05:10:19 AM »
I dont know how delete attached file, it is not wrong, use github version.

Offline lacri

  • Full Member
  • ***
  • Posts: 179
    • http://www.php-lexikon.de
Redirect mail
« Reply #10 on: April 08, 2010, 09:33:12 AM »
many thanks is a nice feature ... :)  and works perfekt
i think a recipients autocomplete feature would be nice

Offline lacri

  • Full Member
  • ***
  • Posts: 179
    • http://www.php-lexikon.de
Redirect mail
« Reply #11 on: April 08, 2010, 10:15:57 AM »
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

Offline umount

  • Full Member
  • ***
  • Posts: 63
Redirect mail
« Reply #12 on: April 09, 2010, 01:57:02 AM »
Quote from: lacri;26696
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


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