Autosubscribe email address
We're programmatically generating mailing lists list1@example.com list2@example.com
We've also creating new email addresses user1@domain.com, user2@domain.com
How is it possible to subscribe user1@domain.com to list1@example.com
Currently, i'm looking into send commands to list1-request@example.com with subscribe password nodigest address=user1@domain.com
This however sends back a confirmation request, how can i subscribe only the autogenerated user1@domain.com without confirmation? The rest of the normal users would still have to confirm before they are subscribed.
Bibek Shrestha bibekshrestha at gmail dot com Blog: http://bibekshrestha.com.np Twitter: http://twitter.com/bibstha
Bibek Shrestha wrote:
We're programmatically generating mailing lists list1@example.com list2@example.com
We've also creating new email addresses user1@domain.com, user2@domain.com
How is it possible to subscribe user1@domain.com to list1@example.com
Presumably, you can run commands on the server. If so, see the FAQ at <http://wiki.list.org/x/z4A9>. Look particularly at add_members and sync_members.
Currently, i'm looking into send commands to list1-request@example.com with subscribe password nodigest address=user1@domain.com
This however sends back a confirmation request, how can i subscribe only the autogenerated user1@domain.com without confirmation? The rest of the normal users would still have to confirm before they are subscribed.
If you don't have command access to the server (how are you creating lists and users?), see the FAQ at <http://wiki.list.org/x/uIA9>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Sun, Mar 28, 2010 at 11:04:11AM +0545, Bibek Shrestha wrote:
We're programmatically generating mailing lists list1@example.com list2@example.com
We've also creating new email addresses user1@domain.com, user2@domain.com
How is it possible to subscribe user1@domain.com to list1@example.com
Currently, i'm looking into send commands to list1-request@example.com with subscribe password nodigest address=user1@domain.com
This however sends back a confirmation request, how can i subscribe only the autogenerated user1@domain.com 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} listadmin@example.com ${passwd}
cat "user${1}@domain.com" > 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')
Thanks, add_members is what i will be using for the moment. Waiting for version 3.0 as I assume the REST api will allow this?
Cheers
Bibek Shrestha bibekshrestha at gmail dot com Blog: http://bibekshrestha.com.np Twitter: http://twitter.com/bibstha
On Sun, Mar 28, 2010 at 8:36 PM, Adam McGreggor <adam-mailman@amyl.org.uk> wrote:
On Sun, Mar 28, 2010 at 11:04:11AM +0545, Bibek Shrestha wrote:
We're programmatically generating mailing lists list1@example.com list2@example.com
We've also creating new email addresses user1@domain.com, user2@domain.com
How is it possible to subscribe user1@domain.com to list1@example.com
Currently, i'm looking into send commands to list1-request@example.com with subscribe password nodigest address=user1@domain.com
This however sends back a confirmation request, how can i subscribe only the autogenerated user1@domain.com 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 -n1newlist list${1} listadmin@example.com ${passwd} cat "user${1}@domain.com" > subscr add_members -r subscr list${1} rm subscras 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')
Hi Bibek.
On 28.03.2010 07:19, Bibek Shrestha wrote:
We're programmatically generating mailing lists list1@example.com list2@example.com
We've also creating new email addresses user1@domain.com, user2@domain.com
How is it possible to subscribe user1@domain.com to list1@example.com
Currently, i'm looking into send commands to list1-request@example.com with subscribe password nodigest address=user1@domain.com
This however sends back a confirmation request, how can i subscribe only the autogenerated user1@domain.com without confirmation? The rest of the normal users would still have to confirm before they are subscribed.
So you might want to set the relevant "Privacy options" to something like: subscribe_policy = "Require approval". See the mailing list's /privacy page for details.
HTH, Ulf Dunkel
participants (4)
-
Adam McGreggor -
Bibek Shrestha -
Mark Sapiro -
Ulf Dunkel