extracting the "from" or "reply-to" field?

extracting the "from" or "reply-to" field?

Post by Cindy Tittle Moo » Sun, 23 May 1993 15:37:16

I'm trying to define an mhl-form file that extracts the
address in the Reply-To: field or the From: field.  I've
been using formail -rx To: to do this, and I think it's
sensitive to different formats -- it seems to work fine

So, I thought I'd use mhl instead.  Trouble is, the
man file on mhl is of VERY little help -- it doesn't
at all explain all the %'s and >'s you find in form
files.  I've been able to get by with fiddling with
previously written form files, but this one has me

to be returned, and I don't know how to do this.  I thought
something like:

%(lit)%(formataddr %<{from}%|%<{reply-to}%|%{sender}%>%>)\

would work, but mhl gives me the oh-so-helpful "syntax errors"

Tips?  Ideas?  I'd really like a reliable mechanism for
retrieving the from address out of a mail message...I

half the time...

Or maybe I should just use perl...

_________________________Cindy Tittle Moore___________________________________


1. Set "From" and "Reply-To" fields: how to?

newsgroup about "Set "From" and "Reply-To" fields: how to?" on Aug 22,

:) Pine used to supply the correct From field, but i've been struggling
:) with the last year or two's versions of pine, because they don't
:) allow me to prescribe my correct User ID, or the From field, or the
:) Reply-To field, neither in a message, nor in .pinerc.
:) Why is this?

Edit your pinerc file, add "allow-changing-from" under feature-list=, and
make sure you add "From:" to your list of default-composer-hdrs. You can
also add "Reply-To:" to this list.


2. WATS Service in Oregon in 1989

3. "Reply-To" and "From" fields in Sendmail 8.8.8

4. Help required.... .DWG files

5. Pine 4.31, "Setup", "Config", ..., "?" gives "Illegal instruction"

6. Real Unlimted 128k isp?

7. Reply To "From" Instead Of "Reply-To"???

8. Help : "From :" field or "X-Envelope to :" field

9. how to insert "Reply-to" header using UCB "mail"

10. Changing "from" or "reply-to"?

11. sendmail modifying "From" and "Reply-to" headers

12. How to tell "mail" program to use "Reply-To:" header?