running in foreground?

CSILLAG Tamas cstamas at digitus.itk.ppke.hu
Thu Jun 10 10:57:37 IST 2004


hi Mariano,

On 06/09, Mariano Absatz wrote:
> Hi Csillag,
>
> the original MailScanner does not support running in foreground, other than
> for debugging purposes.
Yes I already realized, that's why that mail was written.
>
> I modified it so you can add an option to MailScanner.conf like:
> Run In Foreground = yes
>
> As a value added, it spits some processing info (like, when child processes
> are spawned) to STDOUT that you can easily capture with multilog.
Thanks! It is very cute (and simple)!
And the signal handler Rocks!
>
> See my original message at http://tinyurl.com/2n5gd
>
> In http://tinyurl.com/2d4go I added a bit of info about using daemontools...
> but if you're asking for this, you probably already know that.
>
> Finally, in http://tinyurl.com/2qalx I send a bunch of patches to Julian to
> see if he'd add some of them to the next release... the one I put as most
> significative for other users (that is, other than me) is just this one.
I am subscribed to the list and I should have read your messages,
but I do not have enought time to read the archive. Thanks for the pointers!
>
> FWIW, I'm running with this patches in two different sites, one of them is a
> large IPS with 12 servers, each with 2 independent instances of MailScanner,
> everything started by daemontools.
I had to patch it for debian directory struct (FHS) and I tried on a
test box and it works perfectly. I will patch the other 4 on the
production servers. (MS-4.30.3-foreground.patch)
(Julian: seldom, In the morning on one of the machines mailscanner
died/killed (Out-of-Memory-Killer)
and this way it will be more reliable because supervise
will restart mailscanner ASAP)

(OT: Mariano.  I prefer runit to daemontools, look that:
http://smarden.org/runit/)
>
> Julian,
>
> I swear I don't know this guy and didn't send him :-D
ROTFL ;-))))

Thanks again!

--
cstamas

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list