RainLoop / rainloop-webmail

Simple, modern & fast web-based email client
http://rainloop.net
MIT License
4.11k stars 891 forks source link

[Plugin] Forward all incoming emails #1399

Open NickHatBoecker opened 7 years ago

NickHatBoecker commented 7 years ago

Hey guys,

I would like to implement a plugin in order to forward all incoming emails to different email addresses. E.g. my email address in rainloop is contact@something.com but I also want to receive the emails in my private inboxes. So the following address will be stored in the plugin settings: user1@gmail.com, user2@gmail.com and user3@gmail.com

Which hook is the best to start with? I couldn't find the section where mails are received.

Thanks in advance! Nick

RainLoop version, browser, OS: v1.11.0.203, Chrome, OSX

ervee commented 7 years ago

I'd suggest to do this at mailserver level, not client level. Do it with Sieve, Procmail or simpel aliases.

But if you ask me (and you're not, but I'll still answer), forwarding email to external addresses is a bad idea with the risk of starting loops waiting to happen.