summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/answer_majordomo_mail2
-rwxr-xr-xscripts/mailowner2
-rwxr-xr-xscripts/owner2
3 files changed, 3 insertions, 3 deletions
diff --git a/scripts/answer_majordomo_mail b/scripts/answer_majordomo_mail
index 4ef5fdbc6..9a3b753d9 100755
--- a/scripts/answer_majordomo_mail
+++ b/scripts/answer_majordomo_mail
@@ -32,7 +32,7 @@ try:
except IOError:
pass # Oh well - SOL on redirect, errors show thru.
-msg = Message.IncomingMessage()
+msg = Message.Message(sys.stdin)
txtfile = os.path.join(paths.prefix, 'misc/majordomo.answer.txt')
text = open(txtfile, 'r').read()
Utils.SendTextToUser('Your mail to Majordomo...', text, msg.GetSender(),
diff --git a/scripts/mailowner b/scripts/mailowner
index c3d747d92..e53c71201 100755
--- a/scripts/mailowner
+++ b/scripts/mailowner
@@ -41,7 +41,7 @@ except IOError:
# and should send back an error message when it does.
mlist = MailList.MailList(sys.argv[1])
try:
- msg = Message.IncomingMessage()
+ msg = Message.Message(sys.stdin)
if not mlist.bounce_processing or not mlist.ScanMessage(msg):
mlist.DeliverToOwner(msg, mlist.owner)
diff --git a/scripts/owner b/scripts/owner
index c3d747d92..e53c71201 100755
--- a/scripts/owner
+++ b/scripts/owner
@@ -41,7 +41,7 @@ except IOError:
# and should send back an error message when it does.
mlist = MailList.MailList(sys.argv[1])
try:
- msg = Message.IncomingMessage()
+ msg = Message.Message(sys.stdin)
if not mlist.bounce_processing or not mlist.ScanMessage(msg):
mlist.DeliverToOwner(msg, mlist.owner)