isync.1 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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. ..
  164. .TP
  165. \fBUseNamespace\fR \fIyes|no\fR
  166. Selects whether
  167. .B isync
  168. should select mailboxes using the namespace given by the NAMESPACE command.
  169. This is useful with broken IMAP servers. (Default:
  170. .I yes
  171. )
  172. ..
  173. .TP
  174. \fBRequireSSL\fR \fIyes|no\fR
  175. .B isync
  176. will abort the connection if a TLS/SSL session to the IMAP
  177. server can not be established. (Default:
  178. .I yes
  179. )
  180. ..
  181. .TP
  182. \fBCertificateFile\fR \fIpath\fR
  183. File containing X.509 CA certificates used to verify server identities.
  184. ..
  185. .TP
  186. \fBUseSSLv2\fR \fIyes|no\fR
  187. Should
  188. .B isync
  189. use SSLv2 for communication with the IMAP server over SSL? (Default:
  190. .I yes
  191. )
  192. ..
  193. .TP
  194. \fBUseSSLv3\fR \fIyes|no\fR
  195. Should
  196. .B isync
  197. use SSLv3 for communication with the IMAP server over SSL? (Default:
  198. .I yes
  199. )
  200. ..
  201. .TP
  202. \fBUseTLSv1\fR \fIyes|no\fR
  203. Should
  204. .B isync
  205. use TLSv1 for communication with the IMAP server over SSL? (Default:
  206. .I yes
  207. )
  208. ..
  209. .P
  210. Configuration commands that appear prior to the first
  211. .B Mailbox
  212. command are considered to be
  213. .I global
  214. options which are used as defaults when those specific options are not
  215. specifically set for a defined Mailbox. For example, if you use the same
  216. login name for several IMAP servers, you can put a
  217. .B User
  218. command before the first
  219. .B Mailbox
  220. command, and then leave out the
  221. .B User
  222. command in the sections for each mailbox.
  223. .B isync
  224. will then use the global value by default.
  225. ..
  226. .SH FILES
  227. .TP
  228. .B ~/.isyncrc
  229. Default configuration file
  230. ..
  231. .SH BUGS
  232. maildir(5) states that readers should not attempt to parse the filename of a
  233. a message other than the :info field. However, since
  234. .B isync
  235. relies on using the message UIDs that info must be inserted into the
  236. filename in a way which will be interoperable with existing readers. So
  237. the UID is placed in the filename of the messages in the local maildir
  238. mailbox rather than the :info field.
  239. .SH SEE ALSO
  240. mutt(1), maildir(5)
  241. .P
  242. Up to date information on
  243. .B isync
  244. can be found at
  245. http://www.sigpipe.org/isync/.
  246. ..
  247. .SH AUTHOR
  248. Written by Michael R. Elkins <me@mutt.org>.