procmail
[Top] [All Lists]

"FROM value" (was: Procmail.)

1999-12-30 06:21:56
On Thu, 30 Dec 1999 10:53:06 -0000, "Ricardo Borges"
<ricardo(_dot_)borges(_at_)gbl(_dot_)com(_dot_)br> wrote:
Where can i find the variable that carries de FROM value(ex. like
somebody(_at_)someserver(_dot_)net) in the procmail source code.

There isn't any. The headers of the message should contain the
envelope sender information, either on the From_ line, or in
Return-Path:

If that's not what you're after, look in the FAQ for the formail way
to extract a good reply address, or search this list for messages
discussing the headers Sender: and Resent-* which complicate matters
somewhat.

<http://www.rosat.mpe-garching.mpg.de/mailing-lists/procmail/> is the
address of the search engine. The FAQ is available from the primary
site <http://www.iki.fi/era/procmail/mini-faq.html> and a number of
mirrors. (The primary site might be hard to reach during the next
couple of days due to hardware upgrades and other outages.)

   North America
          <http://mirror.ncsa.uiuc.edu/procmail-faq/>
          <http://www.zer0.org/procmail/>
          <http://moongroup.com/unix/procmail/>

   Europe
          <http://www.xs4all.nl/~sister/mirror/procmail/>

If you're trying to figure out where to send a bounce message, that's
not really the job of Procmail. The simplest way to do that is to exit
with an appropriate exit code, and the MTA will take it from there. If
you have Procmail installed as your LDA, log messages from Procmail
should be included in the generated bounce message, too. If that's not
good enough either, then you have to generate your own bounce message
after all (or hack your own MTA :-)

Hope this helps,

/* era */

PS. Please try to choose a meaningful Subject: header -- you're
already posting to the Procmail list, so we can guess it's about
Procmail.

-- 
 Too much to say to fit into this .signature anyway: <http://www.iki.fi/era/>
  Fight spam in Europe: <http://www.euro.cauce.org/> * Sign the EU petition

<Prev in Thread] Current Thread [Next in Thread>
  • Procmail., Ricardo Borges
    • "FROM value" (was: Procmail.), era eriksson <=