Home
Download

Open Source

Projects
Patches

System Integration

Notes
SRPMs

The Doppelganger backup multi-function server

Doppelganger is configured as Herald with the following exceptions:

  1. Adjust mynetworks in Postfix's etc/postfix/main.cf, because Doppelganger might exist on a different network than Herald.
  2. Adjust etc/postfix/saslpasswd and relayhost in Postfix's etc/postfix/main.cf to use a relay appropriate for Doppelganger's network. Compile with postmap.
  3. Set listen = 127.0.0.1 in Dovecot's etc/dovecot/dovecot.conf, as mail on Doppelganger must be checked using webmail.
  4. Add mail user accounts to /etc/passwd, /etc/shadow, and /etc/group if LDAP is unavailable. Add mydestination = EXAMPLE.COM to etc/postfix/main.cf. Also, avoid the use of virtual_mailbox_domains, virtual_mailbox_maps, virtual_mailbox_lock, virtual_uid_maps and virtual_gid_maps in etc/postfix/main.cf.

Once Doppelganger is running, you might want to synchronize it with Herald:

  1. On Herald, generate an SSH key pair: dropbearkey -t rsa -f ~/.ssh/id_dropbear -s 4096.
  2. Install the public key on Doppelganger at /etc/dropbear/authorized_keys.
  3. On Herald, run rsync --progress --delete -aHe ssh /mnt/sda1/* root@doppelganger.EXAMPLE.COM:/mnt/sda1/.
Email: www@flyn.org — ✉ 6110 Campfire Court; Columbia, Maryland 21045; USA