isync.1 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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
  119. ..
  120. .TP
  121. \fBPort\fR \fIport\fR
  122. Defines the TCP port number on the IMAP server to use (Default: 143)
  123. ..
  124. .TP
  125. \fBBox\fR \fImailbox\fR
  126. Defines the name of the remote IMAP mailbox associated with the local
  127. maildir mailbox (Default: INBOX)
  128. ..
  129. .TP
  130. \fBUser\fR \fIusername\fR
  131. Defines the login name on the IMAP server (Default: current user)
  132. ..
  133. .TP
  134. \fBPass\fR \fIpassword\fR
  135. Defines the password for
  136. .I username
  137. on the IMAP server. Note that this option is
  138. .B NOT
  139. required. If no password is specified in the configuration file,
  140. .B isync
  141. will prompt you for it.
  142. ..
  143. .TP
  144. \fBAlias\fR \fIstring\fR
  145. Defines an alias for the mailbox which can be used as a shortcut on the
  146. command line.
  147. .P
  148. Configuration commands that appear prior to the first
  149. .B Mailbox
  150. command are considered to be
  151. .I global
  152. options which are used as defaults when those specific options are not
  153. specifically set for a defined Mailbox. For example, if you use the same
  154. login name for several IMAP servers, you can put a
  155. .B User
  156. command before the first
  157. .B Mailbox
  158. command, and then leave out the
  159. .B User
  160. command in the sections for each mailbox.
  161. .B isync
  162. will then use the global value by default.
  163. ..
  164. .SH FILES
  165. .TP
  166. .B ~/.isyncrc
  167. Default configuration file
  168. ..
  169. .SH SEE ALSO
  170. mutt(1), maildir(5)
  171. .P
  172. Up to date information on
  173. .B isync
  174. can be found at
  175. http://www.sigpipe.org/isync/.
  176. ..
  177. .SH AUTHOR
  178. Written by Michael R. Elkins <me@mutt.org>.
  179. ..
  180. .SH BUGS
  181. SSL is currently not used when connecting to the IMAP server. A future
  182. version of
  183. .B isync
  184. is expected to support this.