Skip to content
Snippets Groups Projects
Commit 9a6010b5 authored by Stephan Bosch's avatar Stephan Bosch
Browse files

Minor compile and documentation changes.

parent f9539ec2
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
!! WARNING !! !! WARNING !!
This sieve implementation is highly experimental. In addition to the usual GPL This sieve implementation is highly experimental. In addition to the usual GPL
disclaimer I urge you not to use this for any important mail just yet! disclaimer you are advised not to use this for any important mail just yet!
The current status of this project is outlined in the TODO file.
################################################################################ ################################################################################
......
Sieve implementation for Dovecot (1.1)
################################################################################ ################################################################################
!! WARNING !! !! WARNING !!
This sieve implementation is highly experimental. In addition to the usual GPL This sieve implementation is highly experimental. In addition to the usual GPL
disclaimer I urge you not to use this for any important mail just yet! disclaimer you are advised not to use this for any important mail just yet!
The current status of this project is outlined in the TODO file.
################################################################################ ################################################################################
...@@ -24,8 +28,18 @@ end of the logfile. I currently didn't bother to implement log rotation, so keep ...@@ -24,8 +28,18 @@ end of the logfile. I currently didn't bother to implement log rotation, so keep
this in mind. Some development-related debug output is sent to stderr/stdout at this in mind. Some development-related debug output is sent to stderr/stdout at
all times, this will be removed when this project matures. all times, this will be removed when this project matures.
The cmusieve plugin compiled the script into a file with an appended c, e.g.
'test.sievec'. This new implementation recognizes scripts to have the .sieve
extension. The binary is (by default) written to a file with extension .svbin.
This means that the default .dovecot.sieve is compiled into .dovecot.svbin.
Included scripts are currently always compiled into the main binary, meaning
that no other files are written and no permission to do so is necessary for the
global script directories.
To test the sieve engine outside deliver it is useful to execute the binaries To test the sieve engine outside deliver it is useful to execute the binaries
that exist in the src/sieve-bin/ directory: that exist in the src/sieve-bin/ directory of this package. After installation,
these scripts are available in the dovecot lib directory. The following commands
are available:
-- --
...@@ -54,12 +68,12 @@ encountered during execution and finally it prints a list of actions that would ...@@ -54,12 +68,12 @@ encountered during execution and finally it prints a list of actions that would
have been performed on this message. have been performed on this message.
Options: Options:
-r envelope recipient address -r envelope recipient address
-s envelope sender -s envelope sender
-m the mailbox where the keep action should store -m the mailbox where the keep action should store
-d causes a dump of the generated code to be written to the specified -d causes a dump of the generated code to be written to the specified
file. Using - as filename causes the dump to be written to stdout file. Using - as filename causes the dump to be written to stdout
-c force compilation (ignore any existing binary) -c force compilation (ignore any existing binary)
-- --
...@@ -158,12 +172,14 @@ or even fully RFC-compliant. Other extensions will be added as soon as the ...@@ -158,12 +172,14 @@ or even fully RFC-compliant. Other extensions will be added as soon as the
necessary infrastructure is available. Extensions already supported by cmusieve necessary infrastructure is available. Extensions already supported by cmusieve
have priority. have priority.
Design Contact Info
------ ------------
Stephan Bosch <stephan at rename-it dot nl>
IRC: Freenode, #dovecot, S[r]us
Refer to DESIGN file. Please use the Dovecot mailing list <dovecot at dovecot.org> for questions about
this package. You can post to the list without subscribing, the mail then waits
in a moderator queue for a while. See http://dovecot.org/mailinglists.html
TODO
----
Refer to TODO file.
AC_INIT([dovecot-sieve], [0.0.1], [dovecot@dovecot.org], [dovecot-1.2-sieve]) AC_INIT([dovecot-sieve], [0.0.0], [dovecot@dovecot.org], [dovecot-1.1-sieve])
AC_CONFIG_SRCDIR([src]) AC_CONFIG_SRCDIR([src])
AC_CONFIG_HEADERS([dsieve-config.h]) AC_CONFIG_HEADERS([dsieve-config.h])
...@@ -11,7 +11,7 @@ AC_PROG_CPP ...@@ -11,7 +11,7 @@ AC_PROG_CPP
AM_PROG_LIBTOOL AM_PROG_LIBTOOL
AC_ARG_WITH(dovecot, AC_ARG_WITH(dovecot,
[ --with-dovecot[=DIR] Dovecot base directory (../)], [AC_HELP_STRING([--with-dovecot=DIR], [Dovecot base directory [../dovecot]])],
dovecotdir="$withval", dovecotdir="$withval",
dovecotdir=../dovecot dovecotdir=../dovecot
) )
......
pkglibexecdir = $(libexecdir)/dovecot
bin_PROGRAMS = sievec sieved sieve-test sieve-exec bin_PROGRAMS = sievec sieved sieve-test sieve-exec
AM_CPPFLAGS = \ AM_CPPFLAGS = \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.