blob: e7bbc28d37ff7e67338155167b00018661973311 [file] [log] [blame]
Fred Drake295da241998-08-10 19:42:37 +00001\section{\module{rfc822} ---
Barry Warsaw95400a22001-07-16 20:47:58 +00002 Parse RFC 2822 mail headers}
Guido van Rossuma12ef941995-02-27 17:53:25 +00003
Fred Drakeffbe6871999-04-22 21:23:22 +00004\declaremodule{standard}{rfc822}
Barry Warsaw95400a22001-07-16 20:47:58 +00005\modulesynopsis{Parse \rfc{2822} style mail messages.}
Fred Drakeb91e9341998-07-23 17:59:49 +00006
Fred Drake46138762002-09-25 22:13:27 +00007\deprecated{2.3}{The \refmodule{email} package should be used in
8 preference to the \module{rfc822} module. This
9 module is present only to maintain backward
10 compatibility.}
11
Barry Warsaw95400a22001-07-16 20:47:58 +000012This module defines a class, \class{Message}, which represents an
13``email message'' as defined by the Internet standard
Fred Drakee78661b2001-07-17 05:17:58 +000014\rfc{2822}.\footnote{This module originally conformed to \rfc{822},
Barry Warsaw95400a22001-07-16 20:47:58 +000015hence the name. Since then, \rfc{2822} has been released as an
16update to \rfc{822}. This module should be considered
17\rfc{2822}-conformant, especially in cases where the
Fred Drakee78661b2001-07-17 05:17:58 +000018syntax or semantics have changed since \rfc{822}.} Such messages
Barry Warsaw95400a22001-07-16 20:47:58 +000019consist of a collection of message headers, and a message body. This
20module also defines a helper class
21\class{AddressList} for parsing \rfc{2822} addresses. Please refer to
22the RFC for information on the specific syntax of \rfc{2822} messages.
Guido van Rossuma12ef941995-02-27 17:53:25 +000023
Fred Drake38e5d272000-04-03 20:13:55 +000024The \refmodule{mailbox}\refstmodindex{mailbox} module provides classes
25to read mailboxes produced by various end-user mail programs.
Guido van Rossum067a2ac1997-06-02 17:30:03 +000026
Fred Drakecdea8a31998-03-14 06:17:43 +000027\begin{classdesc}{Message}{file\optional{, seekable}}
Guido van Rossum12991001998-06-10 21:34:27 +000028A \class{Message} instance is instantiated with an input object as
29parameter. Message relies only on the input object having a
Fred Drake23329d41998-08-10 17:46:22 +000030\method{readline()} method; in particular, ordinary file objects
31qualify. Instantiation reads headers from the input object up to a
32delimiter line (normally a blank line) and stores them in the
Eric S. Raymonde7213c72001-01-27 10:56:14 +000033instance. The message body, following the headers, is not consumed.
Guido van Rossum12991001998-06-10 21:34:27 +000034
Fred Drake23329d41998-08-10 17:46:22 +000035This class can work with any input object that supports a
36\method{readline()} method. If the input object has seek and tell
37capability, the \method{rewindbody()} method will work; also, illegal
38lines will be pushed back onto the input stream. If the input object
39lacks seek but has an \method{unread()} method that can push back a
40line of input, \class{Message} will use that to push back illegal
41lines. Thus this class can be used to parse messages coming from a
42buffered stream.
Guido van Rossum12991001998-06-10 21:34:27 +000043
Fred Drake23329d41998-08-10 17:46:22 +000044The optional \var{seekable} argument is provided as a workaround for
45certain stdio libraries in which \cfunction{tell()} discards buffered
46data before discovering that the \cfunction{lseek()} system call
47doesn't work. For maximum portability, you should set the seekable
48argument to zero to prevent that initial \method{tell()} when passing
Raymond Hettinger999b57c2003-08-25 04:28:05 +000049in an unseekable object such as a file object created from a socket
Fred Drake23329d41998-08-10 17:46:22 +000050object.
Guido van Rossuma12ef941995-02-27 17:53:25 +000051
52Input lines as read from the file may either be terminated by CR-LF or
53by a single linefeed; a terminating CR-LF is replaced by a single
54linefeed before the line is stored.
55
56All header matching is done independent of upper or lower case;
Fred Drake23329d41998-08-10 17:46:22 +000057e.g.\ \code{\var{m}['From']}, \code{\var{m}['from']} and
Fred Drakecdea8a31998-03-14 06:17:43 +000058\code{\var{m}['FROM']} all yield the same result.
59\end{classdesc}
Guido van Rossuma12ef941995-02-27 17:53:25 +000060
Guido van Rossum87294831998-06-16 22:27:40 +000061\begin{classdesc}{AddressList}{field}
Fred Drakeae0f2921999-06-10 15:03:07 +000062You may instantiate the \class{AddressList} helper class using a single
Barry Warsaw95400a22001-07-16 20:47:58 +000063string parameter, a comma-separated list of \rfc{2822} addresses to be
Fred Drake23329d41998-08-10 17:46:22 +000064parsed. (The parameter \code{None} yields an empty list.)
Guido van Rossum87294831998-06-16 22:27:40 +000065\end{classdesc}
66
Barry Warsaw95400a22001-07-16 20:47:58 +000067\begin{funcdesc}{quote}{str}
68Return a new string with backslashes in \var{str} replaced by two
69backslashes and double quotes replaced by backslash-double quote.
70\end{funcdesc}
71
72\begin{funcdesc}{unquote}{str}
73Return a new string which is an \emph{unquoted} version of \var{str}.
74If \var{str} ends and begins with double quotes, they are stripped
75off. Likewise if \var{str} ends and begins with angle brackets, they
76are stripped off.
77\end{funcdesc}
78
79\begin{funcdesc}{parseaddr}{address}
Fred Draked86038d2001-08-03 18:39:36 +000080Parse \var{address}, which should be the value of some
81address-containing field such as \mailheader{To} or \mailheader{Cc},
82into its constituent ``realname'' and ``email address'' parts.
83Returns a tuple of that information, unless the parse fails, in which
84case a 2-tuple \code{(None, None)} is returned.
Barry Warsaw95400a22001-07-16 20:47:58 +000085\end{funcdesc}
86
87\begin{funcdesc}{dump_address_pair}{pair}
88The inverse of \method{parseaddr()}, this takes a 2-tuple of the form
Fred Draked86038d2001-08-03 18:39:36 +000089\code{(\var{realname}, \var{email_address})} and returns the string
90value suitable for a \mailheader{To} or \mailheader{Cc} header. If
91the first element of \var{pair} is false, then the second element is
92returned unmodified.
Barry Warsaw95400a22001-07-16 20:47:58 +000093\end{funcdesc}
94
Guido van Rossum843e7121996-12-06 21:23:53 +000095\begin{funcdesc}{parsedate}{date}
Barry Warsaw95400a22001-07-16 20:47:58 +000096Attempts to parse a date according to the rules in \rfc{2822}.
Fred Drakecdea8a31998-03-14 06:17:43 +000097however, some mailers don't follow that format as specified, so
98\function{parsedate()} tries to guess correctly in such cases.
Barry Warsaw95400a22001-07-16 20:47:58 +000099\var{date} is a string containing an \rfc{2822} date, such as
Fred Drakecdea8a31998-03-14 06:17:43 +0000100\code{'Mon, 20 Nov 1995 19:12:08 -0500'}. If it succeeds in parsing
101the date, \function{parsedate()} returns a 9-tuple that can be passed
102directly to \function{time.mktime()}; otherwise \code{None} will be
Fred Drake38e5d272000-04-03 20:13:55 +0000103returned. Note that fields 6, 7, and 8 of the result tuple are not
104usable.
Guido van Rossum843e7121996-12-06 21:23:53 +0000105\end{funcdesc}
106
107\begin{funcdesc}{parsedate_tz}{date}
Fred Drakecdea8a31998-03-14 06:17:43 +0000108Performs the same function as \function{parsedate()}, but returns
109either \code{None} or a 10-tuple; the first 9 elements make up a tuple
110that can be passed directly to \function{time.mktime()}, and the tenth
111is the offset of the date's timezone from UTC (which is the official
112term for Greenwich Mean Time). (Note that the sign of the timezone
113offset is the opposite of the sign of the \code{time.timezone}
114variable for the same timezone; the latter variable follows the
Barry Warsaw95400a22001-07-16 20:47:58 +0000115\POSIX{} standard while this module follows \rfc{2822}.) If the input
Fred Drakecdea8a31998-03-14 06:17:43 +0000116string has no timezone, the last element of the tuple returned is
Fred Drake38e5d272000-04-03 20:13:55 +0000117\code{None}. Note that fields 6, 7, and 8 of the result tuple are not
118usable.
Guido van Rossum843e7121996-12-06 21:23:53 +0000119\end{funcdesc}
120
Guido van Rossum8cf94e61998-02-18 05:09:14 +0000121\begin{funcdesc}{mktime_tz}{tuple}
Fred Drakecdea8a31998-03-14 06:17:43 +0000122Turn a 10-tuple as returned by \function{parsedate_tz()} into a UTC
Fred Draked93d68b2002-01-05 01:52:41 +0000123timestamp. If the timezone item in the tuple is \code{None}, assume
Fred Drakecdea8a31998-03-14 06:17:43 +0000124local time. Minor deficiency: this first interprets the first 8
125elements as a local time and then compensates for the timezone
126difference; this may yield a slight error around daylight savings time
Guido van Rossum8cf94e61998-02-18 05:09:14 +0000127switch dates. Not enough to worry about for common use.
128\end{funcdesc}
129
Fred Drakeea002051999-04-28 18:11:09 +0000130
Fred Drake38e5d272000-04-03 20:13:55 +0000131\begin{seealso}
Fred Drake2d3c03d2002-08-06 21:26:01 +0000132 \seemodule{email}{Comprehensive email handling package; supercedes
133 the \module{rfc822} module.}
Fred Drake38e5d272000-04-03 20:13:55 +0000134 \seemodule{mailbox}{Classes to read various mailbox formats produced
135 by end-user mail programs.}
Fred Drake2d3c03d2002-08-06 21:26:01 +0000136 \seemodule{mimetools}{Subclass of \class{rfc822.Message} that
137 handles MIME encoded messages.}
Fred Drake38e5d272000-04-03 20:13:55 +0000138\end{seealso}
139
140
Fred Drakeea002051999-04-28 18:11:09 +0000141\subsection{Message Objects \label{message-objects}}
Guido van Rossumecde7811995-03-28 13:35:14 +0000142
Fred Drakecdea8a31998-03-14 06:17:43 +0000143A \class{Message} instance has the following methods:
Guido van Rossuma12ef941995-02-27 17:53:25 +0000144
Fred Drakee14dde21998-04-04 06:19:30 +0000145\begin{methoddesc}{rewindbody}{}
Guido van Rossuma12ef941995-02-27 17:53:25 +0000146Seek to the start of the message body. This only works if the file
147object is seekable.
Fred Drakee14dde21998-04-04 06:19:30 +0000148\end{methoddesc}
Guido van Rossuma12ef941995-02-27 17:53:25 +0000149
Guido van Rossum444d0f81998-06-11 13:50:02 +0000150\begin{methoddesc}{isheader}{line}
151Returns a line's canonicalized fieldname (the dictionary key that will
Barry Warsaw95400a22001-07-16 20:47:58 +0000152be used to index it) if the line is a legal \rfc{2822} header; otherwise
Fred Draked86038d2001-08-03 18:39:36 +0000153returns \code{None} (implying that parsing should stop here and the
154line be pushed back on the input stream). It is sometimes useful to
155override this method in a subclass.
Guido van Rossum444d0f81998-06-11 13:50:02 +0000156\end{methoddesc}
157
Guido van Rossum12991001998-06-10 21:34:27 +0000158\begin{methoddesc}{islast}{line}
159Return true if the given line is a delimiter on which Message should
Guido van Rossum444d0f81998-06-11 13:50:02 +0000160stop. The delimiter line is consumed, and the file object's read
161location positioned immediately after it. By default this method just
162checks that the line is blank, but you can override it in a subclass.
Guido van Rossum12991001998-06-10 21:34:27 +0000163\end{methoddesc}
164
165\begin{methoddesc}{iscomment}{line}
Neal Norwitz6b353702002-04-09 18:15:00 +0000166Return \code{True} if the given line should be ignored entirely, just skipped.
167By default this is a stub that always returns \code{False}, but you can
Guido van Rossum12991001998-06-10 21:34:27 +0000168override it in a subclass.
169\end{methoddesc}
170
Fred Drakee14dde21998-04-04 06:19:30 +0000171\begin{methoddesc}{getallmatchingheaders}{name}
Guido van Rossum6c4f0031995-03-07 10:14:09 +0000172Return a list of lines consisting of all headers matching
Guido van Rossuma12ef941995-02-27 17:53:25 +0000173\var{name}, if any. Each physical line, whether it is a continuation
174line or not, is a separate list item. Return the empty list if no
175header matches \var{name}.
Fred Drakee14dde21998-04-04 06:19:30 +0000176\end{methoddesc}
Guido van Rossuma12ef941995-02-27 17:53:25 +0000177
Fred Drakee14dde21998-04-04 06:19:30 +0000178\begin{methoddesc}{getfirstmatchingheader}{name}
Guido van Rossuma12ef941995-02-27 17:53:25 +0000179Return a list of lines comprising the first header matching
Fred Drakeea002051999-04-28 18:11:09 +0000180\var{name}, and its continuation line(s), if any. Return
181\code{None} if there is no header matching \var{name}.
Fred Drakee14dde21998-04-04 06:19:30 +0000182\end{methoddesc}
Guido van Rossuma12ef941995-02-27 17:53:25 +0000183
Fred Drakee14dde21998-04-04 06:19:30 +0000184\begin{methoddesc}{getrawheader}{name}
Guido van Rossuma12ef941995-02-27 17:53:25 +0000185Return a single string consisting of the text after the colon in the
186first header matching \var{name}. This includes leading whitespace,
187the trailing linefeed, and internal linefeeds and whitespace if there
188any continuation line(s) were present. Return \code{None} if there is
189no header matching \var{name}.
Fred Drakee14dde21998-04-04 06:19:30 +0000190\end{methoddesc}
Guido van Rossuma12ef941995-02-27 17:53:25 +0000191
Guido van Rossum12991001998-06-10 21:34:27 +0000192\begin{methoddesc}{getheader}{name\optional{, default}}
Guido van Rossuma12ef941995-02-27 17:53:25 +0000193Like \code{getrawheader(\var{name})}, but strip leading and trailing
Guido van Rossum12991001998-06-10 21:34:27 +0000194whitespace. Internal whitespace is not stripped. The optional
195\var{default} argument can be used to specify a different default to
196be returned when there is no header matching \var{name}.
197\end{methoddesc}
198
199\begin{methoddesc}{get}{name\optional{, default}}
Fred Drake23329d41998-08-10 17:46:22 +0000200An alias for \method{getheader()}, to make the interface more compatible
Guido van Rossum12991001998-06-10 21:34:27 +0000201with regular dictionaries.
Fred Drakee14dde21998-04-04 06:19:30 +0000202\end{methoddesc}
Guido van Rossuma12ef941995-02-27 17:53:25 +0000203
Fred Drakee14dde21998-04-04 06:19:30 +0000204\begin{methoddesc}{getaddr}{name}
Fred Drakecdea8a31998-03-14 06:17:43 +0000205Return a pair \code{(\var{full name}, \var{email address})} parsed
206from the string returned by \code{getheader(\var{name})}. If no
207header matching \var{name} exists, return \code{(None, None)};
208otherwise both the full name and the address are (possibly empty)
209strings.
Guido van Rossuma12ef941995-02-27 17:53:25 +0000210
Fred Draked86038d2001-08-03 18:39:36 +0000211Example: If \var{m}'s first \mailheader{From} header contains the
212string \code{'jack@cwi.nl (Jack Jansen)'}, then
Guido van Rossuma12ef941995-02-27 17:53:25 +0000213\code{m.getaddr('From')} will yield the pair
Guido van Rossum470be141995-03-17 16:07:09 +0000214\code{('Jack Jansen', 'jack@cwi.nl')}.
Guido van Rossuma12ef941995-02-27 17:53:25 +0000215If the header contained
Guido van Rossum470be141995-03-17 16:07:09 +0000216\code{'Jack Jansen <jack@cwi.nl>'} instead, it would yield the
Guido van Rossuma12ef941995-02-27 17:53:25 +0000217exact same result.
Fred Drakee14dde21998-04-04 06:19:30 +0000218\end{methoddesc}
Guido van Rossuma12ef941995-02-27 17:53:25 +0000219
Fred Drakee14dde21998-04-04 06:19:30 +0000220\begin{methoddesc}{getaddrlist}{name}
Guido van Rossuma12ef941995-02-27 17:53:25 +0000221This is similar to \code{getaddr(\var{list})}, but parses a header
Fred Draked86038d2001-08-03 18:39:36 +0000222containing a list of email addresses (e.g.\ a \mailheader{To} header) and
Fred Drakecdea8a31998-03-14 06:17:43 +0000223returns a list of \code{(\var{full name}, \var{email address})} pairs
224(even if there was only one address in the header). If there is no
225header matching \var{name}, return an empty list.
Guido van Rossuma12ef941995-02-27 17:53:25 +0000226
Barry Warsaw53610ca1999-01-14 21:26:54 +0000227If multiple headers exist that match the named header (e.g. if there
Fred Draked86038d2001-08-03 18:39:36 +0000228are several \mailheader{Cc} headers), all are parsed for addresses.
229Any continuation lines the named headers contain are also parsed.
Fred Drakee14dde21998-04-04 06:19:30 +0000230\end{methoddesc}
Guido van Rossuma12ef941995-02-27 17:53:25 +0000231
Fred Drakee14dde21998-04-04 06:19:30 +0000232\begin{methoddesc}{getdate}{name}
Fred Drakecdea8a31998-03-14 06:17:43 +0000233Retrieve a header using \method{getheader()} and parse it into a 9-tuple
Fred Drake38e5d272000-04-03 20:13:55 +0000234compatible with \function{time.mktime()}; note that fields 6, 7, and 8
235are not usable. If there is no header matching
Guido van Rossuma12ef941995-02-27 17:53:25 +0000236\var{name}, or it is unparsable, return \code{None}.
237
238Date parsing appears to be a black art, and not all mailers adhere to
239the standard. While it has been tested and found correct on a large
240collection of email from many sources, it is still possible that this
241function may occasionally yield an incorrect result.
Fred Drakee14dde21998-04-04 06:19:30 +0000242\end{methoddesc}
Guido van Rossuma12ef941995-02-27 17:53:25 +0000243
Fred Drakee14dde21998-04-04 06:19:30 +0000244\begin{methoddesc}{getdate_tz}{name}
Fred Drakecdea8a31998-03-14 06:17:43 +0000245Retrieve a header using \method{getheader()} and parse it into a
24610-tuple; the first 9 elements will make a tuple compatible with
247\function{time.mktime()}, and the 10th is a number giving the offset
Fred Drake38e5d272000-04-03 20:13:55 +0000248of the date's timezone from UTC. Note that fields 6, 7, and 8
249are not usable. Similarly to \method{getdate()}, if
Guido van Rossum843e7121996-12-06 21:23:53 +0000250there is no header matching \var{name}, or it is unparsable, return
251\code{None}.
Fred Drakee14dde21998-04-04 06:19:30 +0000252\end{methoddesc}
Guido van Rossum843e7121996-12-06 21:23:53 +0000253
Fred Drake70631492001-05-22 14:36:30 +0000254\class{Message} instances also support a limited mapping interface.
Fred Drakee14dde21998-04-04 06:19:30 +0000255In particular: \code{\var{m}[name]} is like
256\code{\var{m}.getheader(name)} but raises \exception{KeyError} if
257there is no matching header; and \code{len(\var{m})},
Fred Drake853276e2003-07-16 17:58:38 +0000258\code{\var{m}.get(\var{name}\optional{, \var{default}})},
Fred Drakeaa02c842002-10-09 22:33:23 +0000259\code{\var{m}.has_key(\var{name})}, \code{\var{m}.keys()},
Fred Drake6b4593e2001-05-22 15:12:46 +0000260\code{\var{m}.values()} \code{\var{m}.items()}, and
Fred Drake853276e2003-07-16 17:58:38 +0000261\code{\var{m}.setdefault(\var{name}\optional{, \var{default}})} act as
Fred Drakeaa02c842002-10-09 22:33:23 +0000262expected, with the one difference that \method{setdefault()} uses
263an empty string as the default value. \class{Message} instances
Fred Drake98cfab62001-05-22 22:00:40 +0000264also support the mapping writable interface \code{\var{m}[name] =
265value} and \code{del \var{m}[name]}. \class{Message} objects do not
266support the \method{clear()}, \method{copy()}, \method{popitem()}, or
Fred Drake6b4593e2001-05-22 15:12:46 +0000267\method{update()} methods of the mapping interface. (Support for
Fred Drakee78661b2001-07-17 05:17:58 +0000268\method{get()} and \method{setdefault()} was only added in Python
Fred Drake6b4593e2001-05-22 15:12:46 +00002692.2.)
Guido van Rossuma12ef941995-02-27 17:53:25 +0000270
Fred Drakef5072b92001-09-06 15:07:55 +0000271Finally, \class{Message} instances have some public instance variables:
Guido van Rossuma12ef941995-02-27 17:53:25 +0000272
Fred Drakee14dde21998-04-04 06:19:30 +0000273\begin{memberdesc}{headers}
Guido van Rossuma12ef941995-02-27 17:53:25 +0000274A list containing the entire set of header lines, in the order in
Guido van Rossum87294831998-06-16 22:27:40 +0000275which they were read (except that setitem calls may disturb this
276order). Each line contains a trailing newline. The
Guido van Rossuma12ef941995-02-27 17:53:25 +0000277blank line terminating the headers is not contained in the list.
Fred Drakee14dde21998-04-04 06:19:30 +0000278\end{memberdesc}
Guido van Rossuma12ef941995-02-27 17:53:25 +0000279
Fred Drakee14dde21998-04-04 06:19:30 +0000280\begin{memberdesc}{fp}
Fred Drakeea002051999-04-28 18:11:09 +0000281The file or file-like object passed at instantiation time. This can
282be used to read the message content.
Fred Drakee14dde21998-04-04 06:19:30 +0000283\end{memberdesc}
Guido van Rossum87294831998-06-16 22:27:40 +0000284
Fred Drakef5072b92001-09-06 15:07:55 +0000285\begin{memberdesc}{unixfrom}
286The \UNIX{} \samp{From~} line, if the message had one, or an empty
287string. This is needed to regenerate the message in some contexts,
288such as an \code{mbox}-style mailbox file.
289\end{memberdesc}
290
Fred Drakeea002051999-04-28 18:11:09 +0000291
292\subsection{AddressList Objects \label{addresslist-objects}}
Guido van Rossum87294831998-06-16 22:27:40 +0000293
294An \class{AddressList} instance has the following methods:
295
Fred Drake9c846362001-04-09 15:42:56 +0000296\begin{methoddesc}{__len__}{}
Guido van Rossum87294831998-06-16 22:27:40 +0000297Return the number of addresses in the address list.
298\end{methoddesc}
299
Fred Drake9c846362001-04-09 15:42:56 +0000300\begin{methoddesc}{__str__}{}
Guido van Rossum87294831998-06-16 22:27:40 +0000301Return a canonicalized string representation of the address list.
302Addresses are rendered in "name" <host@domain> form, comma-separated.
303\end{methoddesc}
304
Fred Drake9c846362001-04-09 15:42:56 +0000305\begin{methoddesc}{__add__}{alist}
306Return a new \class{AddressList} instance that contains all addresses
307in both \class{AddressList} operands, with duplicates removed (set
308union).
Guido van Rossum87294831998-06-16 22:27:40 +0000309\end{methoddesc}
310
Fred Drake9c846362001-04-09 15:42:56 +0000311\begin{methoddesc}{__iadd__}{alist}
312In-place version of \method{__add__()}; turns this \class{AddressList}
313instance into the union of itself and the right-hand instance,
314\var{alist}.
315\end{methoddesc}
316
317\begin{methoddesc}{__sub__}{alist}
318Return a new \class{AddressList} instance that contains every address
319in the left-hand \class{AddressList} operand that is not present in
320the right-hand address operand (set difference).
321\end{methoddesc}
322
323\begin{methoddesc}{__isub__}{alist}
324In-place version of \method{__sub__()}, removing addresses in this
325list which are also in \var{alist}.
Guido van Rossum87294831998-06-16 22:27:40 +0000326\end{methoddesc}
327
328
329Finally, \class{AddressList} instances have one public instance variable:
330
331\begin{memberdesc}{addresslist}
332A list of tuple string pairs, one per address. In each member, the
Eric S. Raymonde7213c72001-01-27 10:56:14 +0000333first is the canonicalized name part, the second is the
Fred Drake9c846362001-04-09 15:42:56 +0000334actual route-address (\character{@}-separated username-host.domain
335pair).
Guido van Rossum87294831998-06-16 22:27:40 +0000336\end{memberdesc}