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

testseveral: [email protected], [email protected], localuser3

I've sent email to [email protected] and it was successfully redirected to both out addresses [email protected] and [email protected], 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 <[email protected]>

 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: [email protected]

I've sent email to [email protected] and it was successfully forwarded to [email protected] 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" "[email protected]"
{
        redirect :copy "[email protected]";
        stop;
}

Also a

 -- require ["copy"];
# rule:[weiterleitung]
if header :contains "to" "[email protected]"
{
        redirect "[email protected]";
        stop;
}

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

Reply via email to