James> This is not an exmh problem, but an interaction between sendmail,
James> Solaris and mh.
Correct.
James> Your sysadmin is wrong.  It is the responsibility of the receiving mail
James> server to escape lines beginning with "From " if they choose to turn
James> on that facility.  It is not the responsibility for email clients to
James> cater to the stupid design of the unix mail spool, and Sun's even more
James> stupid decision to rely on "Content-length:" instead of dealing with
James> this problem.  Since mh is unaware of "Content-length:", rcvstore gags
James> trying to parse messages from the spool.
Also correct.  In fairness, though I cannot defend the Content-Length: header
as I consider it brain damage in the extreme, Sun inherited this from AT&T.
James> Get your mail administrator to add the "E" flag to your sendmail.
James> This means you will never see a line beginning with "From ". Any such
James> line will look like ">From ".
Specifically, you will need to find a line in /etc/mail/sendmail.cf that
starts with "Mlocal" such as:
[4784] grep ^Mlocal /etc/mail/sendmail.cf
Mlocal,         P=/usr/lib/mail.local, F=lsDFMAw5:/|@qPSXfmnz9E, S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL,
[4785]
and make sure that 'E' appears in the long list of flags following "F=".
If your sys-admin uses m4 to generate sendmail.cf, and any good sys-admin
should, then here is the magic line for the .mc file:
MODIFY_MAILER_FLAGS(`LOCAL', `+E')dnl
James> You can learn to use procmail, invoking rcvstore directly instead of
James> letting sendmail put your incoming mail into the spool.  This avoids
James> the whole issue.  rcvstore only deals with a single message at a time,
James> and everything works.
Also correct, though procmail per se is not needed, as other filters (such
as slocal, which is part of the [n]mh distribution) do the trick just as well.
-- John
_______________________________________________
Exmh-users mailing list
Exmh-users@redhat.com
https://listman.redhat.com/mailman/listinfo/exmh-users

from localhost (jalapeno [127.0.0.1])
	by jmason.org (Postfix) with ESMTP id 4656E16F1B
	for <jm@localhost>; Wed,  9 Oct 2002 22:41:21 +0100 (IST)
from jalapeno [127.0.0.1]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Wed, 09 Oct 2002 22:41:21 +0100 (IST)
from listman.spamassassin.taint.org (listman.spamassassin.taint.org [66.187.233.211]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g99LHFK21965 for
    <jm-exmh@jmason.org>; Wed, 9 Oct 2002 22:17:15 +0100
from listman.spamassassin.taint.org (localhost.localdomain [127.0.0.1]) by
    listman.redhat.com (Postfix) with ESMTP id 9D81D3F3B4; Wed,  9 Oct 2002
    17:17:35 -0400 (EDT)
from int-mx1.corp.spamassassin.taint.org (int-mx1.corp.spamassassin.taint.org
    [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 2D645429D4
    for <exmh-users@listman.redhat.com>; Wed,  9 Oct 2002 17:06:34 -0400 (EDT)
(from mail@localhost) by int-mx1.corp.spamassassin.taint.org (8.11.6/8.11.6)
    id g99L6Yw18364 for exmh-users@listman.redhat.com; Wed, 9 Oct 2002
    17:06:34 -0400
from mx1.spamassassin.taint.org (mx1.spamassassin.taint.org [172.16.48.31]) by
    int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g99L6Xf18359 for
    <exmh-users@redhat.com>; Wed, 9 Oct 2002 17:06:33 -0400
from prospect.stortek.com (prospect.stortek.com [129.80.22.147])
    by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g99KkjX19744 for
    <exmh-users@redhat.com>; Wed, 9 Oct 2002 16:46:45 -0400
from prospect.stortek.com (localhost [127.0.0.1]) by
    prospect.stortek.com (8.12.3/8.12.0) with ESMTP id g99L6Qbt018826 for
    <exmh-users@redhat.com>; Wed, 9 Oct 2002 15:06:26 -0600 (MDT)
from vinson-ether1.stortek.com (vinson-ether1.stortek.com
    [129.80.16.134]) by prospect.stortek.com (8.12.3/8.12.0) with ESMTP id
    g99L6QAC018819 for <exmh-users@redhat.com>; Wed, 9 Oct 2002 15:06:26 -0600
    (MDT)
from tatanka.stortek.com (tatanka.stortek.com [129.80.90.4]) by
    vinson-ether1.stortek.com (8.12.3/8.12.0) with ESMTP id g99L6PHx014983 for
    <exmh-users@redhat.com>; Wed, 9 Oct 2002 15:06:25 -0600 (MDT)
from tatanka (localhost [127.0.0.1]) by tatanka.stortek.com
    (8.11.6+Sun/8.10.2) with ESMTP id g99L50905177 for <exmh-users@redhat.com>;
    Wed, 9 Oct 2002 15:05:01 -0600 (MDT)
From exmh-users-admin@redhat.com  Wed Oct  9 22:43:07 2002