Weird things in the mail queue

2019-02-21 Thread Lionel Elie Mamane via dovecot
I noticed a mail stuck in my mail queue. dovecot-lda was returning error 64 Invalid parameter given. (EX_USAGE). Weird, weird, weird. After some sleuthing, I found the sender address was firstl...@domain.tld, with a UTF8-encoded Unicode U+FEFF ZERO WIDTH NO-BREAK SPACE character (AKA byte order ma

Re: execute sieve command - fails to notice script has exited

2018-11-13 Thread Lionel Elie Mamane
On Tue, Nov 13, 2018 at 07:10:47PM +0200, Aki Tuomi wrote: > Did you look at the server logs as suggested by the logfile? Yes. The server log is in my first email, where I called it "dovecot debug log". Sorry the information is over several emails. -- Lionel

Re: execute sieve command - fails to notice script has exited

2018-11-13 Thread Lionel Elie Mamane
= 0 then it does the delivery into the test-spam mailbox. You see that dovecot-lda doesn't do a waitpid()/wait4() on the script (child process) before starting to kill it. On Tue, Nov 13, 2018 at 05:52:27PM +0100, Lionel Elie Mamane wrote: > And the Sieve script:

Re: execute sieve command - fails to notice script has exited

2018-11-13 Thread Lionel Elie Mamane
d=<20181113155632.k6pybm45sdwwp...@blitz.conuropsis.org>: stored mail into mailbox 'test-spam'. On Tue, Nov 13, 2018 at 05:00:21PM +0100, Lionel Elie Mamane wrote: > Hi, > > Running dovecot 2.2.27 (c0f36b0) on Debian GNU/Linux stable (version > 9.6), I'm trying to

execute sieve command - fails to notice script has exited

2018-11-13 Thread Lionel Elie Mamane
Hi, Running dovecot 2.2.27 (c0f36b0) on Debian GNU/Linux stable (version 9.6), I'm trying to use the execute command in a sieve script, with direct execution (not service socket). The script is executed, and returns (the process exits), but the dovecot-lda process seems to not notice, and thinks