dbc scratch pad

.muttrc:

# save copy of mail in sent-mail
set record = =INBOX

set sort=threads
set sort_aux=reverse-date-received

save-hook '~h prosa.dk' =/prosa
save-hook '~h bugzilla-daemon' =/bugzilla
save-hook .* =/INBOX

# sendmail
set sendmail="/usr/bin/esmtp -v -X /tmp/esmtp.log"
set use_envelope_from=yes

set editor="muttedit.sh"

muttedit.sh:

requote.pl $1
exec emacs -nw -q -l ~/.semacs $1

Til martin, skal i /etc/hosts:

# DBC:
172.17.20.11    teori.dbc.dk teori
172.20.1.62     kelut.dbc.dk kelut
172.17.20.14    bortas.dbc.dk bortas
172.17.20.12    princip.dbc.dk princip next.bob.dbc.dk
172.17.20.15    titan.dbc.dk titan
172.17.20.31    plan.dbc.dk plan bugs bugs.dbc.dk labs.dbc.dk labs cvs.dbc.dk cvs docs docs.dbc.dk bonsai.cvs.dbc.dk wiki wiki.dbc.dk svn svn.dbc.dk
172.16.1.70     nora nora.dbc.dk
172.20.1.31     leda.dbc.dk leda
172.20.1.91     toba.dbc.dk toba
172.16.5.242    munin.dbc.dk munin
172.17.20.10    koncept.dbc.dk koncept
172.17.20.33    merapi.dbc.dk merapi
172.16.1.55     pacha pacha.dbc.dk
172.17.20.26    lakito lakito.dbc.dk
172.17.20.38    lakitre lakitre.dbc.dk
# gammel intranet:
#172.16.1.31     dumbo.dbc.dk dumbo
172.20.1.67 intranet.dbc.dk intranet
#193.111.162.142        harvester.dbc.dk debian.dbc.dk
172.20.1.67     bazman debian.dbc.dk debian
172.16.1.203    desdamona.dbc.dk desdamona
172.17.20.30    vision vision.dbc.dk
172.17.20.29    ide ide.dbc.dk
172.17.20.31    plan plan.dbc.dk

http://research.naumachiarius.com/ibook-debian.html

# det er denne config der bruges

IPSec gateway conce.dbc.dk
IPSec ID Linux
IPSec secret XXXXX
Xauth username cbo
UDP Encapsulate
#UDP Encapsulation Port 12750
UDP Encapsulation Port  10632
Target networks 172.16.0.0/16 172.17.0.0/16 172.18.0.0/16 172.19.0.0/16 172.20.0.0\
/16 172.21.0.0/16 192.165.0.0/16 193.111.162.0/24
Xauth interactive

#Target networks 172.16.0.0/12 193.111.162.0/24


# OPTIONAL
# ========

#
#
# Varios options not undestood by vpnc itself but by some other scripts
#
# Target networks 123.234.210.0/24 10.1.0.0/16
# If Target networks is defined here, the default route is not replaced!

# Don't update resolv.conf though resolvconf is installed
DNSUpdate no