from listman.example.com (listman.example.com [66.187.233.211]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g99IsLK17087 for
    <jm-exmh@jmason.org>; Wed, 9 Oct 2002 19:54:21 +0100
from listman.example.com (localhost.localdomain [127.0.0.1]) by
    listman.redhat.com (Postfix) with ESMTP id 680E542573; Wed,  9 Oct 2002
    14:52:10 -0400 (EDT)
from int-mx1.corp.example.com (int-mx1.corp.example.com
    [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 01A0D41EC2
    for <exmh-users@listman.redhat.com>; Wed,  9 Oct 2002 14:43:06 -0400 (EDT)
(from mail@localhost) by int-mx1.corp.example.com (8.11.6/8.11.6)
    id g99Ih6H09020 for exmh-users@listman.redhat.com; Wed, 9 Oct 2002
    14:43:06 -0400
from mx1.example.com (mx1.example.com [172.16.48.31]) by
    int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g99Ih6f09015 for
    <exmh-users@redhat.com>; Wed, 9 Oct 2002 14:43:06 -0400
No, hits=-1.7 required=5.0
	tests=IN_REP_TO,KNOWN_MAILING_LIST,REFERENCES,
	      T_NONSENSE_FROM_00_10,T_NONSENSE_FROM_10_20,
	      T_NONSENSE_FROM_20_30,T_NONSENSE_FROM_30_40,
	      T_NONSENSE_FROM_40_50,T_NONSENSE_FROM_50_60,
	      T_NONSENSE_FROM_60_70,T_NONSENSE_FROM_70_80,
	      T_NONSENSE_FROM_80_90,T_NONSENSE_FROM_90_91,
	      T_NONSENSE_FROM_91_92,T_NONSENSE_FROM_92_93,
	      T_NONSENSE_FROM_93_94,T_NONSENSE_FROM_94_95,
	      T_NONSENSE_FROM_95_96,T_NONSENSE_FROM_96_97,
	      T_NONSENSE_FROM_97_98,T_NONSENSE_FROM_98_99,
	      T_NONSENSE_FROM_99_100,X_LOOP
	version=2.50-cvs

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