Displaying 20 results from an estimated 1000 matches similar to: "sievec drops privileges unexpectedly"
2019 Nov 05
0
sievec *.sieve problem.
> On 5 Nov 2019, at 9.53, Reio Remma via dovecot <dovecot at dovecot.org> wrote:
>
> Hello!
>
> For the second time I've tripped onto this banana peel. :)
>
> I had 2 sieve files in a directory that I wanted to compile:
>
> sievec *.sieve
>
> The result of this is that first.sieve is compiled into second.sieve instead of first.svbin, thus destroying
2011 Jan 17
3
Sieve 0.2.2 how to use sievec
Hello list,
How can I compile sieve script under new 0.2.2 version from comandline?
Under root:
#sievec default-before.sieve
sievec(root): Error: user root: Initialization failed: Namespace '': mkdir(/root/data) failed: Permission denied (euid=8(mail) egid=12(mail) missing +w perm: /root, euid is not dir owner)
sievec(root): Fatal: Invalid user settings. Refer to server log for more
2010 Aug 26
1
Roff typo in sievec.1.in
There is a roff typo in pigeonhole's sievec.1.in. Roff treats the leading apostrophe on line 54 as an invalid command and produces bad output:
dump to be written to stdout. The out-file argument may
also be omitted, which has the same effect as for a com-
piled Sieve binary file. Note that this option is not
The output should be:
2009 Jun 28
2
sievec error: "fileinto require missing"
I'm getting this error when compiling .dovecot.sieve:
$ /usr/libexec/dovecot/sievec .dovecot.sieve .dovecot.sievec
Info: line 3: fileinto require missing
Unable to parse script: script errors:
line 3: fileinto require missing
.dovecot.sieve just looks like this:
$ cat .dovecot.sieve
if header :contains ["List-Id"]
2017 Mar 16
0
sievec
Op 3/16/2017 om 10:20 PM schreef Robert Moskowitz:
> I am building a new mailserver on Centos7.
>
> My sieve is created with:
>
> mkdir /home/sieve
> cat <<EOF>/home/sieve/globalfilter.sieve || exit 1
> require "fileinto";
> if exists "X-Spam-Flag" {
> if header :contains "X-Spam-Flag" "NO" {
> } else {
>
2012 Sep 18
1
Released Pigeonhole v0.3.2 for Dovecot v2.1.9
Hello Dovecot users,
I've been busy recently with some wholly unrelated Dovecot IMAP patches,
so Sieve development moved a bit into the background. This release
therefore consists mostly of small bugfixes. The most important change
is the fix of a bug in ManageSieve's CHECKSCRIPT command that causes a
segfault. Quite a few people have encountered this problem recently, so
it is about
2012 Sep 18
1
Released Pigeonhole v0.3.2 for Dovecot v2.1.9
Hello Dovecot users,
I've been busy recently with some wholly unrelated Dovecot IMAP patches,
so Sieve development moved a bit into the background. This release
therefore consists mostly of small bugfixes. The most important change
is the fix of a bug in ManageSieve's CHECKSCRIPT command that causes a
segfault. Quite a few people have encountered this problem recently, so
it is about
2017 Apr 07
2
Running sievec as user vmail
My sieve problem ended up a permissions problem. I ran sievec as root
and .svbin needs vmail:mail ownership.
I could always just add the chown command to my process, but I wonder if
there is some 'clean' way to run sievec as user vmail while logged in as
root?
thanks
2009 Oct 02
2
sievec fails when last line is a comment without trailing \n
Hi,
when switching from Dovecot 1.1 + cmusieve to Dovecot 1.2 + sieve
I stumbled upon the following problem:
My sieve files, generated with Dovecot 1.1's managesieve, did not
compile anymore with sieve's sievec.
The error message was:
error: end of file before end of hash comment.
Looking a bit closer I found that the last line, which was a comment,
did not have a trailing newline.
2010 May 03
1
exit codes for 'sievec'
As far as I can tell, 'sievec' always exits with '0' whether there is
an error or not. If that is correct, I believe it should be modified to
exit with some other code if the conversion and writing of the new file
are not completed successfully. I have written a few script files and a
'make' file specifically for sievec. The inability to get an accurate
exit code is
2018 Jun 12
1
sievec prints an error if no dovecot running with mail_plugins = stats
Dovecot 2.2.36 + Pigeonhole 0.4.24
Is this an intended behavior?
```
# service dovecot status
dovecot is stopped
# doveconf mail_plugins
mail_plugins = stats
# ls foo.*
foo.sieve
# sievec foo.sieve
sievec(root): Error: stats: open(/var/run/dovecot/stats-mail) failed: No such device or address
# echo $?
0
# ls foo.*
foo.sieve foo.svbin
```
--
-- Name: SATOH Fumiyasu @ OSS Technology Corp.
2017 Apr 07
0
Running sievec as user vmail
You could give
# su -c MYSIEVESCRIPT vmail
a try.
Also: # man su
Cheers, Florian
_____________________
42dev e. U. - web solutions & hosting services
http://42dev.eu
On 2017-04-07 14:19, Robert Moskowitz wrote:
> My sieve problem ended up a permissions problem. I ran sievec as root
> and .svbin needs vmail:mail ownership.
>
> I could always just add the chown command to my
2018 May 28
0
Problem in Pigeonhole sievec
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 28 May 2018, Thorsten Hater wrote:
> I stumbled upon the following behaviour of Pigeonhole, which I consider
> to be problematic. A user deployed a Sieve script similar to the following
> snippet
>
> if not anyof (address :is ["from","cc"] ["...", ..., "... at ...
> GARBAGE", ...] {
2018 May 28
3
Problem in Pigeonhole sievec
Dear all,
I stumbled upon the following behaviour of Pigeonhole, which I consider
to be problematic. A user deployed a Sieve script similar to the following
snippet
if not anyof (address :is ["from","cc"] ["...", ..., "... at ...
GARBAGE", ...] {
fileinto "inbox.Trash";
stop;
}
Note the extra line break before GARBAGE. This script is
2019 Nov 05
2
sievec *.sieve problem.
Hello!
For the second time I've tripped onto this banana peel. :)
I had 2 sieve files in a directory that I wanted to compile:
sievec *.sieve
The result of this is that first.sieve is compiled into second.sieve
instead of first.svbin, thus destroying the source of second.sieve.
Please consider this a bug report. :)
Good luck,
Reio
2017 Mar 16
4
sievec
I am building a new mailserver on Centos7.
My sieve is created with:
mkdir /home/sieve
cat <<EOF>/home/sieve/globalfilter.sieve || exit 1
require "fileinto";
if exists "X-Spam-Flag" {
if header :contains "X-Spam-Flag" "NO" {
} else {
fileinto "Spam";
stop;
}
}
if header :contains "subject"
2012 Apr 24
2
sievec segfaults
Hello,
sievec segfaults when it reads a file.
I've tried with both the standard and gold linker.
I've tried with various sieve files and they all make it crash.
I've compiled pigeonhole with -ggdb, but I'm not getting much info
Program received signal SIGSEGV, Segmentation fault.
0x0000000800b8e587 in strlen () from /lib/libc.so.7
(gdb) bt full
#0 0x0000000800b8e587 in strlen ()
2012 Jul 09
1
recover .sieve plaintext from .sievec binary file
Hi,
I upgraded a server from an old Linux distribution to a much newer one.
In the process, Dovecot got upgraded from v1 to v2.
By mistake, I deleted the .sieve plaintext file with all the Sieve
filters, but I still do have the .sievec compiled binary. Is there any
way to dump the binary file back into plaintext format? Keep in mind,
I'm running v2 now, and the binary was made on a v1
2011 Aug 01
2
sievec - manual compile of global sieve scripts?
How do you compile global scripts using the sievec command without
making the script directory owned (and group writable) by the vmail user?
http://wiki2.dovecot.org/Pigeonhole/Sieve/Usage
# cd /etc/dovecot/sieve/before/
# (edit some script like spam.sieve that runs for everyone)
# /usr/local/bin/sievec spam.sieve spam.svbin
sievec(root): Error: sieve: binary save: failed to create temporary
2009 Jan 13
1
Error: sieve_execute_bytecode(/var/sieve/global.sievec) failed
I'm just getting familiar with Dovecot. I get this error when I send
mail to a mailbox that is over quota. I have no problem with the way
quota is working and I have no problem with the sieve script detecting
spam and delivering it to the Spam folder. Just trying to figure out
why I get this error when quota is involved:
Error: sieve_execute_bytecode(/var/sieve/global.sievec) failed
See logs