MailScanner ANNOUNCE: Stable release 4.63.7

James Gray james at gray.net.au
Sat Sep 1 23:41:21 IST 2007


On 02/09/2007, at 1:11 AM, Julian Field wrote:

> I have just released the latest stable version 4.63.7.

Super! I downloaded the latest beta 24 hours ago...looks like another  
download for me :)

> The full Change Log is this:
>
> * New Features and Improvements *
> 1 Improved init.d script, so that 'service MailScanner restart' or
>  '/etc/init.d/MailScanner restart' runs faster. It pauses for just  
> long
>  enough for the old MailScanner to die gracefully, and starts up  
> the new one
>  as soon as the old one has died. Previously, it just waited for a  
> fixed
>  length of time which was much longer than needed for most people.

I wrote an init script a while ago for slow machines that loops  
waiting for MailScanner children and parent to terminate with a  
configurable delay loop.  If you're interested:
http://files.gray.net.au/MailScanner/mailscanner-slow.sh

I just had a look at it and it isn't the best shell script I've ever  
written, but in my defence, I wrote it years ago when I was  
relatively inexperienced at it.  Still, the logic in it is sound,  
although there is no check for infinite loops in the delay loop.  It  
wouldn't be hard to implement a counter though and after 'n' delay  
loops, do something other than keep waiting (bail with an error,  
attempt the SIGKILL the remaining PID's, whatever).

Just thought this may be useful rather than an arbitrary delay  
period, to actually check to see if there are any MailScanner PID's  
still around.

Cheers,

James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20070902/585c83a3/smime.bin


More information about the MailScanner mailing list