procmail
[Top] [All Lists]

Mailing Lists vs. Virtual Domains

1997-06-27 13:45:00
Hi All,

    Please forgive me if this problem has already
been discussed, but I can't find any solutions.

    First a little background: Our company designs
web pages for a variety of clients. Many of them
have Virtual Domain Names  (i.e. they are hosted on
our ISP's server; they do not have their own servers).
We encourage them to use their Virtual Domain name
in their email correspondence; we in turn redirect
their mail to them using procmail. We are by no means
Systems Administrators or programmers; we only
started using procmail a few months ago, so we are still
in the learning process.

    Our Problem: When a client signs up for a
Mailing List/Listserv, using an email address with their
virtual domain name, the mail comes to us instead of
them. How do we tell procmail to redirect this mail to
our clients?

    Here is an example of a recipe we use to redirect mail now:

:0 c
*  ^To(_dot_)*support(_at_)virtual(_dot_)com
! tgjohnj(_at_)aloha(_dot_)com

:0 c
*  ^Cc(_dot_)*support(_at_)virtual(_dot_)com
! tgjohnj(_at_)aloha(_dot_)com

:0 c
*  ^To(_dot_)*manager(_at_)virtual(_dot_)com
! billy(_at_)aol(_dot_)com

:0 c
*  ^Cc(_dot_)*manager(_at_)virtual(_dot_)com
! billy(_at_)aol(_dot_)com


:0 c
*  ^To(_dot_)*(_at_)virtual(_dot_)com
*  !^To(_dot_)*support(_at_)virtual(_dot_)com
*  !^To(_dot_)*manager(_at_)virtual(_dot_)com
*  !^Cc(_dot_)*support(_at_)virtual(_dot_)com
*  !^Cc(_dot_)*manager(_at_)virtual(_dot_)com
!  marvin(_at_)hawaii(_dot_)edu


######"Clean Up" Recipe at end of file######
:0:
*  ^To(_dot_)*(_at_)virtual(_dot_)com
/dev/null

:0:
*  ^Cc(_dot_)*(_at_)virtual(_dot_)com
/dev/null


Thanks for your help!


Michele

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Michele Tokuno
Web Page Designer,  Hawaii Internet Emporium
URL:  http://www.pete.com  | email:  michele(_at_)pete(_dot_)com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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