aboutsummaryrefslogblamecommitdiffstats
path: root/admin/www/mailman-member/node30.html
blob: 10dc3cabc24f3fe541989d4733a2260996f7bf0d (plain) (tree)



































































































































































































                                                                                                                                                
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<link rel="STYLESHEET" href="mailman-member.css" type='text/css' />
<link rel="first" href="mailman-member.html" title='GNU Mailman - List Member Manual' />
<link rel='contents' href='contents.html' title="Contents" />
<link rel='last' href='about.html' title='About this document...' />
<link rel='help' href='about.html' title='About this document...' />
<LINK rel="next" href="node31.html">
<LINK rel="prev" href="node29.html">
<LINK rel="parent" href="node29.html">
<LINK rel="next" href="node31.html">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name='aesop' content='information' />
<META name="description" content="How do I make sure that my post has the right topic?">
<META name="keywords" content="mailman-member">
<META name="resource-type" content="document">
<META name="distribution" content="global">
<title>9.1 How do I make sure that my post has the right topic?</title>
</head>
<body>
<DIV CLASS="navigation">
<div id='top-navigation-panel'>
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="9 Mailing list topics" 
  href="node29.html"><img src='previous.gif'
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
<td class='online-navigation'><a rel="parent" title="9 Mailing list topics" 
  href="node29.html"><img src='up.gif'
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
<td class='online-navigation'><a rel="next" title="9.2 How do I" 
  href="node31.html"><img src='next.gif'
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
<td align="center" width="100%">GNU Mailman - List Member Manual</td>
<td class='online-navigation'><a rel="contents" title="Table of Contents" 
  href="contents.html"><img src='contents.gif'
  border='0' height='32'  alt='Contents' width='32' /></A></td>
<td class='online-navigation'><img src='blank.gif'
  border='0' height='32'  alt='' width='32' /></td>

</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" href="node29.html">9 Mailing list topics</A>
<b class="navlabel">Up:</b>
<a class="sectref" rel="parent" href="node29.html">9 Mailing list topics</A>
<b class="navlabel">Next:</b>
<a class="sectref" rel="next" href="node31.html">9.2 How do I</A>
</div>
<hr /></div>
</DIV>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION002910000000000000000"><!--x--></A><A NAME="sec:posttopic"><!--z--></A>
<BR>
9.1 How do I make sure that my post has the right 
	topic?
</H2>

<P>
When a list administrator defines a topic, he or she sets three things:

<UL>
<LI>a topic name
</LI>
<LI>a regular expression (regexp.)
</LI>
<LI>a description
</LI>
</UL>

<P>
You can view this information by logging in to your member options page. 
 (See Section&nbsp;<A HREF="node9.html#sec:web">3.1</A> for more details on how to do this.) and 
clicking on the ``details'' link for any topic that interests you.

<P>
To post on a given topic, you need to make sure that the 
<span class="mailheader">Keywords:</span> or <span class="mailheader">Subject:</span> headers in a message  
match the <i>regular expression</i> for that topic.  
A regular expression is a pattern which may match more than one thing. 
Regular expressions can actually be fairly complex, so you may want to 
just ask the list administrator if you don't know how to make
heads or tails of the expression given.  

<P>
If you really want to know more about regular expressions, read on, but for the
most part, your list administrator should include in the topic description what
you need to add to your Keywords or Subject line to match the topic pattern.

<P>
Most Mailman topic expressions will be fairly simple regular expressions, so 
in this document we will simply give you some common examples.  Regular 
expressions are a bit too complex to teach in a few lines here, so if you
really want to understand how the regular expressions work, you should
find a tutorial or reference elsewhere.  (For example, DevShed has a decent
tutorial at 
<a class="url" href="http://www.devshed.com/Server_Side/Administration/RegExp/">http://www.devshed.com/Server_Side/Administration/RegExp/</a>)  

<P>
Here are some examples of possible regular expressions and matching lines:

<P>
<table border align="center" style="border-collapse: collapse">
  <thead>
    <tr class="tableheader">
      <th align="left"><b>Regular expression</b>&nbsp;</th>
      <th align="left"><b>Matching lines</b>&nbsp;</th>
      </tr>
    </thead>
  <tbody valign="baseline">
    <tr><td align="left" valign="baseline">zuff</td>
        <td align="left">Keywords: zuff</td>
    <tr><td align="left" valign="baseline">zuff</td>
        <td align="left">Keywords: ZUFF</td>
    <tr><td align="left" valign="baseline">zuff</td>
        <td align="left">Keywords: Zuff</td>
    <tr><td align="left" valign="baseline">zuff</td>
        <td align="left">Keywords: amaryllis, zuff, applesauce</td>
    <tr><td align="left" valign="baseline">zuff</td>
        <td align="left">Subject: [zuff] Do you have the right stuff for zuff?</td>
    <tr><td align="left" valign="baseline">zuff</td>
        <td align="left">Subject: Do you have the right stuff for zuff?</td>
    <tr><td align="left" valign="baseline">zuff</td>
        <td align="left">Subject: What is zuff?</td>
	
    <tr><td align="left" valign="baseline">&#92;[zuff&#92;]</td>
        <td align="left">Keywords: [zuff]</td>
    <tr><td align="left" valign="baseline">&#92;[zuff&#92;]</td>
        <td align="left">Subject: [zuff]	Do you have the right stuff?</td>
    <tr><td align="left" valign="baseline">&#92;[zuff&#92;]</td>
        <td align="left">Subject: Online zuff tutorials (was Re: [zuff] What is zuff?)</td></tbody>
</table>

<P>
A few notes:

<UL>
<LI>The matching is case-insensitive, so if zuff matches, so will ZUFF,
	 zuFF, and any other variations in capitalization.
</LI>
<LI>Some characters have special meaning in a regular expression, so
	to match those characters specifically, they must be ``escaped'' with a 
	backslash (&#92;).  As you can see in the above example, 
	[ and ] are such characters.  (Others include ``.'', ``?'', and ``*'').  
	The backslash is also used for other things (I wasn't kidding about 
	regular expressions being complex: consult other documentation
	for details about other uses of the backslash character), but this 
	is the most likely use in a topic expression.
</LI>
</UL>

<P>

<DIV CLASS="navigation">
<div class='online-navigation'><hr />
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="9 Mailing list topics" 
  rel="prev" title="9 Mailing list topics" 
  href="node29.html"><img src='previous.gif'
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
<td class='online-navigation'><a rel="parent" title="9 Mailing list topics" 
  rel="parent" title="9 Mailing list topics" 
  href="node29.html"><img src='up.gif'
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
<td class='online-navigation'><a rel="next" title="9.2 How do I" 
  rel="next" title="9.2 How do I" 
  href="node31.html"><img src='next.gif'
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
<td align="center" width="100%">GNU Mailman - List Member Manual</td>
<td class='online-navigation'><a rel="contents" title="Table of Contents" 
  rel="contents" title="Table of Contents" 
  href="contents.html"><img src='contents.gif'
  border='0' height='32'  alt='Contents' width='32' /></A></td>
<td class='online-navigation'><img src='blank.gif'
  border='0' height='32'  alt='' width='32' /></td>

</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" href="node29.html">9 Mailing list topics</A>
<b class="navlabel">Up:</b>
<a class="sectref" rel="parent" href="node29.html">9 Mailing list topics</A>
<b class="navlabel">Next:</b>
<a class="sectref" rel="next" href="node31.html">9.2 How do I</A>
</div>
</div>
<hr />
<span class="release-info">Release 2.1, documentation updated on 7 October 2003.</span>
</DIV>
<!--End of Navigation Panel-->

</BODY>
</HTML>