About Subscription Confirmation



Similar documents
A List Owner s Quick Reference Guide to BGSU s LISTSERV

WebCUR ListServ. ListServ Help Manual

Listserv Mailing List Owner Quick Start Guide

What is some basic information about ListServ mailing lists?

Setting and Checking LISTSERV www Interface Permissions Windows Server 2012 with IIS 8.x Last Updated: 20 Mar 2014

MMLIST Listserv User's Guide for ICORS.ORG

SYMPA Mailing Lists for Mass s

Parallels Plesk Panel

ListManager Discussion Forums

Setup and Administration for ISVs

A quick guide to... Setting Up Your Campaigns

List Service List Ownership Basics. Introduction. Navigating the Web Interface. Process Summary Introduction. Navigating the Web Interface

1. Starting the management of a subscribers list with emill

IP Phone Services Configuration

List Service Customizing a List. Introduction. Adding an Owner or Moderator. Process Summary Introduction. Adding an Owner or Moderator

How to Create and Send Newsletter Using G-Lock EasyMail

WatchGuard QMS End User Guide

Parallels Plesk Panel

FAQ for List Owners/Moderators

Sitecore is a trademark of Sitecore A/S. All other brand and product names are the property of their respective holders.

Webmail Friends & Exceptions Guide

Cloud Services. Anti-Spam. Admin Guide

1 Classified Script. User Guide v1.0

Training. Listserv For University at Buffalo List Owners. LISTSERV Training Handout 1

University of Rochester LISTSERV. List Owner s Guide: Instructions for Self Service

Parallels Plesk Control Panel

Web Forms for Marketers 2.3 for Sitecore CMS 6.5 and

ConvincingMail.com Marketing Solution Manual. Contents

DIY Manager User Guide.

SSWLHC-List Listserve Member Guide

How To Use Listerv On A Pc Or Macbook Or Macintosh (For Pc Or Ipa) On A Macbook (For Macintosh) On Pc Or Pc Or Mpa (For Ipa Or Mac Macbook) On

SerialMailer Manual. For SerialMailer 7.2. Copyright Falko Axmann. All rights reserved.

Beloit College ListServs

LISTSERV Maestro 6.0 Installation Manual for Solaris. June 8, 2015 L-Soft Sweden AB lsoft.com

Mailchimp Integration Addon

MBLOX RESELLER GUIDE. User guide

Spam Manager User Guide. Boundary Defense for Anti-Spam End User Guide

CAMPAIGNS...5 LIST BUILDER FORMS...

Logging into the control panel

Majordomo List Owners guide

Domains Help Documentation This document was auto-created from web content and is subject to change at any time. Copyright (c) 2016 SmarterTools Inc.

Mailman Mailing Lists Owners Guide

Offline Payment Methods

Plesk 8.3 for Linux/Unix User's Guide

Plesk for Windows Copyright Notice

s sent to the FaxFinder fax server must meet the following criteria to be processed for sending as a fax:

Lyris ListManager Tutorial

Patented hosting technology protected by U.S.Patents 7,0909,948; 7,076,633. Patents pending in the U.S.

Twinfield Single Sign On

IP phone services setup

How to Process Opt-Out Reqeusts in GroupMail (Subscriber Add-On)

Direct Mail Tutorial

Acclipse Web Manager Emarketing. Create newsletter

PANDA CLOUD PROTECTION / Administrator s Manual / 1

Adjust Webmail Spam Settings

A quick guide to... Permission: Single or Double Opt-in?

INTERSPIRE MARKETER

MAJORDOMO - CREATING AND MANAGING LISTS (ADMINISTRATORS) - REFERENCE GUIDE

K12 Spam Management Blocked s from parents

An Newsletter Using ASP Smart Mailer and Advanced HTML Editor

Direct Mail Tutorial

Integrations. Help Documentation

Login/ Logout RMS Employer Login Go to Employer and enter your username and password in the Employer Login section. Click on the LOGIN NOW button.

Installation & Configuration Guide Professional Edition

Connecting LISTSERV to an Existing Database Management System (DBMS)

Sympa (Mailing List Manager) Overview

XYZ NEWSLETTER MANAGER A Wordpress Plugin

Setting up the Mail Sort Function in Outlook Web App

Pinpointe User s Guide

5.2.3 Thank you message Bounce settings Step 6: Subscribers 6.1. Creating subscriber lists 6.2. Add subscribers Manual add 6.2.

Trustwave SEG Cloud Customer Guide

User Guide for Kelani Mail

Safeguard Ecommerce Integration / API

alternative solutions, including: STRONG SECURITY for managing these security concerns. PLATFORM CHOICE LOW TOTAL COST OF OWNERSHIP

Easy Manage Helpdesk Guide version 5.4

Sales Dynamite / Mobile Prospector Jack

CREATING WEB FORMS WEB and FORMS FRAMES AND

Advanced Tornado TWENTYONE Advanced Tornado Accessing MySQL from Python LAB

AppShore Premium Edition Campaigns How to Guide. Release 2.1

G-Lock WPNewsman WordPress Plugin Reviewer s Guide

Parallels Plesk Automation. Customer s Guide. Parallels Plesk Automation 11.5

MONETA.Assistant API Reference

Junk Filtering System. User Manual. Copyright Corvigo, Inc All Rights Reserved Rev. C

Archive Add-in User Guide

How To Access A Secure From The State Of Iceland

BlackBerry Internet Service Using the Browser on Your BlackBerry Smartphone Version: 2.8

EMC Documentum Webtop

management with Policy Patrol

Manage LISTSERV List Subscribers

Transcription:

Simple Website List Signup Form (updated Sep 2011) This document provides a brief overview and examples detailing the necessary steps to set up a List Signup form on your web site so that people can simply click a button to join or leave list(s) hosted on a LISTSERV server (whether Hosted at L-Soft or elsewhere). There are two basic ways to set up a List Signup form on a Web site: call the existing LISTSERV CGI executable or write your own CGI script. The Web interface of LISTSERV (version 13.x and later) includes its own CGI (wa.exe) that provides subscribe/unsubscribe capabilities. Simply call this CGI script with the proper parameters and the subscriber will be able to join or leave lists. This method requires the user to confirm joining or leaving the list. If you write your own CGI script it must be written so that it sends a regular e-mail message to the LISTSERV server with a properly formatted command string. The script can act as a user sending the subscribe command by e-mail or as an authorized list owner sending the add command. The difference between each approach will be described, followed by examples. A custom written CGI script should work with any version of LISTSERV. About Subscription Confirmation Many LISTSERV List Owners do not want to "inconvenience" users by making them confirm subscription signons and signoffs. Confirmations do have important advantages for both the list owner and the subscriber: Confirmations test the e-mail address that the user has entered for validity, ensuring the address reaches the intended subscriber. According to L-Soft Support statistics, approximately 30% of subscribers make an error entering their e-mail address in such a web form. In addition, some corporate e-mail systems have been configured to reject list e-mail. Confirmation can test for such rejection as well. Confirmations prevent malicious third parties from subscribing a user to a list without that user's consent. This is known as spoofing. Confirmation is an overt positive act that acknowledges that the user does want to receive e-mail messages generated by your list(s). In these days of spam and unwanted commercial e-mail, mail which has been specifically requested (Confirmed Opt-In) can never be considered spam. Confirmation, also known as 'Double Opt-In' or 'Confirmed Opt-In' is a STRONGLY RECOMMENDED email industry practice. Essentially it is now a practical requirement. LISTSERV 's confirmation message can be responded to either by e-mail by replying to the message with the simple word OK (detailed instructions are in the message), or with a clickable URL also found in the message. The actual text of the confirmation message is configurable in the CONFIRM1 template of SITE.MAILTPL or listname.mailtpl Simple Website Signup 1

Calling the L-Soft CGI Program (wa.exe) on a LISTSERV Host This method uses the L-Soft supplied wa.exe ('wa' on Unix) that provides all LISTSERV WWW functions. The user will be required to confirm both their subscription and signoff. The user will also receive the appropriate Welcome or Signoff message. This confirmation is to protect users from accidental clicking and unintended consequences as well as for the reasons noted at the beginning of this document. Below is the minimum code sequence for calling the WA.EXE CGI program that you would add to your Web page. You can embellish this with add-ons and collect additional information for your own use. However, this is the minimum needed by the L-Soft CGI. You can test this interface by going to: http://demo.lsoft.com/signupdemo.html. The information in the examples displayed in this paper is based on lists hosted on the L-Soft server DEMO.LSOFT.COM. To use the examples, simply substitute your server's name wherever you see DEMO.LSOFT.COM in the command strings, and in other places. You may also need to change the name of the CGI program (wa.exe) depending on your operating system. In order to be fully successful, you may also need to make certain modifications to the *.WWWTPL dynamic Web templates so that the default pages normally created by LISTSERV are not accessible and instead include the necessary references to re-direct users to your site for signup. This is the signupdemo.html file: <!-- Begin LISTSERV(R) wa.exe example calling demo--> <!-- Below is the basic code you will need to add to your site--> <form action="http://demo.lsoft.com/scripts/wa.exe"> <!-- Note above URL for calling CGI script must be customized to your host--> <!-- below parameters SUBED2 and A must be declared first and in this order. All variable names are case sensitive. Other parameters may be declared in any order after SUBED2 and A.--> <input type=hidden name=subed2 value="signupdemo"><!default LISTNAME to join> <input type=hidden name="a" value=1><!required low security parameter> <!Other Variables needed: (all variables below are case sensitive.)> <!s= email address> <!L= listname> <!p= username phrase: Fname Lname> <!9= topics list (if topics are used) else omit entirely> <table> <tr> <td nowrap> <b> Your e-mail address:</b> <input name=s size=30 value=""> <!-- name is optional --> <tr> <b>your name:</b> Simple Website Signup 2

<input name=p size=30 value=""> <tr> <b>select a list:</b> <select name=l> <option value="signupdemo" selected>signupdemo <! other listnames follow here> <option value="signupdemo2">signupdemo2 </select> <!-- cut here to remove optional topics section below if not desired --> <tr> <b>delivery Style:</b> <! checked one is the default choice> <input type=radio name=9 value="html">html <input type=radio checked name=9 value="text">text <input type=radio name=9 value="aol">aol <!-- cut here to remove optional topics section above --> <tr> <input type=submit name="b" value="join this list"> <input type=submit name="a" value="leave this list"> <!-- uncomment next line to allow 'unsubscribe from all' --> <! input type=submit name="e" value="leave All lists"> <input type="reset" name="reset" value="reset"> </table> </form> <!end of LISTSERV(R) example CGI calling code> Please note that the calling order of the above parameters is significant. The SUBED2=listname and A=1 must be listed first, in this order. The other parameters may follow in any order, except of course the 'Submit' is at the end. To customize the example script, replace instances of SIGNUPDEMO with your own Listname(s) where necessary, and replace demo.lsoft.com with your own server address. If you do not want people to enter a full name, then you can hard code the "p" parameter to "no name" like this: <tr valign=top> <!Your Name:> <input type=hidden name=p value="no Name"> </tr> You can also set the List Configuration options to Default-Options= Conceal Simple Website Signup 3

Then LISTSERV will not ask for or require a Full Name. You may also want to change the SIGNUP WWW template. See below. All the LISTSERV related *.HTML pages are re-generated as needed from template files. Since they are dynamic you should never make changes to the *.HTML pages themselves, but only to the templates used to generate the HTML pages. This is a complex process and you should tread carefully. Before modifying any templates, you should study the default.*tpl template files (mailtpl is mostly text messages with some HTML, wwwtpl is all HTML) to be sure you understand the existing functions before modifying them. See also the LISTSERV Customization Manual. Below is the minimum code necessary to change the default templates on your own LISTSERV host site to work just like the example. Before using this code, you might want to read Sect 9 of the LISTSERV Owners Manual, or Sect 16 of the LISTSERV Site Manager Manual that discusses template files and how to modify the desired templates. It is best to use the LISTSERV WWW Interface to modify these templates. Modifying the web template SUBEDIT-MAIN in the way (below) prevents the user from modifying their Subscription Options (such as MAIL/NOMAIL, DIGEST/INDEX, and others) with the WWW Interface. (They can always modify them by e-mail commands or you can choose to not modify this template.) Since this simplified signup procedure is normally used only for oneway lists where all subscriber options are preset in the List Configuration anyway and not intended to be changed, this is not a serious limitation. Web Template Name: SUBEDIT-MAIN <title>join or Leave the &+LISTNAME; list</title> <center><h1>join or Leave the &+LISTNAME; list</h1></center> <p> +BB &+MSG; <hr><p><b>&+msg;</b><p> +EB <hr> <p>thank you! Your Request has been Processed. <p>to confirm your identity and prevent third parties from tampering with the list, an e-mail message with a confirmation code will be sent to the address you specified in the form. Simply wait for this message to arrive, then follow the instructions to confirm the operation. <hr> If you prefer, you can also replace the above SUBEDIT-MAIN template with a simple redirect code to redirect another page on your website: <meta http-equiv="refresh" content="0; URL=http://totally.other.page">. This completely prevents the user from editing their own subscriber options, but this is not usually a problem for one-way lists. Simple Website Signup 4

Custom Written CGI Script Acts Like the User Write your own CGI script so that the e-mail message impersonates the subscribing user and is formatted as though the user was issuing a normal SUBSCRIBE command by e-mail. The advantage of this method is that it requires no special privileges or security. The user will receive a welcome or signoff message as appropriate, which can be customized with specific information about your list. The user may be required to confirm their subscription depending on certain List Configuration settings (Subscription= Open,Confirm). User confirmation is not normally needed to signoff by e-mail command. [Both the e-mail headers and the message text (command strings) must always be flush-left.] Date:(Today date in RFC822 format) From:user@address To:LISTSERV@demo.lsoft.com SUBSCRIBE listname Fname Lname Note as always, the LISTSERV command(s) is (are) in the message body, never in the Subject: line. If the user may subscribe to several lists at one time, the command form in the message body is similar: SUBSCRIBE listname1 Fname Lname SUBSCRIBE listname2 Fname Lname SUBSCRIBE listname3 Fname Lname Note: In this case separate confirmations will be sent for each list. If you want only 1 confirmation for multiple subscriptions then code this variation: OK BEGIN SUBSCRIBE listname1 Fname Lname SUBSCRIBE listname2 Fname Lname SUBSCRIBE listname3 Fname Lname OK END To leave one list the command is: SIGNOFF listname Note that no name is used for the signoff; it will produce an error if present. To leave several lists: SIGNOFF listname1 SIGNOFF listname2 SIGNOFF listname3 It is also possible to signoff all lists on the server: Simple Website Signup 5

SIGNOFF * The user@address comes from the user's Web form input on your site. The Fname and Lname are the user's first name and last name if known. Substitute the phrase No Name if you do not want this option. It is also possible to set the List Configuration so that no name is required. (Default-Options= CONCEAL) Lists hosted on an instance of LISTSERV may also use an alternate single-line special-action address format to subscribe to one-list-at-a-time only. Multiple lists are not supported by this method because the listname is part of the email address. But multiple emails can be sent. Date: (current date in RFC822 format) From: Fname Lname <user@address> To: listname-subscribe-request@demo.lsoft.com (any message text is ignored so none is needed) To leave the list the special action address is Date: (current date in RFC822 format) From: Fname Lname <user@address> To: listname-signoff-request@demo.lsoft.com Custom CGI Script Acts Like an Authorized List Owner In this case the CGI script acts as an authorized list owner (a pre-authorized From: address), and sends the message as an ADD command. This requires use of a plain text password to verify the From: address. No user confirmation is possible using this method, so this method is generally not recommended. L-Soft Hosted Lists cannot use any method that does not permit positive confirmation. You must provide your own form of positive identification and confirmation (such as a login to a private Web site). This method is more customizable than the above method where the script acts as a user. Welcome and/or signoff messages can be sent to the user or not, depending on the form of the command string. To have your Web site script submit an ADD command for getting people joined to your list(s), it must be able to issue a multi-line e-mail command string. Date: (Today date in RFC822 format) From: webserver123@hostname To: LISTSERV@demo.lsoft.com [QUIET] ADD listname user@address Fname Lname PW=?????? Normally LISTSERV always acknowledges every command back to the user issuing the command. The in the command string was added to prevent LISTSERV from sending back an e-mail response back to your Web server that it will not be able to decipher. If the user has selected several lists, repeat the ADD line as many times as necessary: Simple Website Signup 6

[QUIET] ADD listname1 user@address Fname Lname PW=?????? [QUIET] ADD listname2 user@address Fname Lname PW=?????? [QUIET] ADD listname3 user@address Fname Lname PW=?????? To leave the list, the command string is: [QUIET] DELETE listname user@address PW=??????? For multiple lists repeat as necessary: [QUIET] DELETE listname1 user@address PW=??????? [QUIET] DELETE listname2 user@address PW=??????? [QUIET] DELETE listname3 user@address PW=??????? Note: You cannot use the * character to do this for ALL lists like the example below: [QUIET] DELETE * user@address PW=??????? In this instance your Web script will not be able to respond appropriately because LISTSERV will ask for and expect to receive a separate confirmation of this action. Again, the user@address comes from the user's form input on your site. The Fname and Lname are the user's first name and last name if known. Substitute the single character * or the phrase No Name if you do not want this option (or set Default-Options= Conceal in the List Configuration.). The PW=????? is a password assigned to the From: address of the e-mail that you determine, but will usually be something like webserver123@host_name. The QUIET modifier is optional. If used, do not use the [ ] brackets. QUIET will prevent LISTSERV from sending any acknowledgement, welcome, or signoff message to the subscriber. As noted, the ADD or DELETE command does not require any confirmation from the subscriber. For this method to be successful, your LISTSERV server must know the e-mail From: address that will be used by your CGI script so that this address can be installed as a valid list owner with power to issue commands. Your LISTSERV Site Administrator will also have to assign a password (of your choice) to this special address to enable its privileges to work. CAUTION: For either method described above, it is advisable that you incorporate some processing in your CGI script to validate the user's e-mail address, at least as syntactically valid per RFC822. If your script acts as a user, the request may simply be sent off and never reach a valid e-mail address. If your script acts as an authorized list owner, it is extremely important that the * character, if entered as an address, is trapped. LISTSERV will recognize the * as a wildcard matching any address. Thus it is possible for a valid and authorized command to be issued that can delete all subscribers from the list, unless you perform validation on the submitted address before sending it to LISTSERV. The L-Soft CGI script (see above) does trap and prevent this occurrence. Simple Website Signup 7