From 1819c802f103a0178d00bc7b18be76da15738215 Mon Sep 17 00:00:00 2001 From: cotton Date: Thu, 1 Oct 1998 15:51:49 +0000 Subject: 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 --- scripts/mailowner | 3 ++- scripts/owner | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts') 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() diff --git a/scripts/owner b/scripts/owner index d77084b63..3a703a184 100755 --- a/scripts/owner +++ b/scripts/owner @@ -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() -- cgit v1.3.1