Re: forward all incoming emails to a single address
- From: "TJ" <tonyj@xxxxxxxxxx>
- Date: Thu, 6 Mar 2008 10:07:09 -0600
Great ideas, thank you.
Speaking of which, someone already wrote a tiny program that does what you
mention.
Here's what I just implemented (saves me from writing the code):
http://smtp-preprocessor.sergey-merzlikin.qarchive.org/
"Sanford Whiteman" <swhitemanlistens-software@xxxxxxxxxxxxxxxxxxxxx> wrote
in message news:op.t7ha5slu6c17zw@xxxxxxxxxxxxxxxxxxxxxxx
We'd like to prevent our staging and testing environments from sending
emails out to real employees/clients. Is there a way to configure Win2k3
server's SMTP server to forward all incoming email to a single email
address?
Well, no. But I really wouldn't advise you to do that kind of thing at
the MTA level, anyway. Rather, I would just wrap all your outbound
mail code in a switch() that, in your non-production sites, replaces
the envelope RCPT TO domain (not the header To: domain) with your
preferred destination mailbox. I would suggest this is the best
practice to retain end-to-end control.
If you must, you could write a simple JScript/VBScript SMTP transport
event sink off the MSDN examples that just replaces the envelope
recipient on all mail.
--Sandy
------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.
------------------------------------
.
- References:
- forward all incoming emails to a single address
- From: TJ
- Re: forward all incoming emails to a single address
- From: Sanford Whiteman
- forward all incoming emails to a single address
- Prev by Date: Re: forward all incoming emails to a single address
- Next by Date: huge IIS log files
- Previous by thread: Re: forward all incoming emails to a single address
- Next by thread: Re: IIS Smarthost not relaying to exchange
- Index(es):