procmail
[Top] [All Lists]

Re: distributing mail to a virtual domain

1995-11-09 21:26:20
At 07:44 PM 11/9/95 -0800, Nancy McGough wrote:
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/     > ~ <




Why don't you first create a recipe for normal delivery (matching against
the exact address), and then create a second recipe with the 'E' flag to
catch everything that's supposed to fall through? I haven't tried it because
I do just the reverse (a few specific addresses require special handling),
but it should work.

---
Gregory Woodhouse     gjw(_at_)best(_dot_)com
home page:            http://www.best.com/~gjw/
resource page:        http://www.best.com/~gjw/resource/                  

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