The dot in ... --- ...

Chris Gerhard's Weblog

20081127 Thursday November 27, 2008

Adding dependancies to exim

I finally got around to adding dependancies to the smtp (mail) server I am using on my home server so that it depends on both spamassassin and the clam anti virus services. While there is probably a way to do this using individual commands it was much quicker to export the XML edit that and reimport it having added these lines:

    <dependency name='spamd' grouping='require_all' restart_on='error' type='service'>
      <service_fmri value='svc:/network/spamd'/>
    </dependency>
    <dependency name='clam' grouping='require_all' restart_on='error' type='service'>
      <service_fmri value='svc:/network/clam'/>
    </dependency>

Having refreshed the service and restarted I, it now shows as depending on the other two services:

: pearson FSS 3 $; svcs -d cswexim
STATE          STIME    FMRI
online         Nov_24   svc:/network/loopback:default
online         Nov_24   svc:/milestone/name-services:default
online         Nov_24   svc:/system/filesystem/local:default
online         Nov_24   svc:/network/clam:default
online         Nov_26   svc:/network/spamd:default
: pearson FSS 4 $; 

and any failure of the dependant services results in cswexim being restarted after the dependant service restarts. Depressingly I had found that small amounts of spam could sneak through thanks to exim not depending on spamassasin.


( Nov 27 2008, 05:59:15 PM GMT ) Permalink
Trackback

   

20071031 Wednesday October 31, 2007

Email Rules

Email can be such a poor way to communicate. I often write emails that are too terse and the people who receive them think that I am cross or that I am being deliberately rude. So I have decided I will now publish the rules by which I have lived for a while:

If you get an email from me that does not contain those phrases, but you are upset or insulted by it, then it is just my poor use of English. Please accept my apologies.


( Oct 31 2007, 05:07:06 PM GMT ) Permalink Trackback

   

20070320 Tuesday March 20, 2007

Don't IM.... talk!

I had to contact an engineer quite urgently today. First email, then IM, not logged in so I set a buddy pounce, then phone, got voice mail.

Finally got him.

Using good old talk(1)!

Welcome to UNIX.

Tags:


( Mar 20 2007, 10:21:03 AM GMT ) Permalink
Trackback

   

Valid HTML! Valid CSS!

Except where otherwise noted, this site is
licensed under a Creative Commons License 2.0

This is a personal weblog, I do not speak for my employer.