From 77eeb1fcd0095f7daec269b8924bbb86002470dc Mon Sep 17 00:00:00 2001 From: lars Date: Tue, 24 Apr 2007 08:10:29 +0000 Subject: [PATCH] minor stuff --- crypto-ezmlm/trunk/bin/gpgpy-ezmlm-encrypt | 6 +++++- crypto-ezmlm/trunk/bin/gpgpy-ezmlm-queue | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/crypto-ezmlm/trunk/bin/gpgpy-ezmlm-encrypt b/crypto-ezmlm/trunk/bin/gpgpy-ezmlm-encrypt index 53920d7..58ef00f 100755 --- a/crypto-ezmlm/trunk/bin/gpgpy-ezmlm-encrypt +++ b/crypto-ezmlm/trunk/bin/gpgpy-ezmlm-encrypt @@ -37,7 +37,9 @@ # -# TODO: implement 'sign_messages' setting +# TODO: +# implement 'sign_messages' +# implement 'hide_subject' import sys, os, re @@ -304,6 +306,8 @@ def check_for_errors(): if __name__ == '__main__': + # reduce priority + os.nice(5) if not check_for_errors(): internal_error() if len(sys.argv) == 1: diff --git a/crypto-ezmlm/trunk/bin/gpgpy-ezmlm-queue b/crypto-ezmlm/trunk/bin/gpgpy-ezmlm-queue index ac8dd03..25702b0 100755 --- a/crypto-ezmlm/trunk/bin/gpgpy-ezmlm-queue +++ b/crypto-ezmlm/trunk/bin/gpgpy-ezmlm-queue @@ -116,7 +116,7 @@ if test -z "$EXT" test -r "$DOTQMAIL_FILE" || $EXEC_ORIG_QUEUE # filter the respective mailing list directory of this delivery -MAILINGLIST_DIR=$(grep "/ezmlm-send '" "$DOTQMAIL_FILE" | sed "s#^.* '\(.*\)'.*\$#\1#") +MAILINGLIST_DIR=$(grep "/ezmlm-send '" "$DOTQMAIL_FILE" | cut -d "'" -f 2) # is it a mailinglist directory? test -e "$MAILINGLIST_DIR/lock" || $EXEC_ORIG_QUEUE