diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/auto | 1 | ||||
| -rwxr-xr-x | scripts/join | 2 | ||||
| -rwxr-xr-x | scripts/leave | 2 | ||||
| -rwxr-xr-x | scripts/mailcmd | 3 | ||||
| -rwxr-xr-x | scripts/mailowner | 6 | ||||
| -rwxr-xr-x | scripts/owner | 6 | ||||
| -rwxr-xr-x | scripts/post | 2 | ||||
| -rwxr-xr-x | scripts/request | 3 |
8 files changed, 16 insertions, 9 deletions
diff --git a/scripts/auto b/scripts/auto index 602547c21..e94772cc4 100644 --- a/scripts/auto +++ b/scripts/auto @@ -105,6 +105,7 @@ def main(): inq.enqueue(sys.stdin.read(), listname=listname, received_time=time.time(), + _plaintext=1, **{subdest: 1}) return 0 diff --git a/scripts/join b/scripts/join index afd7c7ff9..70f1d6b37 100755 --- a/scripts/join +++ b/scripts/join @@ -53,7 +53,7 @@ def main(): # is a good example; if the limit is hit, the proc is SIGKILL'd giving us # no chance to save the message. cmdq = get_switchboard(mm_cfg.CMDQUEUE_DIR) - cmdq.enqueue(sys.stdin.read(), listname=listname, tojoin=1) + cmdq.enqueue(sys.stdin.read(), listname=listname, tojoin=1, _plaintext=1) diff --git a/scripts/leave b/scripts/leave index 84b5462c8..e5473f6e8 100755 --- a/scripts/leave +++ b/scripts/leave @@ -53,7 +53,7 @@ def main(): # is a good example; if the limit is hit, the proc is SIGKILL'd giving us # no chance to save the message. cmdq = get_switchboard(mm_cfg.CMDQUEUE_DIR) - cmdq.enqueue(sys.stdin.read(), listname=listname, toleave=1) + cmdq.enqueue(sys.stdin.read(), listname=listname, toleave=1, _plaintext=1) diff --git a/scripts/mailcmd b/scripts/mailcmd index 61d7b0ce8..409f4cf0b 100755 --- a/scripts/mailcmd +++ b/scripts/mailcmd @@ -53,7 +53,8 @@ def main(): # is a good example; if the limit is hit, the proc is SIGKILL'd giving us # no chance to save the message. cmdq = get_switchboard(mm_cfg.CMDQUEUE_DIR) - cmdq.enqueue(sys.stdin.read(), listname=listname, torequest=1) + cmdq.enqueue(sys.stdin.read(), listname=listname, torequest=1, + _plaintext=1) diff --git a/scripts/mailowner b/scripts/mailowner index fb0550bea..af27ca26c 100755 --- a/scripts/mailowner +++ b/scripts/mailowner @@ -47,7 +47,8 @@ def main(): sys.exit(1) # Make sure the list exists if not Utils.list_exists(listname): - print >> sys.stderr, _('mailcmd script, list not found: %(listname)s') + print >> sys.stderr, _( + 'mailowner script, list not found: %(listname)s') sys.exit(1) # Immediately queue the message for the bounce/cmd qrunner to process. # The advantage to this approach is that messages should never get lost -- @@ -60,7 +61,8 @@ def main(): # processing while -owner messages do not. However, it's too expensive to # make this determination here, so we defer it to the CommandRunner. cmdq = get_switchboard(mm_cfg.CMDQUEUE_DIR) - cmdq.enqueue(sys.stdin.read(), listname=listname, toauthoritah=1) + cmdq.enqueue(sys.stdin.read(), listname=listname, toauthoritah=1, + _plaintext=1) diff --git a/scripts/owner b/scripts/owner index fb0550bea..af27ca26c 100755 --- a/scripts/owner +++ b/scripts/owner @@ -47,7 +47,8 @@ def main(): sys.exit(1) # Make sure the list exists if not Utils.list_exists(listname): - print >> sys.stderr, _('mailcmd script, list not found: %(listname)s') + print >> sys.stderr, _( + 'mailowner script, list not found: %(listname)s') sys.exit(1) # Immediately queue the message for the bounce/cmd qrunner to process. # The advantage to this approach is that messages should never get lost -- @@ -60,7 +61,8 @@ def main(): # processing while -owner messages do not. However, it's too expensive to # make this determination here, so we defer it to the CommandRunner. cmdq = get_switchboard(mm_cfg.CMDQUEUE_DIR) - cmdq.enqueue(sys.stdin.read(), listname=listname, toauthoritah=1) + cmdq.enqueue(sys.stdin.read(), listname=listname, toauthoritah=1, + _plaintext=1) diff --git a/scripts/post b/scripts/post index 6012d057e..4b4d8b56f 100755 --- a/scripts/post +++ b/scripts/post @@ -61,7 +61,7 @@ def main(): inq = get_switchboard(mm_cfg.INQUEUE_DIR) inq.enqueue(sys.stdin.read(), listname=listname, - tolist=1) + tolist=1, _plaintext=1) diff --git a/scripts/request b/scripts/request index 61d7b0ce8..409f4cf0b 100755 --- a/scripts/request +++ b/scripts/request @@ -53,7 +53,8 @@ def main(): # is a good example; if the limit is hit, the proc is SIGKILL'd giving us # no chance to save the message. cmdq = get_switchboard(mm_cfg.CMDQUEUE_DIR) - cmdq.enqueue(sys.stdin.read(), listname=listname, torequest=1) + cmdq.enqueue(sys.stdin.read(), listname=listname, torequest=1, + _plaintext=1) |
