<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML//EN">
<title>MHonArc Resources: MSGSEP
</title>
<table border=
0><tr valign=
"top">
<td align=
"left" width=
"50%">[Prev:
<a href=
"msgprefix.html">MSGPREFIX
</a>]
</td><td><nobr>[
<a href=
"../resources.html#msgsep">Resources
</a>][
<a href=
"../mhonarc.html">TOC
</a>]
</nobr></td><td align=
"right" width=
"50%">[Next:
<a href=
"multipg.html">MULTIPG
</a>]
</td></tr></table>
<!-- *************************************************************** -->
<dt><strong>Envariable
</strong></dt>
<code>M2H_MSGSEP=
</code><var>Perl-regexp
</var>
<dt><strong>Element
</strong></dt>
<code><MSGSEP
><br></code>
<var>Perl-regexp
</var><br>
<code></MSGSEP
><br></code>
<dt><strong>Command-line Option
</strong></dt>
<code>-msgsep
</code><var>Perl-regexp
</var>
<!-- *************************************************************** -->
<p>MSGSEP defines the Perl regular expression that represents the
message separator for mailbox files.
</p>
<!-- *************************************************************** -->
<p><strong>Note
</strong>: There is a space character after
<!-- *************************************************************** -->
<h2>Resource Variables
</h2>
<!-- *************************************************************** -->
<p>Some MTAs do not escape lines that start with
"<tt>From </tt>".
This will cause
<em>MHonArc
</em> to split a message into separate
messages since it will treat the line as a message separator
(if
<em>MHonArc
</em> is processing a mailbox file). One
way to help avoid this problem is to set the MSGSEP resource to
a more specific regular expression. For example:
^From \S+\s+\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\s+\d+
^From\s+(?:
"[^"]+
"@\S+|\S+)\s+\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\s+\d+
<p>The second version deals with some systems that have quoted
local parts in the address listed in the separator.
<p>It is still possible to get bogus splitting if a message
contains a line that matches the regexp.
want to activate the <a href="conlen.html
">CONLEN</a> resource,
<!-- *************************************************************** -->
<!-- *************************************************************** -->
<a href="conlen.html
">CONLEN</a>
<!-- *************************************************************** -->
<table border=0><tr valign="top
">
<td align="left
" width="50%
">[Prev: <a href="msgprefix.html
">MSGPREFIX</a>]</td><td><nobr>[<a href="../resources.html#msgsep
">Resources</a>][<a href="../mhonarc.html
">TOC</a>]</nobr></td><td align="right
" width="50%
">[Next: <a href="multipg.html
">MULTIPG</a>]</td></tr></table>
$Date: 2002/07/27 05:13:11 $ <br>
<img align="top
" src="../monicon.png
" alt="">
<a href="http://www.mhonarc.org/
"><strong>MHonArc</strong></a><br>
Copyright © 1997-1998, <a href="http://www.earlhood.com/
">Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org
">mhonarc@mhonarc.org</a><br>