How can an anonymous user subscribe to a mailing list ?

I see there's a permission for the anonymous user for "can subscribe to mailing-list@name.com" but there's no block on other form of a UI to allow anonymous users to subscribe to the mailing list.

For example, look at the Simplenews module. It provides a block for allowing anonymous users to subscribe or unsubscribe.

Comments

samuelet’s picture

No block is provided, at least in the currently release.
To enable anonymous subscriptions simply give him the "UMR access" permission and the "can subscribe to ..." permission to a previously configured list (consider to enable the invite option to prevent spam subscriptions).
Then it'll be able to access the list subscription at the "/user_mailman_register" page (like other permitted roles).
This link will be also provided to anonymous users in the drupal navigation menu.

mkmk’s picture

Thanks for the feedback. I enabled these permissions and got anonymous subscriptions to work. However, it is not possible for an anonymous user to unsubscribe. The Simplenews module for example allows that. The only way to do so is if we have mailman send new subscriptions a welcome email, which then defeats the purpose of hiding the fact that we are using mailman for the mailing lists.

It would also be nice if there was a way to integrate the CAPTCHA module with this, so we don't have to select the invite option and expose the fact that we are using mailman.

I've tried configuring CAPTCHA with the name of the user_mailman_register form, but it does not seem to work (perhaps this is a problem with the CAPTCHA module ?).

samuelet’s picture

The form name is "_user_mailman_register_form", perhaps this works in captcha but i don't think that trusting only the captcha mechanism and not using the "invite option" will prevent fake subscriptions.
On the other hand, UMR is mainly a wrapper and differently from Simplenews, which internally maintains subscriptions data, it could more difficult and often useless to duplicate mailman functions, like the email confirmation itself (btw, you can change its text editing the mailman invite.txt file: http://wiki.list.org/pages/viewpage.action?pageId=4030605).
Add an unsubscribe anonymous options also requires a confirmation email mechanism and it seems to me there's no way to wrap in UMR the mailman one like for the invite option, but i'll look deeper in the issue.
In the meanwhile any suggestion is well accepted.

jcarrothers’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

I'm closing this very old issue as by design.