<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-crea="font-wrapper" style="font-family: Tahoma; font-size: 16px; direction: ltr"><br>I am trying to add a signature to all messages and it should be possible via vnd.dovecot.filter, the problem is that any script I try to filter through just hangs.<div>I am running on FreeBSD 11.2 and I tried with dovecot 2.2.32 & pigeonhole 0.4.19 and with dovecot 2.3.2 && pigeonhole 0.5.2. In both cases, the output from dovecot is the same:</div><div><br></div><div><div><div>Feb 19 18:24:22 mx13 dovecot: lda(user1): Debug: sieve: action filter: running program: append</div><div>Feb 19 18:24:22 mx13 dovecot: lda(user1): Debug: Mailbox stdin: Opened mail UID=1 because: mail stream</div><div>Feb 19 18:24:22 mx13 dovecot: lda(user1): Debug: waiting for program `/usr/local/gtech/sieve/append' to finish after 3 msecs</div><div>Feb 19 18:25:22 mx13 dovecot: lda(user1): Debug: program `/usr/local/gtech/sieve/append'(55055) execution timed out after 60000 milliseconds: sending TERM signal</div><div>Feb 19 18:25:27 mx13 dovecot: lda(user1): Debug: program `/usr/local/gtech/sieve/append' (55055) did not die after 5000 milliseconds: sending KILL signal</div></div></div><div><br></div><div>at first I tried using my actual script but since it was failing I switched to a simple shell script:</div><div><br></div><div><div>#!/bin/sh</div><div><br></div><div>cat </dev/stdin >/dev/null</div><div><br></div><div>echo "hey"</div><div><br></div><div>exit 0</div></div><div><br></div><div>I got that idea after reading: <a href="http://dovecot.2317879.n4.nabble.com/execute-sieve-command-fails-to-notice-script-has-exited-td65316.html#a65319" style="cursor: pointer;">http://dovecot.2317879.n4.nabble.com/execute-sieve-command-fails-to-notice-script-has-exited-td65316.html#a65319</a></div><div><br></div><div>The result is unfortunately the same. From what I can gather ( ran it inside strace/truss too), dovecot-lda hangs on the output.</div><div><br></div><div>Is this accurate ? How can I get this to work ?</div><div><br></div><div><br></div></div></body></html>