Author Topic: Filter: "fileinto" don't move but copy a mail  (Read 1325 times)

Offline MoonKid

  • Newbie
  • *
  • Posts: 1
Filter: "fileinto" don't move but copy a mail
« on: December 07, 2020, 06:07:59 AM »
Using Roundcube Webmail 1.4.6 offered by a provider.

I created the folder Webmaster_at_mydomain. The folder does not have any parents.
All mails to webmaster@mydomain.de should be moved to that folder.

That is the complete sieve:

Code: [Select]
require ["fileinto"];
# rule:[Webmaster_at_mydomain]
if allof (header :contains "to" "webmaster@mydomain.de")
{
fileinto "Webmaster_at_mydomain";
}

But the mail is copied. It appears in the webmaster-folder and in the inbox folder. And I assume that mails are two different entities/files because when I delete one of them the other does not disapper.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Re: Filter: "fileinto" don't move but copy a mail
« Reply #1 on: December 07, 2020, 08:59:09 AM »
The managesieveplugin shipped with Roundcube is only for configuring the rules the actual filter is done server side. You rule looks correct if you do not manage the server then you probably need to contact your provider.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦