added sshoptions variable to the maildir handler for arbitrary options that you might...
[matthijs/upstream/backupninja.git] / examples / example.maildir
index 96f0c0e313ff6edaf5adfb092de7247af8efbf81..eba54296c543f94a1dd7f21f907dc1d73e00d22f 100644 (file)
@@ -35,11 +35,13 @@ keepweekly = 3
 keepmonthly = 1
 
 # directory which contains all the maildirs
-# this directory is expected to have subdirectories lettered a-z and
-# in each letter subdirectory are the users Maildirs which start with 
-# those letters
 srcdir = /maildir/riseup.net
 
+# the srcdir is expected to contain the following subdirectories. Each
+# of these will contain the user's Maildirs which start with these
+# letters
+srcsubdirs = 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z
+
 # put the backups under this directory
 destdir = /crypta/maildir/riseup.net
 desthost = kakapo-pn
@@ -48,6 +50,16 @@ desthost = kakapo-pn
 # arbitrary bash commands on the desthost.
 destuser = backer
 
+# For alternate ports from the default 22, specify here
+destport = 4444
+
+# If you need to specify an alternate ssh public key authentication file 
+# do that here. Default: /root/.ssh/id_rsa
+destid_file = /home/backupkeys/.ssh/maildirbackup_id_rsa
+
+# If you need to specify other ssh configuration options, do that here
+sshoptions = "-C -6"
+
 # remove any maildirs from backup which might have been deleted
 remove = yes