procmail
[Top] [All Lists]

escaped >From hides Subject from Solaris-2.5 mailx

1996-12-13 00:30:56
Hello,

Some of our users prefer /usr/ucb/mailx on our Solaris 2.5
machines (with NFS mounted mail spool) and we have recently
found the Subject: info doesn't show up when the message has
an escaped >From line.  Like this,

  From garyare(_at_)are2(_dot_)berkeley(_dot_)edu  Thu Dec 12 20:18:53 1996
  >From garyare  Thu Dec 12 20:18:53 1996

I don't understand why procmail (apparently) adds the extra >From line.
Can anyone point me in the right direction?

The rest of this message is my attempt to include enough information
for one of you gurus to see whats happening.

Here is the disappearing Subject act:

 % mailx -f garyare
   mailx version 5.0 Wed Oct 25 04:12:43 PDT 1995  Type ? for help.
   >O  1 garyare(_at_)are2(_dot_)berke Thu Dec 12 20:18   17/849   

compare with elm's frm output:
 % frm  garyare
   Gary Casterline      Yes, there is a subject here

If I delete the >From line then mailx will display the Subject. 

Here are the FEATURE lines from the sendmail 8.8.4 m4 file:
        FEATURE(allmasquerade)dnl
        FEATURE(always_add_domain)dnl
        FEATURE(smrsh)dnl
        FEATURE(local_procmail)dnl

Which generates the following in the sendmail.cf:

        Mlocal,         P=/usr/local/bin/procmail,
                        F=lsDFMAw5:/|@qSPfhn9, S=10/30, R=20/40,
                        T=DNS/RFC822/X-Unix,
                        A=procmail -Y -a $h -d $u
        Mprog,          P=/usr/local/etc/smrsh,
                        F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/,
                        T=X-Unix,
                        A=sh -c $u

!!procmail -v
procmail v3.11pre4 1995/10/29 written and created by Stephen R. van den Berg
Locking strategies:     dotlocking, fcntl()
Default rcfile:         $HOME/.procmailrc
System mailbox:         /var/mail/$LOGNAME

!!ls -l /usr/local/bin/procmail
-rwsr-xr-x 1 root root   66016 Nov 09 00:03 /usr/local/bin/procmail

sendmail and procmail compiled with gcc version 2.7.2.1

What have I forgotten?
Thanks for any help.

 -Gary





Here is the (hand formatted) message for your viewing pleasure:

  From garyare(_at_)are2(_dot_)berkeley(_dot_)edu  Thu Dec 12 20:18:53 1996
  >From garyare  Thu Dec 12 20:18:53 1996
  Return-Path: <garyare(_at_)are2(_dot_)berkeley(_dot_)edu>
  Received: from are2.berkeley.edu (are2.Berkeley.EDU [128.32.175.13])
            by are.Berkeley.EDU (8.8.4/8.8.4) with ESMTP
            id UAA06119 for <garyare(_at_)are(_dot_)Berkeley(_dot_)EDU>;
            Thu, 12 Dec 1996 20:18:52 -0800 (PST)
  Received: (from garyare(_at_)localhost) by are2.berkeley.edu
    (8.8.4/8.8.3) id UAA17454 for garyare;
    Thu, 12 Dec 1996 20:18:51 -0800 (PST)
  From: Gary Casterline3 <garyare(_at_)are(_dot_)Berkeley(_dot_)EDU>
  Message-Id: <199612130418(_dot_)UAA17454(_at_)are2(_dot_)berkeley(_dot_)edu>
  Subject: Yes, there is a subject here
  To: garyare(_at_)are(_dot_)Berkeley(_dot_)EDU (Gary Casterline3)
  Date: Thu, 12 Dec 1996 20:18:50 -0800 (PST)
  X-Mailer: ELM [version 2.4ME+ PL28 (25)]
  MIME-Version: 1.0
  Content-Type: text/plain; charset=US-ASCII
  Content-Transfer-Encoding: 7bit

<Prev in Thread] Current Thread [Next in Thread>
  • escaped >From hides Subject from Solaris-2.5 mailx, Gary Casterline <=