From 72b995dcb13d1784415e3e3b53810e7fb575fbd2 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Tue, 1 Oct 2024 21:22:37 +0300 Subject: [PATCH] Add fileinto to sieve --- imap_filter/imap_filter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/imap_filter/imap_filter.py b/imap_filter/imap_filter.py index 5b6f41b..5dc34ce 100644 --- a/imap_filter/imap_filter.py +++ b/imap_filter/imap_filter.py @@ -146,6 +146,7 @@ class ImapFilter: content = sieve_script.read() else: content = '# Managed by imap_filter. Some lines might get replaced if the match with rule name from imap_filter' + content += 'require ["fileinto"];' for mfilter in filters: self._log.debug( 'Adding filter %s to sieve script',