I have an occasional problem when using formail to split a digest I get
from a MajorDomo list. Every so often, a message will get "split", as
viewed in my MUA, and there will be a dangling message from ???(_at_)??? with no
other headers.
Here are the relevant headers from the digest, before formail tries to
split the message (as saved by procmail), with one (1) '>' prepended:
From: DMusgrave(_at_)swri(_dot_)edu
Date: Mon, 2 Oct 95 13:42:09 CDT
Subject: What's holding back bents? (long)
[text lines deleted]
big bucks to buy an unknown quantity.
From an engineering standpoint, it is not at all apparent why a recumbent
should cost substantially more than a conventional two-wheeler. By using the
Note that the leading "From" has been protected with an '>'. Here are the
same lines after formail has split the digest, again with one (1) '>'
prepended:
From DMusgrave(_at_)swri(_dot_)edu Mon Oct 2 14:45:55 1995
From: DMusgrave(_at_)swri(_dot_)edu
Date: Mon, 2 Oct 95 13:42:09 CDT
Subject: What's holding back bents? (long)
To: hpv(_at_)zippy(_dot_)sonoma(_dot_)edu
[text lines deleted]
big bucks to buy an unknown quantity.
From an engineering standpoint, it is not at all apparent why a recumbent
should cost substantially more than a conventional two-wheeler. By using the
Note that the "From" is no longer protected. When my MUA gets the
messages, it sees that line as starting a new message.
Are there some flags I should be using with formail that I'm not currently?
As I read the man page, the only relevant option (-b) would *stop* formail
from protecting the "From " line....
.Forward file:
|/u1/hal/pm/bin/procmail -Yf- || exit 75 #hal
.procmail split recipe (including the "traps" that got the before & after
snippets above):
FORMAIL=$HOME/pm/bin/formail
:0
* ^From.*\<owner-hpv-digest(_at_)cs\(_dot_)sonoma\(_dot_)edu\>
{
# first recipies try to track Eudora splitting
# problem. Sigh.
:0c:
$HOME/Eudora.msg
:0c:
| $FORMAIL -i"To: hpv(_at_)zippy(_dot_)sonoma(_dot_)edu" \
-ds >>$HOME/Eudora.before
# Now do the real work...
:0:
| $FORMAIL -i"To: hpv(_at_)zippy(_dot_)sonoma(_dot_)edu" \
-ds >>$DEFAULT
}
Procmail version:
procmail v3.10pre4 1994/09/27 written and created by Stephen R. van den Berg
berg(_at_)pool(_dot_)informatik(_dot_)rwth-aachen(_dot_)de
Locking strategies: dotlocking, flock()
Default rcfile: $HOME/.procmailrc
System mailbox: $HOME/.mailbox/inbox
--Hal
Hal Wine <hal(_at_)dtor(_dot_)com> voice: 510/482-0597