summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2001-06-27 23:02:46 +0000
committerbwarsaw2001-06-27 23:02:46 +0000
commit5f3342e87b1ac613c5f5efe4c318c1cce9943fdd (patch)
tree475b4d5b19f5807c79508b21e48986a996af5802
parent083048a5fa8ed092bb9a6ec27ff7c6e02d28cbc0 (diff)
downloadmailman-5f3342e87b1ac613c5f5efe4c318c1cce9943fdd.tar.gz
mailman-5f3342e87b1ac613c5f5efe4c318c1cce9943fdd.tar.zst
mailman-5f3342e87b1ac613c5f5efe4c318c1cce9943fdd.zip
-rw-r--r--contrib/auto1
-rw-r--r--scripts/auto1
-rwxr-xr-xscripts/join2
-rwxr-xr-xscripts/leave2
-rwxr-xr-xscripts/mailcmd3
-rwxr-xr-xscripts/mailowner6
-rwxr-xr-xscripts/owner6
-rwxr-xr-xscripts/post2
-rwxr-xr-xscripts/request3
9 files changed, 17 insertions, 9 deletions
diff --git a/contrib/auto b/contrib/auto
index 602547c21..e94772cc4 100644
--- a/contrib/auto
+++ b/contrib/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/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)