procmail
[Top] [All Lists]

Re: forwarding with the use of procmail

1997-06-12 07:47:00
helo mike,
i probably go the long way... but... hope this brings you closer to your
destination:

i set FROM to:
FROM=`formail -X From:`

and then user the variable $FROM on the command line eg:
|/somewhere/userful/progie -ARGS $FROM soandso page message.

hope this kinda helps ya... in using Hylafax.




On Wed, 11 Jun 1997, Mike Fisher wrote:

I've been trying something out lately:  forwarding short emails that are
addressed to me (no mailing lists, aliases, etc) to my pager.  It has been
working for the most part, except for one slight problem.  All the mail
that gets forwarded to the pager says that it is "from" me.  Would there
be a way to retain the original sender's name?

Here is the section of my .procmailrc that is pertinent (this is the last
recipe in the file):

:0 c
* ^TOmfisher
* < 800
! 2168903460(_dot_)pager(_at_)usamobile(_dot_)com

Any help would be appreciated.

Thanks.

Mike
---
"I swear - by my life and by my love of it - that I will never live
for the sake of another man, nor ask another man to live for mine."
 --Ayn Rand, _Atlas Shrugged_





Mario
    _________________\|/__________________
            ----===psypher===----
                     /|\
    remember..it's life, death..or New York.
        Voice %  SysOp+NetOp=    % Net