Browse Source

update template for smd-pull -t

Enrico Tassi 8 years ago
parent
commit
e86a198aaf
1 changed files with 29 additions and 3 deletions
  1. 29
    3
      smd-common

+ 29
- 3
smd-common View File

@@ -308,7 +308,8 @@ read_conffile() {
308 308
 		# for extra options). smd-pull will pull from this host, smd-push
309 309
 		# will push to this host and use it as the id of the remote mailbox.
310 310
 		#
311
-		# We suggest creating an alias with your ~/.ssh/config like:
311
+		# You should create an alias within your ~/.ssh/config like the
312
+		# following on:
312 313
 		#
313 314
 		#   Host smd-server-foo
314 315
 		#     Compression yes
@@ -332,6 +333,8 @@ read_conffile() {
332 333
 		#
333 334
 		MAILBOX="Mail/"
334 335
 
336
+		# Use different paths on the local and remote hosts
337
+		#
335 338
 		# Local and remote mailbox may differ in name, as well as their
336 339
 		# sub directory/folder structure. In that case a translator must be
337 340
 		# provided. A translator is a program that takes in input, as it
@@ -341,9 +344,11 @@ read_conffile() {
341 344
 		#
342 345
 		# MAILBOX_LOCAL="Mail/"
343 346
 		# MAILBOX_REMOTE="OtherMail/"
344
-		# TRANSLATOR_RL=path
345
-		# TRANSLATOR_LR=path
347
+		# TRANSLATOR_RL=command
348
+		# TRANSLATOR_LR=command
346 349
 
350
+		# Ignore some paths
351
+		#
347 352
 		# To exclude some paths from the synchronization you can specify
348 353
 		# a space separated list of glob(7) expressions. Spaces in these
349 354
 		# expressions must be replaced with %20.
@@ -357,7 +362,28 @@ read_conffile() {
357 362
 		# EXCLUDE_LOCAL="Mail/spam Mail/trash"
358 363
 		# EXCLUDE_REMOTE="OtherMail/with%20spaces"
359 364
 
365
+		# Local synchronization
366
+		#
367
+		# If the local and remote mailboxes are on the same host
368
+		# the  following option must be added to the configuration file:
369
+		#
370
+		# SMDCLIENTOPTS=-l
371
+
372
+		# Avoid deletions
373
+		#
374
+		# In some cases, usually unidirectional synchronizations, one may want
375
+		# to not propagate deletions. E.g. one keeps a slim working mailbox but
376
+		# pushes to a backup mailbox to save every email.
377
+		# 
378
+		# SMDSERVEROPTS=-n
379
+
380
+		# If the local and remote mailboxes are on the same host
381
+		# the  following option must be added to the configuration file:
382
+		#
383
+		# SMDCLIENTOPTS=-l
384
+
360 385
 		# Log client to server and server to client communication.
386
+		#
361 387
 		# This is useful only for debugging, since all network traffic
362 388
 		# is dumped, including transmitted mails.
363 389
 		#

Loading…
Cancel
Save