On 03/24/2011 08:15 AM, Selcuk MIYNAT wrote:
On 24.03.2011 16:53, Eric Shubert wrote:
On 03/24/2011 05:01 AM, Selcuk MIYNAT wrote:
Hi,
I've installed sieve and managesieve(pigeonhole) on qmail and dovecot(v2.0.11).
I've install sieverules on Roundcube. I can see the plugin on the webinterface, and i can add rules.
But there is a problem:
I've put this .qmail file on "deneme" user's home directory according to [1].
|/var/qmail/bin/preline -f /usr/local/libexec/dovecot/dovecot-lda -d $EXT@$USER
Then I got this message on qmail log:
deferral: /var/qmail/bin/preline:_line_1:_test:_too_many_arguments/
The arguments to dovecot-lda are being seen by preline instead of dovecot-lda. You need doubld-quotes around preline's command argument so that preline sees it all together: |/var/qmail/bin/preline -f "/usr/local/libexec/dovecot/dovecot-lda -d $EXT@$USER" (all in one line)
I've put double-quotes but nothing has changed. Same error message:
deferral: /var/qmail/bin/preline:_line_1:_test:_too_many_arguments/
[root@mail deneme]# cat .qmail |/var/qmail/bin/preline -f "/usr/local/libexec/dovecot/dovecot-lda -d $EXT@$USER"
Sorry about that. My mistake. The preline man page is a bit misleading.
I don't know why preline would be issuing this error. Would need to look at the source code. Is there something peculiar about your version of preline? Or perhaps $EXT or $USER have peculiar values that's breaking it?
-Eric 'shubes'