diff --git a/INSTALL b/INSTALL index 746a9c5225736fc8001427415c05e0478f8f0368..a1cbd10e6cbc2c338be49fd0015dda3456f7bff5 100644 --- a/INSTALL +++ b/INSTALL @@ -2,7 +2,9 @@ !! WARNING !! 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. ################################################################################ diff --git a/README b/README index b7e91ed659c6bd5a31e2a7118481cdf5176cbd92..191ece00d0ce3a8a21baf176d61e4e65fb817fd3 100644 --- a/README +++ b/README @@ -1,8 +1,12 @@ +Sieve implementation for Dovecot (1.1) + ################################################################################ !! WARNING !! 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 this in mind. Some development-related debug output is sent to stderr/stdout at 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 -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 have been performed on this message. Options: - -r envelope recipient address - -s envelope sender - -m the mailbox where the keep action should store - -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 - -c force compilation (ignore any existing binary) + -r envelope recipient address + -s envelope sender + -m the mailbox where the keep action should store + -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 + -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 necessary infrastructure is available. Extensions already supported by cmusieve 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. diff --git a/configure.in b/configure.in index 0f5a11a03cb4e9115b9ee6b8edfebbad907e3f8b..4c225fdaac1311ccbe422338eee7843299cf07c5 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -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_HEADERS([dsieve-config.h]) @@ -11,7 +11,7 @@ AC_PROG_CPP AM_PROG_LIBTOOL AC_ARG_WITH(dovecot, -[ --with-dovecot[=DIR] Dovecot base directory (../)], +[AC_HELP_STRING([--with-dovecot=DIR], [Dovecot base directory [../dovecot]])], dovecotdir="$withval", dovecotdir=../dovecot ) diff --git a/src/sieve-bin/Makefile.am b/src/sieve-bin/Makefile.am index a7030e13390e14b0946fadd1814a72ad820b7c3b..48c489e042dd2a3e5a18c1e163e7bd2dc0ceab55 100644 --- a/src/sieve-bin/Makefile.am +++ b/src/sieve-bin/Makefile.am @@ -1,3 +1,5 @@ +pkglibexecdir = $(libexecdir)/dovecot + bin_PROGRAMS = sievec sieved sieve-test sieve-exec AM_CPPFLAGS = \