diff --git a/imap_filter/imap_filter.py b/imap_filter/imap_filter.py index ce9f114..59f0ec0 100644 --- a/imap_filter/imap_filter.py +++ b/imap_filter/imap_filter.py @@ -206,8 +206,8 @@ class ImapFilter: "Will create Sieve script in '%s'...", sieve_scripts_path ) - content = '# Managed by imap_filter. Some lines might get replaced if the match with rule name from imap_filter' - content += 'require ["fileinto"];' + content = '# Managed by imap_filter. Some lines might get replaced if the match with rule name from imap_filter\n' + content += 'require ["fileinto"];\n' for mfilter in filters: self._log.debug( "Adding filter '%s' to sieve script",