procmail
[Top] [All Lists]

Re: Filter Order in Procmailrc

1997-09-19 06:33:11
era,

On Date: Fri, 19 Sep 1997 16:03:34 +0300 (EET DST) era eriksson 
<era(_at_)iki(_dot_)fi>
wrote:

On Fri, 19 Sep 1997 8:25:41 -0400, "Ed James 410-792-6000 x8733
ed(_dot_)james(_at_)jhuapl(_dot_)edu" 
<JAMESVE1(_at_)s1pvxe(_dot_)jhuapl(_dot_)edu> wrote:
 > Philip, you wrote on: Thu, 18 Sep 1997 17:02:00 -0500
 >> If a assignment to the "HOST" variable occurs where the
 >> assigned value doesn't equal the hostname of the machine on which
 >> procmail is running, procmail will stop reading the procmailrc, and if
 >> there are other procmailrcs specified on the command line, it will
 >> start reading them.
 > Would you  please post an example to demonstrate this?

Would you like to know what it's useful for, or just what he means? 

Actually, both. I understand from below how what he said works. Thank you.
Now I would like to know what it is useful for. 

When the procmailrc is exited, if it is the last/only one on the command
line, what happens to the mail?

The following isn't directly useful, but might perhaps work as an
explanation: 

 $ cat >rc1
 LOG="Now in rc1
 "
 HOST

I was wondering why my entries in the logfile caused by LOG= always had
the next line concatenated to them. Thank you again. To get the newline
into a procmailrc via vi, do I use <ctrl/V> <ctrl/M> or another/better
way?

Hope this helps,

Very much. Thank you.

Ed James                                Email   
ed(_dot_)james(_at_)jhuapl(_dot_)edu
The Johns Hopkins University            Voice   {410-792|301-953}-6000x8733
Applied Physics Laboratory 24-E196      Fax     {410-792|301-953}-6670
Johns Hopkins Road                      Pager   410-743-8826
Laurel, MD  20723-6099

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