procmail
[Top] [All Lists]

Re: A bazillion processes

2004-04-17 14:24:23

I tried the INCLUDERC business with the whitelist and immediately ran into
the buffer overflow problem.  I had to chop the list up into smaller
sections in order to make it work (which I did for a couple of weeks).

Once I figured out how to make the recipe grep a file then I switched
immediately.  For me the advantages are:

1. I don't have to keep manipulating the .rc to keep the chunks under the
   buffer limit.

2. I can add comments to each address so I won't forget who
   abc89(_at_)hotmail(_dot_)com (for example) is.

3. The whitelist acts as a quick address book.  From pine, ^Z, grep -i
   Bob, and I get a list of Bob's to pick from.  Using the "regular"
   address book, I always have to remember whether the "Bob" I want is
   bob-a, bob-b, bob-c, or what. (So I wind up doing a search on the
   address book anyway.)

On Sat, 17 Apr 2004, Dallman Ross wrote:

On Sat, Apr 17, 2004 at 09:05:15AM +0200, Ruud H.G. van Tol wrote:
If there are only clean addresses on each line, it can be used on
the left side, by changing it to an includable rc:

  myFriends = "
john(_dot_)relative(_at_)domain(_dot_)com
pete(_dot_)relative(_at_)domain(_dot_)com
"

Keep that friends.rc limited to a few KB of course.

  INCLUDERC = "friends.rc"
  :0
  *$ myFriends ?? ^[  ]*$MATCH[  ]*^
  { FRIEND = YES }


I do something similar I rolled myself to run a few small private
mailing lists.




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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