procmail
[Top] [All Lists]

Re: Filter mail to multiple recipients

2001-09-23 09:36:43
At 23-9-2001 16:29 +0100, Stig Brautaset wrote:

* Rene Verharen <rene(_at_)verharen(_dot_)net> spake thus:
> Is there a way to filter a message to multiple recipients on my domain,
> having each recipient his own copy of the message.  At this moment I use
> something like this :
>
>    :0
>    * ^TOalias1(_at_)my-domain(_dot_)com
>    ! someuser(_at_)some-domain(_dot_)com
>
>    :0
>    * ^TOalias2(_at_)my-domain(_dot_)com
>    ! someotheruser(_at_)another-domain(_dot_)com

> This works when the message has only one recipient, but with multiple
> recipients the message is catched by the first filter and doesn't appear to
> the other filters.

I am no procmail wiz myself, but how about

:0
* ^TOalias(_at_)nowhere(_dot_)org
{
        :0 c
        ! someone(_at_)nowhere(_dot_)org

        :0 c
        ! someoneelse(_at_)anywhere(_dot_)org

        ... etc
}

I am sure someone on the list will correct me if I am wrong.

Although this should work, it is not what I had in mind. Subscribing/unsubscribing to a mailinglist for instance then has to be done by the administrator (me) of nowhere.org and that is not what I want.

Sorry.



Vriendelijke groet,



Rene Verharen
rene(_at_)verharen(_dot_)net
http://www.verharen.net


_______________________________________________
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>