On 24/09/2018 12:34, James wrote:
$ cat sieve require ["vacation"]; vacation # Reply at most once a day to a same sender :days 1
...removing the ":days 1" stops the corruption:
$ sieve-test -D -c dovecot.conf sieve.2 message
sieve-test(james): Debug: Effective uid=1001, gid=10, home=/home/james
sieve-test(james): Debug: maildir++: root=/path/to//james/Maildir,
index=, indexpvt=, control=, inbox=/path/to//james/Maildir, alt=
sieve-test(james): Debug: sieve: Pigeonhole version 0.5.3.rc1 (716b1b49)
initializing
sieve-test(james): Debug: sieve: include: sieve_global is not set; it is
currently not possible to include :global' scripts. debug: file storage: Using Sieve script path: /home/james/sieve.2. debug: file script: Opened script
sieve.2' from /home/james/sieve.2'. debug: Script
sieve.2' from /home/james/sieve.2 successfully compiled.
Performed actions:
- send vacation message: => seconds : 604800 => subject : Out of office reply => handle : I'm out of office, please contact Joan Doe instead. Best regards John DoeOut of office reply<default-from><NO-MIME>
START MESSAGE I'm out of office, please contact Joan Doe instead. Best regards John Doe END MESSAGE
Implicit keep:
- store message in folder: INBOX
sieve-test(james): Info: final result: success
$ cat sieve.2 require ["vacation"]; vacation # Reply at most once a day to a same sender # :days 1 :subject "Out of office reply" # List of additional recipient addresses which are included in the auto replying. # If a mail's recipient is not the envelope recipient and it's not on this list, # no vacation reply is sent for it. :addresses ["j.doe@company.dom", "john.doe@company.dom"] "I'm out of office, please contact Joan Doe instead. Best regards John Doe";