[Mimedefang] HUGE problem with mimedefang

Ben Kamen bkamen at benjammin.net
Thu Apr 21 11:36:02 EDT 2005


David F. Skoll wrote:
> 
> Oops, sorry!  I adapted it from something we use with CanIt, and
> forgot that the mimedefang init script doesn't have a status.
> 
> Anyway, if you know shell programming, you should be able to detect if
> mimedefang is running by checking the return status of:
> 
> 	   kill -0 `cat /var/spool/MIMEDefang/mimedefang.pid`
> 
> and similarly for the multiplexor.
> 
> I'll leave it as an exercise for the reader. :-)
> 

This is why I had you add the "foreground" flag to progs as AIX's resource 
controller will do exactly all that... so no user "tracking" is required.. just 
startsrc -s mimedefang and stopsrc -s mimedefang.

You all just need to switch to AIX... That would solve all your problems!

(har har)

  -Ben



More information about the MIMEDefang mailing list