Displaying 20 results from an estimated 1000 matches similar to: "sievec fails when last line is a comment without trailing \n"
2007 Sep 03
2
recipient delimiter results in sieve errors
Hello,
I'm using dovecot 1.0.3 and Dovecot Sieve plugin 1.0.2. Sieve script works
fine with normal addresses, like user at domain.., and messages marked with
"X-Spam-Flag: YES" are delivered directly to INBOX.Spam.
To make deliver understand recipient_delimiter I tried two methods, the
first one as per wiki (tweaking postfix master.cf), and the second one by
tweaking
2008 Mar 31
1
deliver tries to compile already compiled sieve script
Hello,
I'm trying to setup dovecot with sieve support in a way where all sieve
scripts are precompiled. All sieve scripts are in /var/cache/sieve/.
I believe I discovered a bug here. I describe below how to reproduce it.
Dovecot and the user that deliver runs as do not have write permission
in /var/cache/sieve/.
h01:/var/cache/sieve# ls -la
total 16
drwxr-xr-x 2 ecp ecp 4096 Mar 31
2007 Jul 23
5
sieve discard
Does the keyword/action discard work by default or is there something I have
to do in the configuration to get to work... maybe I missed something on
http://wiki.dovecot.org/LDA/Sieve
I have the following rule:
if anyof (
header :contains ["Subject"] ["Test Discard"]
) {
discard;
stop;
}
but it delivers to INBOX with or w/o the "stop;". If I change
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
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
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
2008 Aug 29
2
sieve forward/redirect to multiple addresses
How can I do this with Sieve?
I have a script like this:
if header :value "ge" :comparator "i;ascii-numeric" ["X-Spam-Score"] ["25"]
{
discard;
stop;
}
elsif header :value "ge" :comparator "i;ascii-numeric" ["X-Spam-Score"] ["5"]
{
fileinto "Junk";
stop;
}
else
{
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
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
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"
2007 Sep 18
2
Running a script when a mail arrives
Hi,
I'm trying to execute a script when a mail arrives in a given user's
mailbox. Something like .dovecot.sieve.
The reason I'm not using sieve itself is that I need to do stuff on mail
arrival, which is beyond sieve's features.
So is there a way to tell dovecot to run a script when a mail arrives in
a certain mailbox? Optionally a solution to forward the whole mail to a
2008 Jul 01
2
sieve doesn't work with 1.1.1
Hello
This is my dovecot.conf
: /etc/dovecot/dovecot.conf
log_path: /var/log/dovecot.log
info_log_path: /var/log/dovecot.info
protocols: imap imaps managesieve
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
mail_location:
2008 Aug 19
1
sendmail permissions denied
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
With the sieve plugin trying to redirect or send vacation reply I'm
getting the following error:
Aug 19 13:12:52 goku deliver(joeblow): [ID 619685 mail.info] Module
loaded: /use
rM/mail-services/dovecot/lib/dovecot/lda/lib90_cmusieve_plugin.so
Aug 19 13:12:52 goku deliver(joeblow): [ID 848615 mail.info] mbox:
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.
2008 Jun 18
1
debugging dovecot and sieve
I have install dovecot and sieve and it doesn't appear to be working.
Below is my dovecot.conf
Are there some debugging settings I can use to test if dovecot is
linking with sieve properly.
Nothing appears to show up in the logs
start dovecot.conf
=======================
cat /usr/local/etc/dovecot.conf
base_dir = /var/run/dovecot/
auth_verbose=yes
auth_debug=yes
mail_debug=yes
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 Nov 19
1
Sieve compilation error
Hi list
Trying to get sieve for 1.2 running (dovecot sieve, not cmusieve)
I'm running on centos 5.4 64bit, dovecot rpms installed from
http://atrpms.net/dist/el5/dovecot/ ( dovecot-1.2.7-0_102.el5.x86_64.rpm
and dovecot-devel-1.2.7-0_102.el5.x86_64.rpm )
I pulled the sieve sources ( hg clone
http://hg.rename-it.nl/dovecot-1.2-sieve )
autogen.sh
./configure
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