bad mail to outbound

jess
Posts: 4
Joined: Sun Aug 29, 2004 2:39 am

bad mail to outbound

Postby jess » Sun Aug 29, 2004 2:40 am

Anyone know how to use it?

paarlberg
Posts: 1071
Joined: Tue Mar 02, 2004 7:33 pm
Location: Atlanta, GA, USA

Postby paarlberg » Fri Sep 03, 2004 9:54 am

I created this little script that works great... It is created to stop and restart both the ME SMTP and MS DNS on the local box.. It moves all "Bad Mail" to the outbound queue and then waits 15 seconds and deletes any new Bad Mail folder contents. You will have some of the mails that are rejected immediately and placed back into the BadMail folder. These are deleted so they are not processed again.

You will need a ultility called sleep.exe which is widely available on the web and in MS Resource kits.

Code: Select all

echo off
rem
echo       Clean Mail Enable Bad Mail Folder Utility
echo         February 12, 2004
rem

echo off

IF EXIST "C:\Program Files\Mail Enable\Bad Mail\*.mai" goto clean
IF ERRORLEVEL 0 goto nobad

:clean
move "C:\Program Files\Mail Enable\Bad Mail\*.mai" "C:\Program Files\Mail Enable\Queues\SMTP\Outgoing"
move "C:\Program Files\Mail Enable\Bad Mail\messages\*.mai" "C:\Program Files\Mail Enable\Queues\SMTP\Outgoing\messages"
goto merestart

:merestart
net stop "MailEnable SMTP Connector"
net start "MailEnable SMTP Connector"
sleep 15
goto clearbad

:clearbad
del "C:\Program Files\Mail Enable\Bad Mail\*.mai"
del "C:\Program Files\Mail Enable\Bad Mail\messages\*.mai"
goto dns

:nobad
net stop "MailEnable SMTP Connector"
net start "MailEnable SMTP Connector"
goto dns

:dns
net stop "DNS Server"
net start "DNS Server"
goto end

:end
echo task completed successfully

larmib.com

Bad Mail delete or move

Postby larmib.com » Thu Jan 20, 2005 3:26 am

I wrote two simple vb apps.
1) Delete's bad mail completely
2) moves bad mail to smtp-outbound

The first one is the best because you don't want to move forever looping mail back into your smtp outbound folder to be relooped untl (IF) mail enable catches it.

The second one simply moves it to the smtp-outbond folder. You can download them for free at http://larmib.com/index.asp?Site=Programs

RowaN
Posts: 1
Joined: Fri Feb 24, 2006 3:03 pm
Location: London

Postby RowaN » Fri Feb 24, 2006 3:05 pm

What exactly is bad mail, and why does Mailenable store it? Why do you need to write a seperate program to delete bad mail.. you can just highlight it and press delete. Why would you want to move it to smtp-outbound? Sorry for so many questions, I'm new to Mailenable and just trying to figure out the various ways it handles stuff. Thanks guys.

wisp
Posts: 208
Joined: Sun Jan 29, 2006 12:26 am

Postby wisp » Mon Apr 17, 2006 1:31 pm

I have the same questions as RowaN. Could some experts please answer? I have no virus scanner, but I see many MAI in my badmail folder. Thanks.

MailEnable
Site Admin
Posts: 4440
Joined: Tue Jun 25, 2002 3:03 am
Location: Melbourne, Victoria Australia

Postby MailEnable » Mon Apr 17, 2006 2:36 pm

The most common reason for messages ending up in the BadMail folder is through message looping or if a non-delivery report/ delivery status notification message cannot be delivered.

ie: system generated messages that are not able to be delivered go into badmail.
Regards, Andrew

jimmy45
Posts: 1
Joined: Sat Oct 06, 2012 6:56 pm

Re: bad mail to outbound

Postby jimmy45 » Sun Oct 07, 2012 3:11 am

yeah what's that problem ? why i didn't get any notification or message report ? where is messages folder :lol:
Last edited by jimmy45 on Mon May 09, 2016 6:45 pm, edited 2 times in total.
Go Green

Seppy
Posts: 30
Joined: Thu Apr 12, 2007 9:07 am

Re: bad mail to outbound

Postby Seppy » Tue Oct 09, 2012 5:21 am


blue7floyd
Posts: 6
Joined: Tue Nov 20, 2012 11:43 am

Re: bad mail to outbound

Postby blue7floyd » Thu Jul 11, 2013 11:18 am

This is one of the software that serves to be highly useful. Any bad mail can be completely moved into trash without affecting any other part of your mail. It sends the bad mail to the outbound SMTP and helps maintain our clean database. http://ezasseenontv.com/

Who is online

Users browsing this forum: No registered users and 2 guests