DKIM Schlüssel mit openssl erstellen

Privaten Schlüssel erstellen

openssl genrsa -out dkim.private 1024

Öffentlichen Schlüssel erstellen

openssl rsa -in dkim.private -out dkim.public -pubout -outform PEM

DNS Eintrag

SCHLÜSSELSELEKTOR._domainkey      IN TXT     "v=DKIM1;k=rsa;t=y;p=INHALT-DKIM.PUBLIC;"

Überprüfung

dig  SCHLÜSSELSELEKTOR._domainkey.DOMAIN.DOM TXT +short

LiveConfig – Database Restore

# aptitude install sqlite3

# /etc/init.d/liveconfig stop
# sqlite3 /var/lib/liveconfig/liveconfig.db

SQLite version X.X.X
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .mode insert
sqlite> .output /root/liveconfig.dump.sql
sqlite> .dump
sqlite> .exit

# cd /var/lib/liveconfig
# mv liveconfig.db liveconfig.db.OLD
# sqlite3 liveconfig.db </root/liveconfig.dump.sql

# chown liveconfig:liveconfig /var/lib/liveconfig/liveconfig.db
# chmod 600 /var/lib/liveconfig/liveconfig.db 

# /etc/init.d/liveconfig start