[Mailman-Users] Passwords
Cristian Prevedello
plasma at prosa.it
Mon Jul 24 14:55:30 CEST 2000
here you are a quick and small patch to send password via a mail request.
This is useful especially when you don't give you web access to mailing list
users.
the syntax is very simple.
mail -s"sendpass <user>" maillist-request at domain</dev/null
the password will be mailed to <user>.
feedback is welcome :D
--
Cristian Prevedello, System Administrator, Linuxcare Italia spa
+39.049.804.3.411 tel, +39.049.803.6.484 fax
plasma at linuxcare.it, http://www.linuxcare.com/
Linuxcare. Support for the revolution.
-------------- next part --------------
94a95
> 'sendpass' : self.ProcessSendPasswordCmd,
499a501,511
> def ProcessSendPasswordCmd(self, args, cmd, mail):
> if not len(args):
> self.AddError("Usage: sendpass user")
> return
>
> try:
> self.MailUserPassword(args[0]);
> self.AddToResponse("The password for user " + args[0] + " on " + self.GetListEmail() + " has been sent.");
> except Errors.MMBadUserError:
> self.AddError("The user "+ args[0] + " doesn't exist on " + self.GetListEmail());
>
529a542
>
-------------- next part --------------
9,16d8
< Note that much of the following can also be accomplished via the World
< Wide Web, at:
<
< %(listinfo_url)s
<
< In particular, you can use the Web site to have your password sent to
< your delivery address.
<
88a81,84
> sendpass <user>
> Send the password back to the user (<user> must bhe the
> subscription email.
>
More information about the Mailman-Users
mailing list