From 5f3342e87b1ac613c5f5efe4c318c1cce9943fdd Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Wed, 27 Jun 2001 23:02:46 +0000 Subject: main(): Be sure to set the _plaintext message metadata key to inform the Switchboard that it should save the message as plain text and not as a pickle. --- scripts/mailcmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/mailcmd') 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) -- cgit v1.2.3-70-g09d2