On Sun, Mar 28, 2010 at 11:04:11AM +0545, Bibek Shrestha wrote:
> We're programmatically generating mailing lists
> [email protected] [email protected]
>
> We've also creating new email addresses
> [email protected], [email protected]
>
> How is it possible to subscribe [email protected] to [email protected]
>
> Currently, i'm looking into send commands to [email protected] with
> subscribe password nodigest [email protected]
>
> This however sends back a confirmation request, how can i subscribe
> only the autogenerated [email protected] without confirmation?
add_members.
Or script something that takes advantage of the common parts (in your
example, the numeral), to create the list, and handle the
subscription:
== untested ==
#!/bin/sh
set -e
passwd=`apg -n1`
newlist list${1} [email protected] ${passwd}
cat "[email protected]" > subscr
add_members -r subscr list${1}
rm subscr
as something quick and dirty. The assumptions are that urlhost and
emailhost settings will be fine, otherwise, specify them, with their
respective options.
Create that as a script, and run it with the common variable (e.g. 1)
as its only arguement.
--
``In Lent she ate onion soup and gave up drink; but
otherwise she must have drunk the maximum compatible
with survival and sanity.''
(Telegraph Obit of Jennifer Paterson, one of the 'Two Fat Ladies')
------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org