View Single Post
Old 26 May 2021, 05:49 AM   #2
Essential Contributor
Join Date: May 2018
Posts: 381
Originally Posted by kennio View Post
For the incoming emails I am trying to create a Sieve Filter to block all external emails. This is what I am trying but for some reason is not working...
To send stuff to the trash you specify the mailbox name as "\\Trash". Just saying "trash" will send stuff, by default, into the inbox.

If you are only accepting incoming mail to your domain ( in your example) then the first test on your domain should be sufficient:

if not address :domain :is "from" "" {
  fileinto "\\Trash";

Last edited by xyzzy : 26 May 2021 at 06:02 AM.
xyzzy is offline   Reply With Quote