nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Multi-homed postproc, v2

2015-03-11 17:09:42
It does, but then I can't use whom(1) since that will invoke the
script, leading to infinite recursion (at least, until the kernel
runs out of file descriptors B-).

Well, like many things whom(1) calls post to do it's dirty work, with
the undocumented -whom option.  So you could short-circuit whom and
just call post(8) directly.  You'll probably need to add an -alias and
-library option.  Or, you could simply check to see if there's a -whom
argument present to your postproc and if it is do NOT call whom, but
instead call post(8).  Which now that I think about it, I should probably
do in my script.

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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