procmail
[Top] [All Lists]

Re: formail syntax?

2007-09-20 19:26:37
On 9/20/07, LuKreme <kremels(_at_)kreme(_dot_)com> wrote:

1)  cat ~/mail/test | formail -xFrom:
2)  FROM=`formail -xFrom:`

When running the formail by hand against a message, I'd get...

From: Scott Moseman <scmoseman(_at_)gmail(_dot_)com>

But when running the same syntax from procmail, I would get...

From scmoseman(_at_)gmail(_dot_)com Fri Aug 31 08:16:24 2007


Sorry that I did not clarify my problem.  I'm keeping the "From"
and the "From:" headers in my output as a sample to show my
problem.  From my shell, I get the "From:" header (note colon),
but from my procmail script I get the "From" header (no colon).
They contain different information, and I'm not sure why I get a
From: via shell (which is what I want) by From via procmailrc...

Thanks,
Scott
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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