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
186
187
188
189
190
191
192
193
194
195
196
|
<!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 <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> </th>
<th align="left"><b>Matching lines</b> </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">\[zuff\]</td>
<td align="left">Keywords: [zuff]</td>
<tr><td align="left" valign="baseline">\[zuff\]</td>
<td align="left">Subject: [zuff] Do you have the right stuff?</td>
<tr><td align="left" valign="baseline">\[zuff\]</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 (\). 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>
|