procmail
[Top] [All Lists]

distributing mail to a virtual domain

1995-11-09 20:55:57
I have a virtual domain called magoo.com and I forward mail that's
sent to user(_at_)magoo(_dot_)com to the real email address.  Right now I just
do the following for each user:

:0 c
* ^TOuser(_at_)magoo(_dot_)com
! user(_at_)foo(_dot_)bar


I need to use to c so that when more than one user, e.g.,
user1(_at_)magoo(_dot_)com and user2(_at_)magoo(_dot_)com, get the same piece 
of mail, they
both get forwarded a copy.

The problem is that all the mail falls through to the default box and
I only want things to fall through that were sent to something other
than one of the specified users.  Note that messages that I want to
fall through may also go to one or more of the specified users so I
it's not as simple as it may seem at first.  I've been thinking about
braces and AND'ing and OR'ing and De Morgan's rule when finally I
decided that I should just break down and ask all you wizards for
some ideas about the best way to do this.


Thanks mucho,
Nancita


<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<
            @..@            Nancy McGough           /\_/\
           (----)           Infinite Ink           ( o.o )
          ( >__< )    http://www.jazzie.com/ii/     > ~ <

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