automatically copy incoming mails to another INBOX? #685
-
I have [email protected], [email protected], and [email protected] imap accounts created on Stalwart. If I want all incoming mails addressed to xxx and yyy to be automatically bcc to zzz, how could I accomplish this? It may not be by adding bcc to zzz. My goal is every incoming mail for xxx and yyy will "also" appear in zzz inbox. update#1:
I still wish to do it on Stalwart, but I'm not sure how to accomplish it. So far, I have created a script named "copytoall", via Settings/Sieve Scripting/Scripts/+New script, which has following command:
After creating the above script, I "save&reload" and "reload config" and even restarted my Stalwart mail container, but it didn't work. I'm not sure what I did wrong or if I need to do additional settings at some other places too. All my settings were performed via Stalwart admin GUI. Update#2: stalwart sieve is working now by running the script at DATA stage, not at RCPT |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Is there a difference in the processing sequence when placing 'copytoall' after the spam-filter compared to placing it before the spam-filter?
|
Beta Was this translation helpful? Give feedback.
-
You can't specify multiple scripts in an expression. You should call only a single script which includes all your other scripts. |
Beta Was this translation helpful? Give feedback.
Thanks a lot. I've created a new script to include both scripts and it is working fine now.