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

testseveral: us...@gmail.com, us...@someotherfreemail.com, localuser3

I've sent email to testseve...@mydomain.com and it was successfully redirected to both out addresses us...@gmail.com and us...@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@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: u...@gmail.com

I've sent email to testgm...@mydomain.com and it was successfully forwarded to u...@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" "u...@bitclusive.de"
{
        redirect :copy "otheru...@gmail.com";
        stop;
}

Also a

 -- require ["copy"];
# rule:[weiterleitung]
if header :contains "to" "u...@bitclusive.de"
{
        redirect "otheru...@gmail.com";
        stop;
}

does not work. How can I solve this?
_______________________________________________
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users

Reply via email to