On 08/09/15 02:21, Ian Zimmerman wrote:
Is there any way for procmail to deliver to a computed or dynamically
determined list of mailboxes or addresses?
The lack of loops in the procmailrc "language" makes "no" the obvious
answer, but I thought there might be a trick the assembled experts know.
The question is not clear but I try to highlight some points:
We want the message stay in the "filter-step" as short as
possible!
for this reason we do not want to run loops and other
programming
tricks. So, if you need something complicated, do pipe the
message to
script with background commands:
In the script:
...
(Lot of commands to be run in background ...) &
exit
Sending the command to background and exit will disconnect your
program
from the mailing process.
The disadvantage of this way is that procmail will never know
the real exit status
of the job.
--udi
|
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail