Andreas Ntaflos schreef:
As explained, in the user's sieve script the "keep" after the redirect
action is ignored when the backup mails script uses an explicit "keep"
after "fileinto", but not when "fileinto" is used with "copy".
Why?
Because you have tripped a bug that is fixed in the repository, but not
in the final release:
http://www.dovecot.org/list/dovecot/2009-September/042591.html
Your script executes as follows in the latest release (wrong):
==
$ sieve-test -s before.sieve user.sieve message.eml
## Executing script: /home/stephan/before.sieve
Performed actions:
* store message in folder: Backup/received-backup
+ add IMAP flags: \seen
* keep
Implicit keep:
(none)
## Executing script: /home/stephan/frop.sieve
Performed actions:
* redirect message to: f...@example.org
Implicit keep:
(none)
Info: final result: success
==
In the latest repository version it executes as follows (ok):
==
$ sieve-test -s before.sieve user.sieve message.eml
## Executing script: /home/stephan/before.sieve
Performed actions:
* store message in folder: Backup/received-backup
+ add IMAP flags: \seen
* keep
Implicit keep:
(none)
## Executing script: /home/stephan/frop.sieve
Performed actions:
* redirect message to: f...@example.org
* store message in folder: INBOX
Implicit keep:
(none)
Info: final result: success
==
Due to persisting headaches since last week I haven't had the ability
nor the motivation to make a new release. Now that I am better I should
release new Sieve and ManageSieve(s) in the next few days or so.
Regards,
--
Stephan Bosch
step...@rename-it.nl