Re: Computed list of destinations?

udi M <[email protected]> Tue, 08 Sep 2015 20:51:02 +0300
Newsgroups gmane.mail.procmail
Organization tau
Message-ID <[email protected]>
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/
[email protected]
http://mailman.rwth-aachen.de/mailman/listinfo/procmail