summaryrefslogtreecommitdiff
path: root/scripts/mailowner
diff options
context:
space:
mode:
authorcotton1998-10-01 15:51:49 +0000
committercotton1998-10-01 15:51:49 +0000
commit1819c802f103a0178d00bc7b18be76da15738215 (patch)
treeb5a14ea76889a731f73ee1039834df67f0718b1f /scripts/mailowner
parent25cf5dc3beba9437557399efcb4e52b04d514143 (diff)
downloadmailman-1819c802f103a0178d00bc7b18be76da15738215.tar.gz
mailman-1819c802f103a0178d00bc7b18be76da15738215.tar.zst
mailman-1819c802f103a0178d00bc7b18be76da15738215.zip
Added DeliverToOwner to Deliverer class in Deliverer.py that passes
a message to the -admin address to the owners untouched and with the sender of the original message Added a GetEnvelopeSender method to Message.py that attempts to find the envelope sender from a messages's unix from line for use by DeliverToOwner changed the mailowner script to use DeliverToOwner method instead of the DeliverToList method scott
Diffstat (limited to 'scripts/mailowner')
-rwxr-xr-xscripts/mailowner3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/mailowner b/scripts/mailowner
index d77084b63..3a703a184 100755
--- a/scripts/mailowner
+++ b/scripts/mailowner
@@ -44,7 +44,8 @@ current_list = MailList.MailList(sys.argv[1])
try:
msg = Message.IncomingMessage()
if not current_list.bounce_processing or not current_list.ScanMessage(msg):
- current_list.DeliverToList(msg, current_list.owner, '', '')
+ current_list.DeliverToOwner(msg, current_list.owner)
+
# Let another process run.
finally:
current_list.Unlock()