SBS 2008: Recovering Quarantined Email
Exchange Server 2007 will quarantine inbound email which fails a spam assessment by storing it in the Badmail folder. Each message is stored in a file. The files are text files so attachments are encoded and the messages are full of system messages. To get the messages back to users in a readable form, they can be dropped into Exchange's pickup folder. Any files in this folder will be processed and delivered by Exchange.
To process all messages, open an elevated command prompt and type:
ren "C:\Program Files\Windows Small Business Server\Data\badmail\550\*" *.eml
move "C:\Program Files\Windows Small Business Server\Data\badmail\550\*.eml" "C:\Program Files\Microsoft\Exchange Server\TransportRoles\Pickup"
Exchange Server will then process the files, which may take some time.
Once processed, each *.eml file will be renamed to *.tmp if successful, or *.bad if not. After a while the *.tmp files will be removed.
The remaining *.bad files can be deleted or examined more closely to check for false-positives. However these messages are likely to be badly formatted and undeliverable.