procmail
[Top] [All Lists]

Re: Formail and the -f flag

2001-12-11 03:47:46
I understood the -f flag to formail would prevent it from adding the
mbox style "From " line to massages

Yep.

but it appears this is not happening here.

But you have two instances of 'formail' which don't use the '-f' flag.
I'd guess that your problem is there.

$BASE/run_suck \
 |formail -m5 -f -d -e -s procmail -m $BASE/.proc_nntp_split_test

You've a '-f' flag, so probably no "From " at this point.

TRAP="formail -XMessage-Id:"

Any message that goes through this formail will get a "From " added.  So
you probably want a '-f' there.

    :0fW
   * ^Xref:( |\t)*..\/.*
    | formail -I "X-Save-Xref: ${MATCH}" \
    |sed '/^\.$/d'

And there's another formail without a '-f' so that would add a "From "
to any messages that go through it.

Hope that helps,
Martin
-- 
Martin McCarthy                 /</                  PGP key available
    `Procmail Companion'        \>\  http://www.ancient-scotland.co.uk
     Addison Wesley             /</    http://www.ehabitat.demon.co.uk
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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