Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Badmail

Status
Not open for further replies.

INT1973

Technical User
Apr 26, 2004
25
US
Is there a setting in Exchange to reject/delete email that is sent to recipients that do not exist ? I have to delete files from the Badmail folder so often. I now setup a schduled task to do that once a day. I had 8 Gigs of files in badmail folder and it keeps filling up again.

Any other ideas ?
Thanks
 
Not in E2K, it is a feature of E2K3 however.

You can write a script to delete the badmail folder as often as you'd like.

I'm Certifiable, not certified.
It just means my answers are from experience, not a book.
 


setlocal ENABLEDELAYEDEXPANSION
cd "C:\Program Files\Exchsrvr\Mailroot\vsi 1\"
echo !time!
net stop smtpsvc
ren badmail badmailold
md BadMail
net start smtpsvc
echo !time!
del badmailold /Q
rmdir badmailold
echo !time!

batch file you can use

MCSE 2K - MCSA 2K - NET+ - A+

Paul..
 
Great Guys!. i will give it a try

Thanks
INT1973
 
See also thread858-725603

Marc
If 'something' 'somewhere' gives 'some' error, expect random guesses or no replies at all. Please specify details.
Free Tip: The F1 Key does NOT destroy your PC!

How Do I Get Great Answers To my Tek-Tips Questions? See faq219-2884
 
Thanx for the thread marcs41. Credit goes to jtmoore for the batch file. I couldn't find the thread i found it on awhile back.

MCSE 2K - MCSA 2K - NET+ - A+

Paul..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top