isync.1 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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 21"
  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. .TP
  70. .B -h, --help
  71. Displays a summary of command line options
  72. .TP
  73. \fB-p\fR, \fB--port\fR \fIport\fR
  74. Specifies the port on the IMAP server to connect to (default: 143)
  75. .TP
  76. \fB-r\fR, \fB--remote\fR \fIbox\fR
  77. Specifies the name of the remote IMAP mailbox to synchronize with
  78. (Default: INBOX)
  79. .TP
  80. \fB-s\fR, \fB--host\fR \fB[\fRimaps:\fB]\fR\fIhost\fR
  81. .P
  82. Specifies the hostname of the IMAP server
  83. .TP
  84. \fB-u\fR, \fB--user\fR \fIuser\fR
  85. Specifies the login name to access the IMAP server (default: $USER)
  86. .TP
  87. .B -v, --version
  88. Displays
  89. .B isync
  90. version information
  91. .TP
  92. .B -V, --verbose
  93. Enables
  94. .I verbose
  95. mode, which displays the IMAP4 network traffic.
  96. ..
  97. .SH CONFIGURATION
  98. .B isync
  99. reads
  100. .I ~/.isyncrc
  101. to load default configuration data. Each line of the configuration file
  102. consists of a command. The following commands are understood:
  103. .TP
  104. \fBMailbox\fR \fIpath\fR
  105. Defines a local maildir mailbox. All configuration commands following this
  106. line, up until the next
  107. .I Mailbox
  108. command, apply to this mailbox only.
  109. ..
  110. .TP
  111. \fBHost\fR \fB[\fRimaps:\fB]\fR\fIname\fR
  112. Defines the DNS name or IP address of the IMAP server. If the hostname is
  113. prefixed with
  114. .I imaps:
  115. the connection is assumed to be a SSL connection to port 993 (though you can
  116. change this by placing a
  117. .B Port
  118. command
  119. .B after
  120. the
  121. .B Host
  122. command. Note that some servers support SSL on the default port 143.
  123. .B isync
  124. will always attempt to use SSL if available.
  125. ..
  126. .TP
  127. \fBPort\fR \fIport\fR
  128. Defines the TCP port number on the IMAP server to use (Default: 143)
  129. ..
  130. .TP
  131. \fBBox\fR \fImailbox\fR
  132. Defines the name of the remote IMAP mailbox associated with the local
  133. maildir mailbox (Default: INBOX)
  134. ..
  135. .TP
  136. \fBUser\fR \fIusername\fR
  137. Defines the login name on the IMAP server (Default: current user)
  138. ..
  139. .TP
  140. \fBPass\fR \fIpassword\fR
  141. Defines the password for
  142. .I username
  143. on the IMAP server. Note that this option is
  144. .B NOT
  145. required. If no password is specified in the configuration file,
  146. .B isync
  147. will prompt you for it.
  148. ..
  149. .TP
  150. \fBAlias\fR \fIstring\fR
  151. Defines an alias for the mailbox which can be used as a shortcut on the
  152. command line.
  153. ..
  154. .TP
  155. \fBMaxSize\fR \fIbytes\fR
  156. Sets a threshold for the maximum message size (in bytes) for which
  157. .B isync
  158. should fetch from the server. This is useful for weeding out messages with
  159. large attachments. If
  160. .I bytes
  161. is 0, the maximum file size is
  162. .B unlimited.
  163. .TP
  164. \fBRequireSSL\fR \fIyes|no\fR
  165. .B isync
  166. will abort the connection if a TLS/SSL session to the IMAP
  167. server can not be established. (Default:
  168. .I yes
  169. )
  170. ..
  171. .TP
  172. \fBCertificateFile\fR \fIpath\fR
  173. File containing X.509 CA certificates used to verify server identities.
  174. ..
  175. .P
  176. Configuration commands that appear prior to the first
  177. .B Mailbox
  178. command are considered to be
  179. .I global
  180. options which are used as defaults when those specific options are not
  181. specifically set for a defined Mailbox. For example, if you use the same
  182. login name for several IMAP servers, you can put a
  183. .B User
  184. command before the first
  185. .B Mailbox
  186. command, and then leave out the
  187. .B User
  188. command in the sections for each mailbox.
  189. .B isync
  190. will then use the global value by default.
  191. ..
  192. .SH FILES
  193. .TP
  194. .B ~/.isyncrc
  195. Default configuration file
  196. ..
  197. .SH BUGS
  198. maildir(5) states that readers should not attempt to parse the filename of a
  199. a message other than the :info field. However, since
  200. .B isync
  201. relies on using the message UIDs that info must be inserted into the
  202. filename in a way which will be interoperable with existing readers. So
  203. the UID is placed in the filename of the messages in the local maildir
  204. mailbox rather than the :info field.
  205. .SH SEE ALSO
  206. mutt(1), maildir(5)
  207. .P
  208. Up to date information on
  209. .B isync
  210. can be found at
  211. http://www.sigpipe.org/isync/.
  212. ..
  213. .SH AUTHOR
  214. Written by Michael R. Elkins <me@mutt.org>.