On 24/09/2018 11:51, Stephan Bosch wrote:

Can you try with the sieve-test command-line tool, in particular with
trace debugging enabled?

Thank you for the debugging tip, is this useful?


$ sieve-test -D -c dovecot.conf sieve message
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.
debug: file script: Opened script `sieve' from `/home/james/sieve'.
debug: Script `sieve' from /home/james/sieve successfully compiled.
sieve-test(james): Info: corrupt binary deleted.
sieve-test(james): Error: unlink((null)) failed: Bad address (in sieve-test.c:426) sieve-test(james): Info: final result: failed; resolved with successful implicit keep




$ cat dovecot.conf
mail_uid = james
mail_gid = staff
mail_location = maildir:/path/to/%d/%n/Maildir
postmaster_address = postmas...@domain.tld



$ cat sieve
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....@company.dom", "john....@company.dom"]
"I'm out of office, please contact Joan Doe instead.
Best regards
John Doe";



$ cat message
Subject: test
From: m...@domain.tld

testing 123

Reply via email to