Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Don't know a ton about windows. I have a interesting problem.

We have a 2003 server on amazon ec2 that houses a special 3rd party app. This app sends emails back to a support email address but it uses the sender's FROM address like ''.

We have a 3rd party email provider that does our email as sending email from ec2 itself is notoriously difficult. I have set up IIS smtp to use this 3rd party emailer as a smart host but I still need to figure out how to rewrite the FROM line to an address that the 3rd party wants to use. It will only use pre-authorized email addresses as a spam prevention.

For example we have authorization to send email from '' but NOT ''.

Is there some sort of middleware or IIS functionaltiy I can use to rewrite my FROM header on the fly before forwarding it to my 3rd party provider? I have no control over the software that actually sends it -- it is closed source -- I just have the control over the IIS smtp server.

I know of a way I could do this in postfix but I don't want ANOTHER server just for something so simple.

share|improve this question

You're looking for an SMTP event sink to do what you're trying to do.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.