summaryrefslogtreecommitdiff
path: root/Mailman/Deliverer.py
diff options
context:
space:
mode:
authorklm1998-04-11 19:08:35 +0000
committerklm1998-04-11 19:08:35 +0000
commitfdb5c2817b9eea6451d91f744b8d7997053e4fc8 (patch)
treebe1147bbab4b5ac4aaab49bae05a67443f203519 /Mailman/Deliverer.py
parent771b1446412ce81c21b9a3704e9ca3a1840aa797 (diff)
downloadmailman-fdb5c2817b9eea6451d91f744b8d7997053e4fc8.tar.gz
mailman-fdb5c2817b9eea6451d91f744b8d7997053e4fc8.tar.zst
mailman-fdb5c2817b9eea6451d91f744b8d7997053e4fc8.zip
Put the list-specific welcome near the top of the welcome message -
they often don't see the list-specific info, otherwise.
Diffstat (limited to 'Mailman/Deliverer.py')
-rw-r--r--Mailman/Deliverer.py19
1 files changed, 7 insertions, 12 deletions
diff --git a/Mailman/Deliverer.py b/Mailman/Deliverer.py
index 75afa4436..ec2de2a0a 100644
--- a/Mailman/Deliverer.py
+++ b/Mailman/Deliverer.py
@@ -1,6 +1,6 @@
"""Mixin class with message delivery routines."""
-__version__ = "$Revision: 432 $"
+__version__ = "$Revision: 434 $"
import string, os, sys, tempfile
@@ -19,7 +19,7 @@ was successfully received by the %s maillist.
'''
SUBSCRIBEACKTEXT = '''Welcome to the %s@%s mailing list!
-
+%s%s
General information about the maillist is at:
%s
@@ -53,10 +53,6 @@ the web page noted above.
To post to this list, send your email to:
%s
-
-%s
-
-%s
'''
USERPASSWORDTEXT = '''
@@ -166,21 +162,20 @@ class Deliverer:
def CreateSubscribeAck(self, name, password):
if self.welcome_msg:
- header = 'Here is the list-specific information:'
- welcome = self.welcome_msg
+ header = '\nHere is the list-specific welcome message:\n\n'
+ welcome = self.welcome_msg + '\n'
else:
header = ''
welcome = ''
- body = (SUBSCRIBEACKTEXT % (self.real_name, self.host_name,
+ body = (SUBSCRIBEACKTEXT % (header, welcome,
+ self.real_name, self.host_name,
self.GetScriptURL('listinfo'),
self.GetOptionsURL(name),
self.real_name, self.host_name,
password,
self.host_name,
- self.GetListEmail(),
- header,
- welcome))
+ self.GetListEmail())
return body
def SendSubscribeAck(self, name, password, digest):