[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] procmail : about reading info from ASCII files
- Subject: Re: [vps-mail] procmail : about reading info from ASCII files
- From: Scott Wiersdorf <scott@xxxxxxxxxxxx>
- Date: Sat, 8 Nov 2003 19:47:25 -0700
On Sat, Nov 08, 2003 at 05:17:59PM -0800, Abigail Marshall wrote:
> A> Abigail Marshall wrote:
>
> I think you can put an INCLUDERC call in the middle of a
> recipe if you want. That is, I THINK you could have a recipe
> like this:
> :0 H:
> INCLUDERC= path/to/blocklist
> /dev/null
>
> But I might be very mistaken on that one - I've never
> actually tried it. (I'm hoping Scott comes in an sets me
> straight if I am). Maybe Scott's egrep command is better.
Oh, how nice it would be if you could do that! It would make for much
tider rc files.
INCLUDERC has to be either a standalone line in an rc file, or the
action line (enclosed by braces). The INCLUDERC file itself also
should be a valid procmailrc-style file (i.e., valid, complete
syntax):
INCLUDERC=blocklist.rc
or
:0
* H ?? ^TO_me@mydomain\.com
{ INCLUDERC=blocklist.rc }
would work.
Scott
--
Scott Wiersdorf
scott@xxxxxxxxxxxx
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
======================================================================
Main Index |
Thread Index