Find the answer to your Linux question:
Results 1 to 2 of 2
For whatever reason, I'm getting different results when I do this: 1) cat ~/mail/test | formail -xFrom: 2) FROM=`formail -xFrom:` When I run it by hand (#1), I get this ...
  1. #1
    Banned
    Join Date
    Dec 2002
    Location
    Texas
    Posts
    242

    formail syntax

    For whatever reason, I'm getting different results when I do this:

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

    When I run it by hand (#1), I get this (my desired output):
    From: Scott Moseman <scmoseman@gmail.com>

    But when I run it from the procmailrc, I get this output:
    From scmoseman@gmail.com Fri Aug 31 08:16:24 2007

    Does anyone know why I'm getting different output from these?
    I even attempted `formail -x"From:"` with no change in the results.
    (My post to the procmail mailing list yielded no useful replies yet...)

  2. #2
    Banned
    Join Date
    Dec 2002
    Location
    Texas
    Posts
    242
    No suggestions? Surely I'm just overlooking something simple.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...