+ /*
+ * We'll just have this success message ready if we need it
+ */
+ sprintf(address_of_list, "room_%s@%s", qrbuf.QRname, config.c_fqdn);
+ for (i=0; i<strlen(address_of_list); ++i) {
+ if (isspace(address_of_list[i])) {
+ address_of_list[i] = '_';
+ }
+ }
+ snprintf(success_message, sizeof success_message,
+ "Content-type: text/html\n\n"
+ "<HTML><BODY>"
+ "You have successfully subscribed to the <B>%s</B>\n"
+ "mailing list.<BR><BR>To post to the list, simply send "
+ "an e-mail to <TT>%s</TT>"
+ "</BODY></HTML>\n",
+ qrbuf.QRname,
+ address_of_list
+ );
+
+ /*
+ * Now start scanning this room's netconfig file for the
+ * specified token.
+ */