isync.1 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. .ig
  2. \" isync - IMAP4 to maildir mailbox synchronizer
  3. \" Copyright (C) 2000 Michael R. Elkins <me@mutt.org>
  4. \"
  5. \" This program is free software; you can redistribute it and/or modify
  6. \" it under the terms of the GNU General Public License as published by
  7. \" the Free Software Foundation; either version 2 of the License, or
  8. \" (at your option) any later version.
  9. \"
  10. \" This program is distributed in the hope that it will be useful,
  11. \" but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. \" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. \" GNU General Public License for more details.
  14. \"
  15. \" You should have received a copy of the GNU General Public License
  16. \" along with this program; if not, write to the Free Software
  17. \" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  18. ..
  19. .TH isync 1 "2000 Dec 20"
  20. ..
  21. .SH NAME
  22. isync - synchronize IMAP4 and maildir mailboxes
  23. ..
  24. .SH SYNOPSIS
  25. .B isync
  26. [
  27. .I options...
  28. ]
  29. .I file
  30. ..
  31. .SH DESCRIPTION
  32. .B isync
  33. is a command line application which synchronizes a local maildir-style
  34. mailbox with a remote IMAP4 mailbox, suitable for use in IMAP-disconnected
  35. mode. Multiple copies of the remote IMAP4 mailbox can be maintained, and
  36. all flags are synchronized.
  37. ..
  38. .SH OPTIONS
  39. .TP
  40. \fB-c\fR, \fB--config\fR \fIfile\fR
  41. Read configuration from
  42. .I file
  43. By default, configuration is read from ~/.isyncrc if it exists.
  44. .TP
  45. .B -d, --delete
  46. Causes
  47. .B isync
  48. to delete messages from the local maildir mailbox which do not exist on the
  49. IMAP server. By default,
  50. .I dead
  51. messages are
  52. .B not
  53. deleted.
  54. .TP
  55. .B -e, --expunge
  56. Causes
  57. .B isync
  58. to permanently remove all messages marked for deletion in both the local
  59. maildir mailbox and the remote IMAP mailbox. By default, messages are
  60. .B not
  61. expunged.
  62. .TP
  63. .B -f, --fast
  64. Causes
  65. .B isync
  66. to skip the step of synchronzing message flags between the local maildir
  67. mailbox and the IMAP mailbox. Only new messages existing on the server will
  68. be fetched into the local mailbox.
  69. .B NOTE:
  70. This command works by checking the \\Recent flag on messages in the IMAP
  71. mailbox. If you access the IMAP mailbox from multiple locations, the
  72. \\Recent flag will be lost between sessions, so you must do a full
  73. synchronization to fetch the messages which do not exist in the local
  74. mailbox.
  75. .TP
  76. .B -h, --help
  77. Displays a summary of command line options
  78. .TP
  79. \fB-p\fR, \fB--port\fR \fIport\fR
  80. Specifies the port on the IMAP server to connect to (default: 143)
  81. .TP
  82. \fB-r\fR, \fB--remote\fR \fIbox\fR
  83. Specifies the name of the remote IMAP mailbox to synchronize with
  84. (Default: INBOX)
  85. .TP
  86. \fB-s\fR, \fB--host\fR \fIhost\fR
  87. .P
  88. Specifies the hostname of the IMAP server
  89. .TP
  90. \fB-u\fR, \fB--user\fR \fIuser\fR
  91. Specifies the login name to access the IMAP server (default: $USER)
  92. .TP
  93. .B -v, --version
  94. Displays
  95. .B isync
  96. version information
  97. .TP
  98. .B -V, --verbose
  99. Enables
  100. .I verbose
  101. mode, which disables the IMAP network traffic.
  102. ..
  103. .SH CONFIGURATION
  104. .B isync
  105. reads
  106. .I ~/.isyncrc
  107. to load default configuration data. Each line of the configuration file
  108. consists of a command. The following commands are understood:
  109. .TP
  110. \fBMailbox\fR \fIpath\fR
  111. Defines a local maildir mailbox. All configuration commands following this
  112. line, up until the next
  113. .I Mailbox
  114. command, apply to this mailbox only.
  115. ..
  116. .TP
  117. \fBHost\fR \fIname\fR
  118. Defines the DNS name or IP address of the IMAP server. If the hostname is
  119. prefixed with
  120. .I imaps:
  121. the connection is assumed to be a SSL connection to port 993 (though you can
  122. change this by placing a
  123. .B Port
  124. command
  125. .B after
  126. the
  127. .B Host
  128. command. Note that some servers support SSL on the default port 143.
  129. .B isync
  130. will always attempt to use SSL if available.
  131. ..
  132. .TP
  133. \fBPort\fR \fIport\fR
  134. Defines the TCP port number on the IMAP server to use (Default: 143)
  135. ..
  136. .TP
  137. \fBBox\fR \fImailbox\fR
  138. Defines the name of the remote IMAP mailbox associated with the local
  139. maildir mailbox (Default: INBOX)
  140. ..
  141. .TP
  142. \fBUser\fR \fIusername\fR
  143. Defines the login name on the IMAP server (Default: current user)
  144. ..
  145. .TP
  146. \fBPass\fR \fIpassword\fR
  147. Defines the password for
  148. .I username
  149. on the IMAP server. Note that this option is
  150. .B NOT
  151. required. If no password is specified in the configuration file,
  152. .B isync
  153. will prompt you for it.
  154. ..
  155. .TP
  156. \fBAlias\fR \fIstring\fR
  157. Defines an alias for the mailbox which can be used as a shortcut on the
  158. command line.
  159. ..
  160. .TP
  161. \fBRequireSSL\fR \fIyes|no\fR
  162. .B isync will abort the connection if a TLS/SSL session to the IMAP
  163. server can not be established. (Default:
  164. .I yes
  165. )
  166. ..
  167. .TP
  168. \fBCertificateFile\fR \fIpath\fR
  169. File containing X.509 CA certificates used to verify server identities.
  170. ..
  171. .P
  172. Configuration commands that appear prior to the first
  173. .B Mailbox
  174. command are considered to be
  175. .I global
  176. options which are used as defaults when those specific options are not
  177. specifically set for a defined Mailbox. For example, if you use the same
  178. login name for several IMAP servers, you can put a
  179. .B User
  180. command before the first
  181. .B Mailbox
  182. command, and then leave out the
  183. .B User
  184. command in the sections for each mailbox.
  185. .B isync
  186. will then use the global value by default.
  187. ..
  188. .SH FILES
  189. .TP
  190. .B ~/.isyncrc
  191. Default configuration file
  192. ..
  193. .SH SEE ALSO
  194. mutt(1), maildir(5)
  195. .P
  196. Up to date information on
  197. .B isync
  198. can be found at
  199. http://www.sigpipe.org/isync/.
  200. ..
  201. .SH AUTHOR
  202. Written by Michael R. Elkins <me@mutt.org>.