diff options
| author | mailman | 1998-03-26 05:00:53 +0000 |
|---|---|---|
| committer | mailman | 1998-03-26 05:00:53 +0000 |
| commit | aa8ad06cf3d1c8e389e4cae0714541d3aeca1e69 (patch) | |
| tree | 38ea20fcc09ee6bad4d2b35101f0e75ae7415db4 /cgi/subscribe | |
| parent | 214147f47710870d6bba22cc14594a0f9d82903e (diff) | |
| download | mailman-aa8ad06cf3d1c8e389e4cae0714541d3aeca1e69.tar.gz mailman-aa8ad06cf3d1c8e389e4cae0714541d3aeca1e69.tar.zst mailman-aa8ad06cf3d1c8e389e4cae0714541d3aeca1e69.zip | |
Added an errors-to line to subscription instructions message - but
still, error notice gets sent to -request addr and (mal)treated as a
request.
Refined subscriptions instructions msg, among others.
Diffstat (limited to '')
| -rwxr-xr-x | cgi/subscribe | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/cgi/subscribe b/cgi/subscribe index 0fd040d65..f521687fd 100755 --- a/cgi/subscribe +++ b/cgi/subscribe @@ -8,16 +8,16 @@ NEED_CONFIRM_NOTICE = """ A web request for your subscription to the %s mailing list has been received at %s%s -This is a confirmation request, to prevent someone subscribing you -against your wishes. In order to complete this subscription you -must send a confirming email by repling to this mail, including just the -line: +This is a confirmation request, to prevent anyone from subscribing +you against your wishes. In order to complete this subscription you +must send a confirming email, to %s, by +repling to this mail, and including just the line: subscribe %s in the body or as the subject line. If you do not actually wish to subscribe you need not do anything. Upon subscribing you will receive -message welcoming you to the list and describing how to tailor your +a message welcoming you to the list and describing how to tailor your account. Questions or comments? @@ -131,8 +131,8 @@ else: except mm_err.MMWebSubscribeRequiresConfirmation: results = results + ("Confirmation from your email address is " "required, to prevent anyone from covertly " - "subscribing other people. Instructions " - "are being sent to you at %s." % email) + "subscribing you. Instructions are being " + "sent to you at %s." % email) if os.environ.has_key('REMOTE_HOST'): remote = " from %s. " % os.environ['REMOTE_HOST'] elif os.environ.has_key('REMOTE_ADDR'): @@ -142,10 +142,13 @@ else: list.SendTextToUser(subject = 'Subscribing to %s' % list.real_name, recipient = email, sender = list.GetRequestEmail(), - text = NEED_CONFIRM_NOTICE % (list.real_name, - list.host_name, - remote, - pw)) + text = (NEED_CONFIRM_NOTICE + % (list.real_name, + list.host_name, + remote, + list.GetRequestEmail(), + pw)), + errorsto = list.GetAdminEmail()) except mm_err.MMBadEmailError: results = results + ("Mailman won't accept the given email " "address as a valid address. (Does it " |
