Simple template for adding a MailMan mailing list subscribe form to a page. Found on a mailing list somewhere a long time ago and cleaned up dramatically.
Note: I almost always just include the email and digest options, but I've included the whole spiel for completeness.
<h2>Join the XYZ list</h2>
<form method="post" action="SERVER/mailman/subscribe/LISTNAME">
<p>
Your E-mail address: <input type="text" name="email" size="30" value=""><br />
Your Name (optional): <input type="text" name="fullname" size="30" value=""><br />
</p>
<p>You may enter a privacy password below. This provides only mild security, but should<br />
prevent others from messing with your subscription. <b>Do not use a valuable password</b> as it<br />
will occasionally be emailed back to you in cleartext.</p>
<p>If you choose not to enter a password, one will be automatically generated for you, and it will<br />
be sent to you once you've confirmed your subscription. You can always request a mail-back<br />
of your password when you edit your personal options.</p>
<p>
Password choice: <input type="password" name="pw" size="15"><br />
Confirm Password: <input type="password" name="pw-conf" size="15">
</p>
<p>
Would you like to receive list mail batched in a daily digest? (You may choose NoMail after you join.)<br />
<input type="radio" name="digest" value="0" checked> No
<input type="radio" name="digest" value="1"> Yes <br />
</p>
<p><input type="submit" name="email-button" value="Subscribe"></p>
</form>