procmail
[Top] [All Lists]

Re: Multiple receivers of the same message

1998-12-09 12:57:10
Well, I'm a procmail neophyte, but it sounds like you just want to want to add
the "c" for (Copy) flag to each recipe, e.g.

        :0 c
        * ^TOluca(_dot_)crosa(_at_)damcomar(_dot_)com
        * !^FROM_DAEMON
        ! damco(_at_)pointest(_dot_)com

        :0 c
        * ^TOmauro(_dot_)bastelli(_at_)damcomar(_dot_)com
        * !^FROM_DAEMON
        ! damco(_dot_)bologna(_at_)comm2000(_dot_)it

        ...

If you (a) are expecting to get (or at least want to safely handle) _HUGE_
lists of addressees, that might have hundreds or thousands of matches, and (b)
are running something slow and horrible like sendmail, then you might want to
put an explicit lock around this whole mess to serialize deliveries, so that
the forking procmails don't try to launch a thousand whales all at once.

You'll have to ask someone else the best way to do that, though, I'm not that
good at procmail.

-Bennett

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