aboutsummaryrefslogtreecommitdiffstats
path: root/doc/mailman-member/node30.html
blob: dd83e77362cfd303e27b5bb5442d655e4da978a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!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=utf-8" />
<meta name='aesop' content='information' />
<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' xml: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.png'
  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.png'
  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.png'
  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.png'
  border='0' height='32'  alt='Contents' width='32' /></a></td>
<td class='online-navigation'><img src='blank.png'
  border='0' height='32'  alt='' width='32' /></td>
<td class='online-navigation'><img src='blank.png'
  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"></a><a name="sec:posttopic"></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 <em>regular expression</em> for that topic.  
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>
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>
<div class="center"><table class="realtable">
  <thead>
    <tr>
      <th class="left"  >Regular expression</th>
      <th class="left"  >Matching lines</th>
      </tr>
    </thead>
  <tbody>
    <tr><td class="left"   valign="baseline">zuff</td>
        <td class="left"  >Keywords: zuff</td></tr>
    <tr><td class="left"   valign="baseline">zuff</td>
        <td class="left"  >Keywords: ZUFF</td></tr>
    <tr><td class="left"   valign="baseline">zuff</td>
        <td class="left"  >Keywords: Zuff</td></tr>
    <tr><td class="left"   valign="baseline">zuff</td>
        <td class="left"  >Keywords: amaryllis, zuff, applesauce</td></tr>
    <tr><td class="left"   valign="baseline">zuff</td>
        <td class="left"  >Subject: [zuff] Do you have the right stuff for zuff?</td></tr>
    <tr><td class="left"   valign="baseline">zuff</td>
        <td class="left"  >Subject: Do you have the right stuff for zuff?</td></tr>
    <tr><td class="left"   valign="baseline">zuff</td>
        <td class="left"  >Subject: What is zuff?</td></tr>
	
    <tr><td class="left"   valign="baseline">\[zuff\]</td>
        <td class="left"  >Keywords: [zuff]</td></tr>
    <tr><td class="left"   valign="baseline">\[zuff\]</td>
        <td class="left"  >Subject: [zuff]	Do you have the right stuff?</td></tr>
    <tr><td class="left"   valign="baseline">\[zuff\]</td>
        <td class="left"  >Subject: Online zuff tutorials (was Re: [zuff] What is zuff?)</td></tr></tbody>
</table></div>

<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 (\).  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'>
<p></p><hr />
<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.png'
  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.png'
  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.png'
  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.png'
  border='0' height='32'  alt='Contents' width='32' /></a></td>
<td class='online-navigation'><img src='blank.png'
  border='0' height='32'  alt='' width='32' /></td>
<td class='online-navigation'><img src='blank.png'
  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 April 21, 2008.</span>
</div>
<!--End of Navigation Panel-->

</body>
</html>