Displaying 4 results from an estimated 4 matches for "bin_dir".
2002 Jun 21
1
samba-2.2.5 -- a minor "make install" problem and 2 suggestions
...--- samba-2.2.5.orig/source/script/installbin.sh 2001-01-12 20:28:02.000000000 +0100
+++ samba-2.2.5/source/script/installbin.sh 2002-06-20 19:16:05.000000000 +0200
@@ -1,17 +1,21 @@
#!/bin/sh
+DESTDIR=$1
+shift
+
INSTALLPERMS=$1
-BASEDIR=$2
-BINDIR=$3
-LIBDIR=$4
-VARDIR=$5
+BASEDIR=$DESTDIR$2
+BIN_DIR=$3
+BINDIR=$DESTDIR$3
+LIBDIR=$DESTDIR$4
+VARDIR=$DESTDIR$5
shift
shift
shift
shift
shift
-for d in $BASEDIR $BINDIR $LIBDIR $VARDIR $BASEDIR/private; do
+for d in $BASEDIR $BINDIR $LIBDIR $VARDIR $BASEDIR/private $DESTDIR/sbin; do
if [ ! -d $d ]; then
mkdir $d
if [ ! -d $d ]; then
@@ -34...
2020 Jan 21
0
Getting an extprogram script to work
...or learn_spam depending on where I move a message. My current
problem is that Dovecot seems to be reporting success, but nothing ever
happens -- the script somehow fails to run.
I'm currently using a dummy script that just writes a file to /tmp,
until I can get this much working, at least. My bin_dir:
---------------------
me at server:/usr/lib/dovecot/sieve# ls -l
total 40
drwxr-xr-x 2 root root 4096 Jan 21 03:35 ./
drwxr-xr-x 4 root root 12288 Aug 29 06:28 ../
-rw-r--r-- 1 root root 112 Jan 21 02:17 report-ham.sieve
-rw-r--r-- 1 root root 250 Jan 21 02:17 report-ham.svbin
-rw-r--r-- 1 r...
2015 Sep 21
4
sieve_extprograms - run any individual script?
...script.
For security reasons it is needed that script-paths etc. are registered
in dovecot.conf
This is my current dovecot.conf
plugin {
sieve = ~/.dovecot.sieve
sieve_plugins = sieve_extprograms
sieve_extensions = +vnd.dovecot.pipe +vnd.dovecot.filter
+vnd.dovecot.execute
sieve_pipe_bin_dir = /usr/local/bin/
sieve_filter_bin_dir = /usr/local/bin/
}
.dovecot.sieve example:
if address "to" "test at example.com"
{
filter "myfilter";
}
This is all working without problems.
Is there a possibility to allow users the execution of individual
scri...
2017 Dec 18
3
sieve_pipe_socket_dir not created at startup for configured pipe service
...lar needs. I?m trying to set up a pipe service using sieve-extprograms, and the relevant part of my config looks like this:
plugin {
sieve_pipe_input_eol = lf
sieve_pipe_socket_dir = sieve-pipe
sieve_filter_socket_dir = sieve-filter
sieve_execute_socket_dir = sieve-execute
sieve_pipe_bin_dir = /usr/local/libexec/dovecot/sieve-pipe
sieve_filter_bin_dir = /usr/local/libexec/dovecot/sieve-filter
sieve_execute_bin_dir = /usr/local/libexec/dovecot/sieve-execute
}
service sieve-train-ham {
executable = script /usr/local/libexec/dovecot/sieve-pipe/train-ham.sh
# Needs access to dspa...