summaryrefslogtreecommitdiff
path: root/scripts/leave
diff options
context:
space:
mode:
authorbwarsaw2001-06-27 23:02:46 +0000
committerbwarsaw2001-06-27 23:02:46 +0000
commit5f3342e87b1ac613c5f5efe4c318c1cce9943fdd (patch)
tree475b4d5b19f5807c79508b21e48986a996af5802 /scripts/leave
parent083048a5fa8ed092bb9a6ec27ff7c6e02d28cbc0 (diff)
downloadmailman-5f3342e87b1ac613c5f5efe4c318c1cce9943fdd.tar.gz
mailman-5f3342e87b1ac613c5f5efe4c318c1cce9943fdd.tar.zst
mailman-5f3342e87b1ac613c5f5efe4c318c1cce9943fdd.zip
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.
Diffstat (limited to 'scripts/leave')
-rwxr-xr-xscripts/leave2
1 files changed, 1 insertions, 1 deletions
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)