Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have IIS setup as an SMTP relay. A relay security error caused the outbound emails to be delivered to the badmail folder for the IIS SMTP Service.

Is there any standard method for attempting to retry delivery of these emails?

share|improve this question
add comment

3 Answers

up vote 4 down vote accepted

According to Micrsoft support:

To replay the messages that are located in the Badmail folder, follow these steps:

  1. Stop the SMTP service.

    a. Open IIS Manager.

    b. Right-click Default SMTP Virtual Server, and then click Stop.

  2. Copy all the files that are located in the Badmail folder and that have the .bad file name extension. Then, paste these files to the Pickup folder.

  3. Delete the .bad file name extension from all the .bad files that are located in the Pickup folder.

  4. Start the SMTP service.

    a. Open IIS Manager.

    b. Right-click Default SMTP Virtual Server, and then click Start.

  5. Verify that the messages were delivered.

share|improve this answer
add comment

Drag and drop them in the pickup folder.

share|improve this answer
    
It will pull out the error message and resend from the *.BAD, *.BDP, or *.BDR files? –  catalpa Nov 8 '11 at 13:34
    
I wish it was that easy. Not looking forward to changing the extensions of 30K files. –  catalpa Nov 8 '11 at 14:14
    
Hmmm... That worked in Windows 2003... Should have checked what changed since then. –  SBWorks Nov 8 '11 at 15:32
add comment

You can open a command prompt and navigate to the badmail folder and run the following command to remove extensions on all messages:

rename *.* *.

share|improve this answer
add comment

Your Answer

 
discard

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.