|
MSGSEPSyntax
DescriptionMSGSEP defines the Perl regular expression that represents the message separator for mailbox files. Default Setting^From Note: There is a space character after
" Resource VariablesN/A ExamplesSome MTAs do not escape lines that start with "From ". This will cause MHonArc to split a message into separate messages since it will treat the line as a message separator (if MHonArc 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: <MSGSEP> ^From \S+\s+\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\s+\d+ </MSGSEP> or <MSGSEP> ^From\s+(?:"[^"]+"@\S+|\S+)\s+\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\s+\d+ </MSGSEP> The second version deals with some systems that have quoted local parts in the address listed in the separator. It is still possible to get bogus splitting if a message contains a line that matches the regexp. Therefore, you may want to activate the CONLEN resource, if applicable. Version1.0 See Also
$Date: 2002/07/27 05:13:11 $ MHonArc Copyright © 1997-1998, Earl Hood, mhonarc@mhonarc.org |