Thursday Nov 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.

Wednesday Oct 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 I wish to convey that you are a fool I will use the phrase: “You are a fool”.

  • If I am bored of talking to you I will use the phrase: “I'm bored of talking to you”.

  • If you have upset me then I will use the phrase: “You have upset me”.

  • If I wish to upset you in an indeterminate way I will use the phrase: “I have a higher opinion of Conservative M.P.s than I have of you.”. Just trust me that will be an insult.

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.

Tuesday Mar 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:

About

This is the old blog of Chris Gerhard. It has mostly moved to http://chrisgerhard.wordpress.com

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today