minor stuff

This commit is contained in:
lars 2007-04-24 08:10:29 +00:00
parent c76dc6b222
commit 77eeb1fcd0
2 changed files with 6 additions and 2 deletions

View file

@ -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:

View file

@ -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