[RCU] Fwd: Re: forward filter is not working

Marchello roundcubeforum.net at spamstop.tk
Thu Dec 5 22:25:15 CET 2019


  BTW, just in case if someone is interested, I just tested /etc/aliases 
as

testseveral: user1 at gmail.com, user2 at someotherfreemail.com, localuser3

I've sent email to testseveral at mydomain.com and it was successfully 
redirected to both out addresses user1 at gmail.com and 
user2 at someotherfreemail.com, also it was copied into localuser3 mailbox.

Hope this helps.

Best,
Marchello


-------- Original Message --------
Subject: Re: [RCU] forward filter is not working
Date: 2019-12-05 23:07
 From: Marchello
To: Roundcube Users mailing list
Reply-To: Roundcube Users mailing list <users at lists.roundcube.net>

  Hi Andreas,

Though it is not exactly what you asked for, but I tested another 
solution and it worked for me.

sudo nano /etc/aliases

testgmail: user at gmail.com

I've sent email to testgmail at mydomain.com and it was successfully 
forwarded to user at gmail.com address.

Also I've heard this approach can be used for creating mailing lists 
with several emails in one alias, but did not try it yet.

Hope this helps.

Best,
Marchello


On 2019-12-05 14:04, Andreas Meyer wrote:
> Hello!
> 
> Tried to set a filter to forward an email but without luck.
> 
> -- require ["copy"];
> # rule:[weiterleitung]
> if header :contains "to" "user at bitclusive.de"
> {
> 	redirect :copy "otheruser at gmail.com";
> 	stop;
> }
> 
> Also a
> 
>  -- require ["copy"];
> # rule:[weiterleitung]
> if header :contains "to" "user at bitclusive.de"
> {
> 	redirect "otheruser at gmail.com";
> 	stop;
> }
> 
> does not work. How can I solve this?


More information about the users mailing list