summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/mailowner4
-rwxr-xr-xscripts/owner4
2 files changed, 6 insertions, 2 deletions
diff --git a/scripts/mailowner b/scripts/mailowner
index 749935dce..6368b51aa 100755
--- a/scripts/mailowner
+++ b/scripts/mailowner
@@ -57,7 +57,9 @@ def main():
msg = Message.OutgoingMessage(s.getvalue())
msg.recips = mlist.owner[:]
# for debugging purposes
- msg.recips.append(mm_cfg.MAILMAN_OWNER)
+## msg.recips.append(mm_cfg.MAILMAN_OWNER)
+ # flag this message as coming to the -admin address
+ msg.toadmin = 1
HandlerAPI.DeliverToUser(mlist, msg)
finally:
mlist.Save()
diff --git a/scripts/owner b/scripts/owner
index 749935dce..6368b51aa 100755
--- a/scripts/owner
+++ b/scripts/owner
@@ -57,7 +57,9 @@ def main():
msg = Message.OutgoingMessage(s.getvalue())
msg.recips = mlist.owner[:]
# for debugging purposes
- msg.recips.append(mm_cfg.MAILMAN_OWNER)
+## msg.recips.append(mm_cfg.MAILMAN_OWNER)
+ # flag this message as coming to the -admin address
+ msg.toadmin = 1
HandlerAPI.DeliverToUser(mlist, msg)
finally:
mlist.Save()