minor stuff
This commit is contained in:
parent
c76dc6b222
commit
77eeb1fcd0
2 changed files with 6 additions and 2 deletions
|
@ -37,7 +37,9 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# TODO: implement 'sign_messages' setting
|
# TODO:
|
||||||
|
# implement 'sign_messages'
|
||||||
|
# implement 'hide_subject'
|
||||||
|
|
||||||
|
|
||||||
import sys, os, re
|
import sys, os, re
|
||||||
|
@ -304,6 +306,8 @@ def check_for_errors():
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
# reduce priority
|
||||||
|
os.nice(5)
|
||||||
if not check_for_errors():
|
if not check_for_errors():
|
||||||
internal_error()
|
internal_error()
|
||||||
if len(sys.argv) == 1:
|
if len(sys.argv) == 1:
|
||||||
|
|
|
@ -116,7 +116,7 @@ if test -z "$EXT"
|
||||||
test -r "$DOTQMAIL_FILE" || $EXEC_ORIG_QUEUE
|
test -r "$DOTQMAIL_FILE" || $EXEC_ORIG_QUEUE
|
||||||
|
|
||||||
# filter the respective mailing list directory of this delivery
|
# 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?
|
# is it a mailinglist directory?
|
||||||
test -e "$MAILINGLIST_DIR/lock" || $EXEC_ORIG_QUEUE
|
test -e "$MAILINGLIST_DIR/lock" || $EXEC_ORIG_QUEUE
|
||||||
|
|
Loading…
Reference in a new issue