How often do you run the batch file?
(ie. Do you schedule it to run at certain times?)
/////////////////////////////////////////////////////////////
Chairman of the Bored wrote:
>
> At 04:11 PM 5/8/2006, you wrote:
> >Is there a Dos command to start and stop the pop3s service?
>
> i use this batch file to bounce everything.
> -dd
>
> :begin
> set log=bounce.log
> set msg=mail_services_bounce
> echo stopping all mail services...
> :kill_smtprcv
> set smtprcv=
> for /f "tokens=1,2*" %%a in ('list smtprcv') do @set smtprcv=%%b
> if NOT "%smtprcv%"=="smtprcv" goto log_error
> goto stop_all_mail_related_services
> :log_error
> for /f "tokens=2" %%d In ('date /t') do for /f %%t in ('time /t')
> do (kill -f %smtprcv%)
> sleep 30
> goto kill_smtprcv
> :stop_all_mail_related_services
> net stop scsmfilterpluse
> net stop imsdolist
> net stop smtpds
> net stop pop3s
> :system_cleanup
> echo clearing out undelivered mail mri files...
> del m:\spooler\domains\*.mri /s /q
> echo clearing out lockfiles...
> del m:\mail\$LockFile /s /q
> echo clearing out antivirus temp files...
> del m:\antispam\ezav\temp\*.*
> echo clearing out spooler delheader files...
> del m:\spooler\prein\*.delh
> echo clearing out spooler redirect files...
> del m:\spooler\prein\*.old
> :restart_all_mail_related_services
> echo restarting all mail services...
> net start pop3s
> net start smtpds
> net start imsdolist
> net start scsmfilterpluse
> net start smtprcv
> :e-mail_administrator
> echo sending a nasty note to god...
> z-sleep 30
> blat c:\z-keepalive.msg -to [EMAIL PROTECTED] -subject "bounced
> mail services on gone-postal"
> exit
> :end
>
> \\\\\//
> \\|// _\\|//_ | | _\\|//_ \\|//
> (@ @) (' 0-0 ') (.) (.) (' @-@ ') (o-o)
> +-=oOOo-(_)-oOOo=oo0=(_)=0oo=oOO=-(_)-=OOo=oo0=(_)=0oo=oOOo-(_)-oOOo=-+
> | Level Seven inc. http://www.L7.net/ | /"\
> The worlds "one stop" InterNetworking Provider 360.753.3556 \ /
> +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ X
> ASCII Ribbon campaign against HTML E-Mail >- - - - - - - - - - - - - -> / \
>
> This is the discussion list for the IMS Free email server software.
> To unsubscribe send mailto:[EMAIL PROTECTED]
>
> Delivered by Rockliffe MailSite
> http://www.rockliffe.com/mailsite
> Rock Solid Software (tm)
This is the discussion list for the IMS Free email server software.
To unsubscribe send mailto:[EMAIL PROTECTED]
Delivered by Rockliffe MailSite
http://www.rockliffe.com/mailsite
Rock Solid Software (tm)