[Mailman-Developers] Mail of subscribe to mailing list withmultiple users

Mark Sapiro mark at msapiro.net
Thu Nov 19 17:33:37 CET 2009


peibel80 wrote:
>
>I need make mail of subscription with multiple users,
>
>Is possible make a mail with name-request at sudominio.com with several lines
>of subscribe [contraseña] [digest|nodigest] [address=]  command 
>
>if is yes, I need a example,


This question is more appropriate for mailman-users at python.org
<http://mail.python.org/mailman/listinfo/mailman-users>, but...

The email subscribe interface is designed for users to request their
own subscription, but it does allow alternate address specification,
so it will accommodate what you want.

You could send an email to name-request at sudominio.com with multiple
subscribe commands such as the following. You can put the first
subscribe caoomand in the Subject: and the rest in the body, or you
can put them all in the body with no Subject: or an innocuous subject
that doesn't say "subscribe"

example commands:

subscribe xyz01qwe digest address=user1 at example.com
subscribe address=user2 at example.com
subscribe nodigest

The first requests subscription for user1 at example.com in digest mode
with list password xyz01qwe

The second requests subscription for user2 at example.com with mode
determined by the list's digest_is_default setting and a randomly
generated list password

The third requests subscription for the sender of the email in
non-digest mode with a randomly generated list password

There are other possibilities. Note that the only way to specify a
'real name' is to not specify the address= option which will then take
the name and address from the From: header of the request.

Also, note that these are not 'administrative' subscribes; they are
user requests and as such are subject to confirmation/approval as
determined by the list's subscribe_policy.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Developers mailing list