procmail
[Top] [All Lists]

Re: /var/spool/mail (fwd)

1997-12-17 13:04:33
aoc <aoc(_at_)geocities(_dot_)com> writes:
ok i think i may've figured out. sendmail edits the headers
of incoming mail so that only the "From:"and "Date:"lines show
up as headers and the rest (subject, to, received by, x-sender etc.) are
crammed into the body of the msg; hence,procmail is only able to filter
based on what's in the From: and Date: lines and ignores the rest.

If you send a message to yourself, does this happen?  If so, then it
sounds the like the header definitions lines in the sendmail.cf (the
ones that begin with an 'H') are screwy.  Rebuild your sendmail.cf and
try again.

...
'Not sure what is causing this (mis)behavior..perhaps it's because
Geocities uses a different MTA (?) or my version of sendmail is
incompatible with theirs. Any ideas? I fetch mail directly from the
geocities server, in case that's of any significance.

Oh, you're fetching your mail via POP?  What program (and version) do
you use to do that?  I would suggest checking to see if a newer version
of it is out.  You can also run the POP protocol by hand to see whether
the mail looks fine on the remote server.  If so, then it's a local
problem.  Here's a sample POP conversation.  I typed the lines that
start with '>':

  telnet pop-server 110
    Trying 138.236.128.18...
    Connected to solen.gac.edu.
    Escape character is '^]'.
    +OK Cubic Circle's v1.21 1997/08/10 POP3 ready
  USER guenther
    +OK guenther selected
  PASS XXXXXXXX
    +OK Congratulations!
  STAT
    +OK 1 801
  RETR 1
    +OK 801 octets
    Received: by solen.gac.edu for guenther
     (with Cubic Circle's cucipop (v1.21 1997/08/10) Wed Dec 17 13:43:09 1997)
    X-From_: guenther(_at_)gac(_dot_)edu  Wed Dec 17 13:42:19 1997
    Return-Path: <guenther(_at_)gac(_dot_)edu>
    Received: from lunen.gac.edu (guenther(_at_)lunen(_dot_)gac(_dot_)edu 
[138.236.128.17])
            by solen.gac.edu (8.8.7/8.8.7/GAC-HUB-2.39) with ESMTP id NAA17070
            for <guenther(_at_)lunen(_dot_)gac(_dot_)edu>; Wed, 17 Dec 1997 
13:42:18 -0600 (CST)
    Received: (from guenther(_at_)localhost)
            by lunen.gac.edu (8.8.7/8.8.7/GAC-SUBHUB-2.39) id NAA14918
            for guenther; Wed, 17 Dec 1997 13:42:16 -0600 (CST)
    Date: Wed, 17 Dec 1997 13:42:16 -0600 (CST)
    From: guenther(_at_)gac(_dot_)edu
    Message-Id: <199712171942(_dot_)NAA14918(_at_)lunen(_dot_)gac(_dot_)edu>
    To: guenther(_at_)gac(_dot_)edu
    Subject: foo

    ksdjfhkjs
    skjfhskjf
    ksdjfhkjf

    .
  QUIT
    +OK Was it as good for you, as it was for me?  (clean as a baby)
    Connection closed by foreign host.


Notice how the first blank line is right after the header.  If there's
one before that when you run the POP conversation, then the server is
screwed up.


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>