RCS file: RCS/imapsync,v Working file: imapsync head: 1.284 branch: locks: strict gilles: 1.284 access list: symbolic names: keyword substitution: kv total revisions: 284; selected revisions: 284 description: ---------------------------- revision 1.284 locked by: gilles; date: 2009/06/30 03:14:24; author: gilles; state: Exp; lines: +15 -19 allow Mail::IMAPClient 3.0.xx by default Removed Mail::IMAPClient::Ssl since 3.0.19 has it now. ---------------------------- revision 1.283 date: 2009/06/30 02:54:57; author: gilles; state: Exp; lines: +123 -94 Applied Phil Lobbes patch as is : ./patches/imapsync.1.282.patch ---------------------------- revision 1.282 date: 2009/05/11 00:05:39; author: gilles; state: Exp; lines: +15 -10 Added option --justlogin ---------------------------- revision 1.281 date: 2009/04/24 13:58:15; author: gilles; state: Exp; lines: +29 -6 Added tests_flags_regex() regression tests. ---------------------------- revision 1.280 date: 2009/04/02 11:32:10; author: gilles; state: Exp; lines: +103 -47 Applied Phil patch with many IsUnconnected() calls. ---------------------------- revision 1.279 date: 2009/03/22 00:12:15; author: gilles; state: Exp; lines: +9 -7 isUnconnected BAD IsUnconnected GOOD! ---------------------------- revision 1.278 date: 2009/02/23 00:40:25; author: gilles; state: Exp; lines: +14 -12 Less imap output with +FLAGS.SILENT Changed unsubscribe subscribe order in documentation. Typos. ---------------------------- revision 1.277 date: 2009/02/21 12:10:50; author: gilles; state: Exp; lines: +8 -6 Better example explanation. ---------------------------- revision 1.276 date: 2009/02/21 04:04:08; author: gilles; state: Exp; lines: +15 -22 Removed mailto: in MAILING-LIST section. ---------------------------- revision 1.275 date: 2009/02/21 02:04:26; author: gilles; state: Exp; lines: +25 -14 Change real password to "MASKED" in command line output. ---------------------------- revision 1.274 date: 2009/02/21 01:10:02; author: gilles; state: Exp; lines: +14 -8 --delete 2 is now a fatal error. ---------------------------- revision 1.273 date: 2009/02/21 00:48:40; author: gilles; state: Exp; lines: +36 -37 Print a warning and return error code each time a disconnection occurs. ---------------------------- revision 1.272 date: 2009/02/20 23:41:09; author: gilles; state: Exp; lines: +78 -78 Fixed many English errors (thanks to Reuben Thomas) ---------------------------- revision 1.271 date: 2009/02/19 23:38:32; author: gilles; state: Exp; lines: +28 -35 Bug fix about $t_prefix and INBOX '.' was hardcoded. Small change on documentation. ---------------------------- revision 1.270 date: 2009/02/14 22:21:35; author: gilles; state: Exp; lines: +16 -11 Another Phil Lobbes patch. Exit with error code and warning when a server disconnect during the folder loop. ---------------------------- revision 1.269 date: 2009/02/14 22:08:18; author: gilles; state: Exp; lines: +65 -38 Applied Phil Lobbes patches. - catch (what should be) fatal eval errors for regextrans2, $regexflag, $regexmess, instead of silently ignoring them and letting the user think they are working/OK - fix login_imap() Died at .../imapsync line 780 when IsUnconnected() and log some more useful into to stderr than just 'Died at...' - check_lib_version() contains a bad use of unset match/capture variables - added and now use new function myconnect() and myconnect_v2() does not require hack/override of Mail::IMAPClient::connect and is backwards compatible with Mail::IMAPClient v2.x - redo $Mail::IMAPClient::Authuser hack since only Mail::IMAPClient v2 does not have Authuser() Many thanks to Phil. ---------------------------- revision 1.268 date: 2009/02/14 03:27:51; author: gilles; state: Exp; lines: +22 -21 Fixed bad VERSION_IMAPClient output ---------------------------- revision 1.267 date: 2008/10/07 11:36:02; author: gilles; state: Exp; lines: +14 -10 Better test to check non existing folders on destination server. ---------------------------- revision 1.266 date: 2008/10/07 05:56:52; author: gilles; state: Exp; lines: +27 -10 *** empty log message *** ---------------------------- revision 1.265 date: 2008/08/30 14:20:38; author: gilles; state: Exp; lines: +7 -7 carp to warn ---------------------------- revision 1.264 date: 2008/08/27 15:19:05; author: gilles; state: Exp; lines: +7 -8 Archiveopteryx 3.0.0 ---------------------------- revision 1.263 date: 2008/08/26 02:58:11; author: gilles; state: Exp; lines: +59 -22 Added modules versions output. ---------------------------- revision 1.262 date: 2008/08/16 17:19:29; author: gilles; state: Exp; lines: +6 -6 Work fine under XP. ---------------------------- revision 1.261 date: 2008/08/16 15:56:00; author: gilles; state: Exp; lines: +32 -41 - Fixed bug about ssl and justconnect option - Cleaned connect code. - Started gmail support. ---------------------------- revision 1.260 date: 2008/08/13 03:14:14; author: gilles; state: Exp; lines: +54 -13 - Added option --idatefromheader : sets the internal dates on host2 same as the "Date:" headers. ---------------------------- revision 1.259 date: 2008/08/13 01:22:10; author: gilles; state: Exp; lines: +49 -21 - Made a function for regexmess() --regexmess to be able to check it easily - Added function tests_regexmess() to check regexmess(), 3 tests. - Removed imapsync copyleft GPL licence output (boring). Replaced by wishlist link. - Added thank_author() to avoid duplicate code about thanks. - Better bug report documentation. ---------------------------- revision 1.258 date: 2008/07/28 21:38:36; author: gilles; state: Exp; lines: +18 -18 Change report bug information order. ---------------------------- revision 1.257 date: 2008/07/28 21:17:56; author: gilles; state: Exp; lines: +10 -19 removed comment and ugly output ---------------------------- revision 1.256 date: 2008/06/29 01:28:51; author: gilles; state: Exp; lines: +14 -5 Applied patch from Simon Heimlicher to avoid non-selectable folders. ---------------------------- revision 1.255 date: 2008/06/24 16:38:49; author: gilles; state: Exp; lines: +7 -6 Domino (Notes) 4.61 ---------------------------- revision 1.254 date: 2008/06/16 18:59:26; author: gilles; state: Exp; lines: +19 -13 Some server (Microsoft Exchange 6.0.6249.0 for example) returns message size a lot s than the real size Now imapsync accept this silly behavior. ---------------------------- revision 1.253 date: 2008/06/16 18:48:01; author: gilles; state: Exp; lines: +6 -6 Archiveopteryx 2.09 ---------------------------- revision 1.252 date: 2008/05/08 02:30:17; author: gilles; state: Exp; lines: +36 -6 Added mailing list information. ---------------------------- revision 1.251 date: 2008/05/08 02:08:44; author: gilles; state: Exp; lines: +56 -14 Fixed message_string returning empty message when < expected size. ---------------------------- revision 1.250 date: 2008/04/21 03:46:01; author: gilles; state: Exp; lines: +11 -7 Bug fix "parse_headers want an ARRAY ref" ---------------------------- revision 1.249 date: 2008/03/19 02:14:24; author: gilles; state: Exp; lines: +7 -7 warn about BUG_IMAPClient_3.xx ---------------------------- revision 1.248 date: 2008/03/19 02:05:46; author: gilles; state: Exp; lines: +14 -19 Cleaned check_lib_version() ---------------------------- revision 1.247 date: 2008/03/19 01:41:49; author: gilles; state: Exp; lines: +1 -1 Added id in output warn when no header found. ---------------------------- revision 1.246 date: 2008/03/19 01:07:26; author: gilles; state: Exp; lines: +19 -16 Removed $^W use. ---------------------------- revision 1.245 date: 2008/03/10 23:49:42; author: gilles; state: Exp; lines: +53 -23 Back to append_string() Turn on --syncinternaldates by default Date_Init("TZ=GMT") if no timezone (windows) set. ---------------------------- revision 1.244 date: 2008/02/29 22:43:22; author: gilles; state: Exp; lines: +5 -545 Removed old *_2() functions (unused) ---------------------------- revision 1.243 date: 2008/02/29 16:47:58; author: gilles; state: Exp; lines: +632 -53 Moved functins *_2() into override_imapclient() ---------------------------- revision 1.242 date: 2008/02/29 00:28:15; author: gilles; state: Exp; lines: +24 -13 Ignore message when it has no header. ---------------------------- revision 1.241 date: 2007/12/31 13:39:02; author: gilles; state: Exp; lines: +6 -6 Bug fix. --exclude and remove_from_requested_folders() ---------------------------- revision 1.240 date: 2007/12/31 13:35:59; author: gilles; state: Exp; lines: +7 -6 MDaemon 8.0.2 ---------------------------- revision 1.239 date: 2007/12/29 02:44:10; author: gilles; state: Exp; lines: +7 -7 Typo if ---------------------------- revision 1.238 date: 2007/12/29 02:41:52; author: gilles; state: Exp; lines: +15 -10 Fixed --version exit bug with Test::More ---------------------------- revision 1.237 date: 2007/12/29 02:15:35; author: gilles; state: Exp; lines: +10 -15 check_lib_version() rewrote and reused. ---------------------------- revision 1.236 date: 2007/12/29 01:54:27; author: gilles; state: Exp; lines: +215 -38 Removed bad warning about ssl Started to be IMAPClient 3.0.0 compliant Fixed bad --include behavior (added already added folders) Started unit tests. Rockliffe Mailsite 4.5.6 Courier 4.1.1 ---------------------------- revision 1.235 date: 2007/11/10 02:52:29; author: gilles; state: Exp; lines: +7 -5 wonko_imapsync link ---------------------------- revision 1.234 date: 2007/10/30 15:34:06; author: gilles; state: Exp; lines: +55 -32 Remove every else else between braces } else { ---------------------------- revision 1.233 date: 2007/10/30 03:20:53; author: gilles; state: Exp; lines: +69 -7 Added connect2() to replace buggy connect() with bad hostname. ---------------------------- revision 1.232 date: 2007/10/30 01:41:17; author: gilles; state: Exp; lines: +24 -23 Added imapmigrate link (cyrus-utils) Checked each SIMILAR SOFTWARES link and fixed bad ones. Courier IMAP 3.0.8 success Fixed Mail::IMAPClient version output. ---------------------------- revision 1.231 date: 2007/10/30 00:28:40; author: gilles; state: Exp; lines: +12 -11 bug fix avoid append_file2 on MSWin32, not the opposite :-) ---------------------------- revision 1.230 date: 2007/10/30 00:01:34; author: gilles; state: Exp; lines: +14 -9 Added bug fix to MSWin32 system and append_file2() problem. ---------------------------- revision 1.229 date: 2007/10/29 23:02:46; author: gilles; state: Exp; lines: +15 -11 Added OS name in --help ---------------------------- revision 1.228 date: 2007/10/29 22:49:07; author: gilles; state: Exp; lines: +8 -8 Added DBMail 0.9 failure. Commented lib_version check. ---------------------------- revision 1.227 date: 2007/10/20 02:30:31; author: gilles; state: Exp; lines: +7 -6 GMX IMAP4 StreamProxy success. ---------------------------- revision 1.226 date: 2007/10/20 01:33:34; author: gilles; state: Exp; lines: +11 -9 Updated help message about --authuser : avoid --authmech1 SOMETHING ---------------------------- revision 1.225 date: 2007/08/21 03:04:08; author: gilles; state: Exp; lines: +10 -6 Uppercase authmech input. ---------------------------- revision 1.224 date: 2007/08/16 23:54:26; author: gilles; state: Exp; lines: +9 -10 Ubuntu package. Date with minus %d-%b-%Y ---------------------------- revision 1.223 date: 2007/06/15 04:08:44; author: gilles; state: Exp; lines: +7 -7 Domino 7.0.1 Exchange 6.5.7638.1 ---------------------------- revision 1.222 date: 2007/06/10 17:49:12; author: gilles; state: Exp; lines: +17 -11 Added Deerfield VisNetic MailServer 5.8.6 [from] success. 33 different imap server softwares are (well) supported. Added Dovecot 1.0.0 [dest] success. Added requires Date::Manip in case --syncinternaldates is used (will be a use Date::Manip in future releases if this fix is a really good one). This date rewrite was needed by Deerfield VisNetic bug (it sends the timestamp with one digit, not two (and dovecot 1.0.0 is not tolerant). Added paypal address at the end of execution. ---------------------------- revision 1.221 date: 2007/05/29 13:09:18; author: gilles; state: Exp; lines: +9 -9 Turn to --nofastio1 --nofastio2 by default. ---------------------------- revision 1.220 date: 2007/05/25 02:15:59; author: gilles; state: Exp; lines: +7 -6 Flags \Recent can be uppercase \RECENT now. ---------------------------- revision 1.219 date: 2007/04/04 09:32:20; author: gilles; state: Exp; lines: +18 -12 Added uname info and perl version to the banner. ---------------------------- revision 1.218 date: 2007/04/04 07:52:22; author: gilles; state: Exp; lines: +8 -8 - Zimbra releases - use prefix1 bugfix for a rpm .spec ---------------------------- revision 1.217 date: 2007/03/06 13:12:23; author: gilles; state: Exp; lines: +103 -6 - Added _cram_md5_2() and authenticate2() to correct a bug from the Mail::IMAPClient perl library. username can't be longer than 24 due to a lack of blank second parameter in MIME::Base64::encode() call. ---------------------------- revision 1.216 date: 2007/03/06 04:25:52; author: gilles; state: Exp; lines: +10 -7 Updated distribution list. ---------------------------- revision 1.215 date: 2007/03/06 03:50:35; author: gilles; state: Exp; lines: +16 -8 Updated documentation. ---------------------------- revision 1.214 date: 2007/02/26 10:31:32; author: gilles; state: Exp; lines: +6 -6 Fixed a mistake in the EXAMPLE section. ---------------------------- revision 1.213 date: 2007/02/16 04:07:19; author: gilles; state: Exp; lines: +168 -11 - Back to append_file() modified -> append_file2() ---------------------------- revision 1.212 date: 2007/02/13 05:18:15; author: gilles; state: Exp; lines: +12 -12 32 imap server softwares supported. Fixed a long standing bug (header keywords weren't uppercased like said in the comment above) ---------------------------- revision 1.211 date: 2007/02/08 03:25:36; author: gilles; state: Exp; lines: +23 -20 MDaemon 9.5.4 success Mercury 4.1 success UW v12.264 success Docum: link to wishlist ---------------------------- revision 1.210 date: 2007/02/08 02:58:52; author: gilles; state: Exp; lines: +19 -10 - Added whole command line output (I'm fed up to ask for) - Added link to the imapsync thanks wishlist. I like to help people for free, but I like books too :-) - Added count of skipped message due to --dry mode ---------------------------- revision 1.209 date: 2007/02/02 02:06:50; author: gilles; state: Exp; lines: +9 -6 - Started to list the distributions containing an imapsync port. ---------------------------- revision 1.208 date: 2007/02/01 22:31:14; author: gilles; state: Exp; lines: +50 -28 - lib Term::ReadKey optional + fix syntax without. - folders in destination are computed from the source ones. - Back to append_string() use because of syncinternaldates "bug" with append_file(). - more output when no header are detected. ---------------------------- revision 1.207 date: 2007/01/14 15:59:12; author: gilles; state: Exp; lines: +10 -10 Updated --help output ---------------------------- revision 1.206 date: 2007/01/14 15:55:02; author: gilles; state: Exp; lines: +9 -9 --include is no longer an exclusive option. I doesn't erase --folder --folderrec --subscribed options ---------------------------- revision 1.205 date: 2007/01/13 09:12:05; author: gilles; state: Exp; lines: +6 -6 Be case insensitive with INBOX ---------------------------- revision 1.204 date: 2007/01/13 07:51:21; author: gilles; state: Exp; lines: +14 -6 Try LOGIN auth login on first failure login. ---------------------------- revision 1.203 date: 2007/01/13 06:58:15; author: gilles; state: Exp; lines: +9 -7 Server list updated ---------------------------- revision 1.202 date: 2007/01/06 05:07:08; author: gilles; state: Exp; lines: +7 -6 SmarterMail success ---------------------------- revision 1.201 date: 2007/01/03 23:49:10; author: gilles; state: Exp; lines: +30 -6 Use login2() instead of login() (literal form is not always supported. ---------------------------- revision 1.200 date: 2007/01/02 08:27:04; author: gilles; state: Exp; lines: +48 -15 use message_to_file()instead of message_string() use append_file() instead of append_string() fixed INBOX with --prefix2 problem. Authmechanism() can't receive 'LOGIN' as argument (bug ?). ---------------------------- revision 1.199 date: 2006/12/30 15:53:51; author: gilles; state: Exp; lines: +7 -6 Sun Java System Messaging Server success ---------------------------- revision 1.198 date: 2006/12/30 04:23:36; author: gilles; state: Exp; lines: +19 -15 Added a comment about CPU and memory hungriness. Removed exit(1) on No auth CAPABILITY. Authenticate is always done now. ---------------------------- revision 1.197 date: 2006/12/10 02:49:39; author: gilles; state: Exp; lines: +7 -10 Updated online documantation about new --include and --exclude behavior ---------------------------- revision 1.196 date: 2006/12/10 02:41:37; author: gilles; state: Exp; lines: +21 -15 - Now IO::Socket::SSL is loaded only with -ssl* - multiple --include are taken like a "or" list , not an "and" list. ---------------------------- revision 1.195 date: 2006/12/08 04:48:54; author: gilles; state: Exp; lines: +10 -8 Added OpenMail success Counted how many different imap server software succeeded. ---------------------------- revision 1.194 date: 2006/12/08 04:04:34; author: gilles; state: Exp; lines: +22 -12 Added --folderrec option Now --folder --subscribed and --folderrec can be used simultaneously. ---------------------------- revision 1.193 date: 2006/12/08 03:29:14; author: gilles; state: Exp; lines: +8 -8 Replace PLAIN with LOGIN ---------------------------- revision 1.192 date: 2006/12/04 13:57:45; author: gilles; state: Exp; lines: +10 -9 Added imap server releases ---------------------------- revision 1.191 date: 2006/11/11 22:11:25; author: gilles; state: Exp; lines: +7 -7 imap servers section DBMail 2.2rc1 ---------------------------- revision 1.190 date: 2006/11/11 00:13:15; author: gilles; state: Exp; lines: +10 -6 Be case inseitive with header keywords. ---------------------------- revision 1.189 date: 2006/11/04 16:47:38; author: gilles; state: Exp; lines: +6 -6 typo CommuniGatePro ---------------------------- revision 1.188 date: 2006/10/30 01:18:37; author: gilles; state: Exp; lines: +22 -17 Fixed typos about transfer* ---------------------------- revision 1.187 date: 2006/09/29 12:18:53; author: gilles; state: Exp; lines: +6 -6 bug fixed when "userauthuserpassword" is over 76 characters ---------------------------- revision 1.186 date: 2006/09/29 12:09:15; author: gilles; state: Exp; lines: +6 -6 Surgemail release ---------------------------- revision 1.185 date: 2006/09/28 11:15:20; author: gilles; state: Exp; lines: +6 -5 Surgemail success. ---------------------------- revision 1.184 date: 2006/08/22 01:25:18; author: gilles; state: Exp; lines: +9 -5 Added advice in case bad PLAIN AUTHENTICATE. ---------------------------- revision 1.183 date: 2006/08/22 01:17:28; author: gilles; state: Exp; lines: +7 -6 exit if --authmech1 method is not supported by an imap server. ---------------------------- revision 1.182 date: 2006/08/01 23:07:42; author: gilles; state: Exp; lines: +8 -6 David Tobit V8 ---------------------------- revision 1.181 date: 2006/07/19 14:45:29; author: gilles; state: Exp; lines: +22 -7 Added several controls to check connected status. ---------------------------- revision 1.180 date: 2006/07/19 13:45:55; author: gilles; state: Exp; lines: +7 -7 Updated success list ---------------------------- revision 1.179 date: 2006/07/18 01:57:31; author: gilles; state: Exp; lines: +7 -6 Fixed bug about variable mess_size_total_skipped. Thanks to Doug Gorton ---------------------------- revision 1.178 date: 2006/07/02 23:26:07; author: gilles; state: Exp; lines: +10 -8 Added Mailsite success ---------------------------- revision 1.177 date: 2006/06/13 20:03:21; author: gilles; state: Exp; lines: +14 -14 typos ---------------------------- revision 1.176 date: 2006/06/08 23:00:56; author: gilles; state: Exp; lines: +6 -6 typo ---------------------------- revision 1.175 date: 2006/06/08 00:52:00; author: gilles; state: Exp; lines: +28 -9 Added --regexflag option to remove "bad" flags when needed. ---------------------------- revision 1.174 date: 2006/06/07 22:17:37; author: gilles; state: Exp; lines: +6 -6 Scalix release ---------------------------- revision 1.173 date: 2006/05/31 11:48:24; author: gilles; state: Exp; lines: +10 -6 Updated "IMAP SERVERS" success list: - Added Scalix - Added Eudora WorldMail v2 ---------------------------- revision 1.172 date: 2006/05/09 23:06:29; author: gilles; state: Exp; lines: +10 -5 Added split value 1000 by default ---------------------------- revision 1.171 date: 2006/04/27 08:25:04; author: gilles; state: Exp; lines: +21 -13 Added more information with --justconnect - OS system. - kernel (uname -a) - perl version ---------------------------- revision 1.170 date: 2006/04/27 06:58:37; author: gilles; state: Exp; lines: +21 -30 Move "Multiple copies" bug in the FAQ. Removed "Flag bug in first sync". Added how to report bug. ---------------------------- revision 1.169 date: 2006/04/13 21:36:15; author: gilles; state: Exp; lines: +7 -6 Added Zimbra IMAP success. ---------------------------- revision 1.168 date: 2006/04/02 01:49:10; author: gilles; state: Exp; lines: +32 -10 Added --delete2 option: remove messages on destination that are not on the source server. ---------------------------- revision 1.167 date: 2006/03/30 02:33:00; author: gilles; state: Exp; lines: +6 -6 SPLIT print in debug mode only. ---------------------------- revision 1.166 date: 2006/03/30 02:22:39; author: gilles; state: Exp; lines: +30 -30 Use of parse_headers() instead of parse_headers() Finished to fix bug "word too long" by splitting request also in parse_headers2() function. ---------------------------- revision 1.165 date: 2006/03/30 01:41:22; author: gilles; state: Exp; lines: +125 -9 Fixed a bug with interactive passwords (it was not used...) Added function parse_headers2() from IMAPClient.pm ---------------------------- revision 1.164 date: 2006/03/26 03:17:48; author: gilles; state: Exp; lines: +97 -9 Fixed the bug "Word too large" by spliting requests on demand with --split1 and --split2 options. Added Split() fetch_hash2() in lib ---------------------------- revision 1.163 date: 2006/03/24 04:18:58; author: gilles; state: Exp; lines: +61 -51 Added ask_for_password() function FLAGS INTERNALDATE and RFC822.SIZE fetch together ---------------------------- revision 1.162 date: 2006/03/22 03:45:05; author: gilles; state: Exp; lines: +59 -31 Added --authuser1 --authuser2 options ---------------------------- revision 1.161 date: 2006/03/20 00:09:41; author: gilles; state: Exp; lines: +12 -42 Fixed default auth to CRAM-MD5 unless not told to. ---------------------------- revision 1.160 date: 2006/03/19 23:54:48; author: gilles; state: Exp; lines: +82 -23 Added SSL support. Added options --ssl1 --ssl2 Added PLAIN auth support Added options --authmech1 --authmech2 ---------------------------- revision 1.159 date: 2006/03/11 13:00:52; author: gilles; state: Exp; lines: +11 -8 Added failure story dkimap Fixed bug when both --minage and --maxage are used. Changed message date selection : date sent instead of internal date. ---------------------------- revision 1.158 date: 2006/03/02 06:28:30; author: gilles; state: Exp; lines: +38 -29 Made acls_sync() to_folder_name() ---------------------------- revision 1.157 date: 2006/03/02 04:32:01; author: gilles; state: Exp; lines: +15 -11 Made --include --exclude options possibly be a list. ---------------------------- revision 1.156 date: 2006/03/02 03:14:12; author: gilles; state: Exp; lines: +6 -5 Added imap_tools link. ---------------------------- revision 1.155 date: 2006/02/28 02:18:13; author: gilles; state: Exp; lines: +14 -7 Updated AUTHOR section. Talked about confirmation request Talked about comp.mail.imap ---------------------------- revision 1.154 date: 2006/02/28 02:03:40; author: gilles; state: Exp; lines: +18 -17 Fixed doc: No need to rerun imapsync with expunge now. ---------------------------- revision 1.153 date: 2006/02/22 02:41:52; author: gilles; state: Exp; lines: +10 -9 updated usage() ---------------------------- revision 1.152 date: 2006/02/17 02:57:21; author: gilles; state: Exp; lines: +55 -18 Made the --justconnect a real "just connect" connection, not a auth connection like it is now. ---------------------------- revision 1.151 date: 2006/02/17 01:28:57; author: gilles; state: Exp; lines: +9 -6 Added documentation about --regextrans2, dry mode. ---------------------------- revision 1.150 date: 2006/02/16 05:23:05; author: gilles; state: Exp; lines: +9 -7 DBMail 2.0.7 failure story ---------------------------- revision 1.149 date: 2006/02/14 00:44:44; author: gilles; state: Exp; lines: +9 -8 Documented --exclude 'fold1|fold2|f3' ---------------------------- revision 1.148 date: 2006/02/14 00:30:49; author: gilles; state: Exp; lines: +7 -7 More debug for dbmail pb. ---------------------------- revision 1.147 date: 2006/02/08 07:54:46; author: gilles; state: Exp; lines: +7 -9 Just a little debug for Jim. ---------------------------- revision 1.146 date: 2006/01/13 02:43:18; author: gilles; state: Exp; lines: +6 -6 MDaemon ---------------------------- revision 1.145 date: 2005/12/04 01:58:54; author: gilles; state: Exp; lines: +54 -12 Added --minage option ---------------------------- revision 1.144 date: 2005/11/28 00:32:05; author: gilles; state: Exp; lines: +60 -17 Added RFC compliance about NAMESPACE prefixes. Added --prefix1 option. ---------------------------- revision 1.143 date: 2005/11/27 20:36:12; author: gilles; state: Exp; lines: +12 -10 made --regextrans2 a multiple option ---------------------------- revision 1.142 date: 2005/11/16 01:08:49; author: gilles; state: Exp; lines: +7 -5 Added expunge1 and expunge2 getoption code ---------------------------- revision 1.141 date: 2005/11/16 01:05:16; author: gilles; state: Exp; lines: +6 -6 fixed bug about subscribed folders. Was introduced by a line commented in 1.137 ---------------------------- revision 1.140 date: 2005/10/30 10:16:52; author: gilles; state: Exp; lines: +21 -8 Added --expunge1 --expunge2 options ---------------------------- revision 1.139 date: 2005/07/16 12:46:22; author: gilles; state: Exp; lines: +6 -6 server list ---------------------------- revision 1.138 date: 2005/07/16 11:12:45; author: gilles; state: Exp; lines: +20 -13 Added failure story. Added license information and url in imap server list. ---------------------------- revision 1.137 date: 2005/06/26 03:08:35; author: gilles; state: Exp; lines: +22 -11 Added --fastio1 --fastio2 options. Fixed bad variable declaration with --maxage. ---------------------------- revision 1.136 date: 2005/06/23 02:24:19; author: gilles; state: Exp; lines: +42 -29 Fixed --maxsize --skipsize bug ---------------------------- revision 1.135 date: 2005/06/21 01:29:44; author: gilles; state: Exp; lines: +25 -33 Removed md5 test on perl lib ---------------------------- revision 1.134 date: 2005/06/03 10:33:11; author: gilles; state: Exp; lines: +8 -8 updated documentation. ---------------------------- revision 1.133 date: 2005/05/21 02:33:29; author: gilles; state: Exp; lines: +45 -31 Added foldersizes function ---------------------------- revision 1.132 date: 2005/05/20 03:18:48; author: gilles; state: Exp; lines: +23 -16 Updated doc with all options. ---------------------------- revision 1.131 date: 2005/05/20 02:47:56; author: gilles; state: Exp; lines: +5 -37 Removed unused code ---------------------------- revision 1.130 date: 2005/05/20 02:40:26; author: gilles; state: Exp; lines: +23 -15 Added --useheader option ---------------------------- revision 1.129 date: 2005/05/19 01:54:31; author: gilles; state: Exp; lines: +14 -11 Added --buffersize option. No sync acls by default now. ---------------------------- revision 1.128 date: 2005/05/18 18:52:09; author: gilles; state: Exp; lines: +7 -6 Groupwise ---------------------------- revision 1.127 date: 2005/05/09 04:14:48; author: gilles; state: Exp; lines: +6 -7 Fixed bug about @regexmess who was applied for the first message only. Thanks to Scott Glenn. ---------------------------- revision 1.126 date: 2005/05/09 04:04:20; author: gilles; state: Exp; lines: +26 -21 Applied patch from Dag-Erling Smørgrav about acl sync pb ---------------------------- revision 1.125 date: 2005/04/22 01:12:18; author: gilles; state: Exp; lines: +23 -9 Allow password input on command line if none by options --password nor --passfile Thanks to Brian Cunnie for his patch. ---------------------------- revision 1.124 date: 2005/04/13 11:37:38; author: gilles; state: Exp; lines: +9 -7 Added Samsung Contact success ---------------------------- revision 1.123 date: 2005/03/19 04:25:46; author: gilles; state: Exp; lines: +17 -6 Added check about flags undef Bug reported from Novell NetMail by Dan Wang ---------------------------- revision 1.122 date: 2005/03/19 04:11:33; author: gilles; state: Exp; lines: +8 -6 Updated Success stories ---------------------------- revision 1.121 date: 2005/02/01 04:03:30; author: gilles; state: Exp; lines: +7 -5 Added links imapcopy and migrationtool ---------------------------- revision 1.120 date: 2005/02/01 02:38:38; author: gilles; state: Exp; lines: +7 -6 Success stories : MDaemon ---------------------------- revision 1.119 date: 2005/02/01 01:54:08; author: gilles; state: Exp; lines: +13 -8 Fixed undef flag array problem (that I've never encounter). Don't remenber who gave the patch patches/imapsync-undef_arrayref.diff ---------------------------- revision 1.118 date: 2005/01/17 14:45:25; author: gilles; state: Exp; lines: +10 -8 --regexmess option can be repeated ---------------------------- revision 1.117 date: 2005/01/16 13:51:49; author: gilles; state: Exp; lines: +17 -11 Changed get_separator() Calling namespace capability if needed ---------------------------- revision 1.116 date: 2005/01/16 01:50:23; author: gilles; state: Exp; lines: +50 -49 Added --regexmess option ---------------------------- revision 1.115 date: 2005/01/10 00:14:45; author: gilles; state: Exp; lines: +10 -12 Tried to get flags in one command, but it is too slow. ---------------------------- revision 1.114 date: 2005/01/07 09:58:59; author: gilles; state: Exp; lines: +82 -76 moved parse_header_msg1 ---------------------------- revision 1.113 date: 2005/01/07 07:28:40; author: gilles; state: Exp; lines: +9 -9 Added conditional --dry actions ---------------------------- revision 1.112 date: 2005/01/04 04:49:43; author: gilles; state: Exp; lines: +19 -18 acl only if option ---------------------------- revision 1.111 date: 2005/01/04 04:05:07; author: gilles; state: Exp; lines: +9 -13 Suppressed perl warnings ---------------------------- revision 1.110 date: 2005/01/04 03:56:59; author: gilles; state: Exp; lines: +92 -12 Better performances ---------------------------- revision 1.109 date: 2005/01/02 00:47:24; author: gilles; state: Exp; lines: +6 -9 Removed useless lines ---------------------------- revision 1.108 date: 2004/12/29 03:19:48; author: gilles; state: Exp; lines: +8 -7 --prefix2 applied before --regextrans2 ---------------------------- revision 1.107 date: 2004/12/28 23:24:05; author: gilles; state: Exp; lines: +30 -9 Added option --nosyncacls Added synchronization of acls (by default) Added --justfolders ---------------------------- revision 1.106 date: 2004/12/28 03:35:00; author: gilles; state: Exp; lines: +9 -8 If --sep2 or --sep1 is given then it has precedence over the separator given by imap namespace. ---------------------------- revision 1.105 date: 2004/12/28 03:32:30; author: gilles; state: Exp; lines: +7 -11 Removed commented code about separator ---------------------------- revision 1.104 date: 2004/11/13 02:30:24; author: gilles; state: Exp; lines: +7 -6 Added Worldmail success ---------------------------- revision 1.103 date: 2004/10/19 04:15:27; author: gilles; state: Exp; lines: +9 -11 Removed search("ALL") from foldersizes code ---------------------------- revision 1.102 date: 2004/10/15 14:41:25; author: gilles; state: Exp; lines: +36 -21 Add use of fetch_hash() in foldersizes counting. ---------------------------- revision 1.101 date: 2004/10/12 15:17:37; author: gilles; state: Exp; lines: +7 -6 Added OpenWave ---------------------------- revision 1.100 date: 2004/10/08 00:57:33; author: gilles; state: Exp; lines: +33 -12 Added time infos ---------------------------- revision 1.99 date: 2004/10/04 18:42:40; author: gilles; state: Exp; lines: +15 -8 Added explanation about --skipheader option : only one regex taken into account. ---------------------------- revision 1.98 date: 2004/09/29 15:49:53; author: gilles; state: Exp; lines: +11 -6 Ordered message transfer by uid. Thanks to David Alix suggestion. ---------------------------- revision 1.97 date: 2004/09/29 15:00:26; author: gilles; state: Exp; lines: +7 -6 Success stories : Domino 5.0.6 ---------------------------- revision 1.96 date: 2004/07/09 09:08:43; author: gilles; state: Exp; lines: +41 -36 Rewrote foldersizes using size() instead of new and not available everywhere fetch_hash(). ---------------------------- revision 1.95 date: 2004/07/08 23:31:53; author: gilles; state: Exp; lines: +44 -6 Applied --foldersizes patch as is from Reed Sandberg ---------------------------- revision 1.94 date: 2004/06/15 03:42:56; author: gilles; state: Exp; lines: +13 -6 Added time stat ---------------------------- revision 1.93 date: 2004/06/14 23:13:55; author: gilles; state: Exp; lines: +18 -11 Added stats about messages transfered and messages skipped ---------------------------- revision 1.92 date: 2004/05/29 02:23:14; author: gilles; state: Exp; lines: +17 -13 Updated usage() ---------------------------- revision 1.91 date: 2004/04/07 18:51:24; author: gilles; state: Exp; lines: +7 -6 - Expunging the destination server is commented. - Expunge each message deleted message from the source server if --expunge ---------------------------- revision 1.90 date: 2004/04/07 18:14:05; author: gilles; state: Exp; lines: +13 -6 Added --regextrans2 option ---------------------------- revision 1.89 date: 2004/03/31 17:37:23; author: gilles; state: Exp; lines: +17 -13 Changed debug output ---------------------------- revision 1.88 date: 2004/03/29 23:33:00; author: gilles; state: Exp; lines: +27 -11 Added BUGS section about "Multiple copies". ---------------------------- revision 1.87 date: 2004/03/24 00:08:35; author: gilles; state: Exp; lines: +6 -5 Updated Servers list. ---------------------------- revision 1.86 date: 2004/03/21 23:25:47; author: gilles; state: Exp; lines: +19 -7 Added --skipheader option Added --skipsize option ---------------------------- revision 1.85 date: 2004/03/13 20:39:10; author: gilles; state: Exp; lines: +7 -6 Updated pod IMAP SERVERS ---------------------------- revision 1.84 date: 2004/03/13 03:43:34; author: gilles; state: Exp; lines: +8 -7 Sort also same type headers (like Received) ---------------------------- revision 1.83 date: 2004/03/12 02:29:00; author: gilles; state: Exp; lines: +8 -5 Do not parse first blanks in headers (dbmail bug, thanks to Christophe Labouisse) ---------------------------- revision 1.82 date: 2004/03/12 01:40:27; author: gilles; state: Exp; lines: +6 -6 removed only ---------------------------- revision 1.81 date: 2004/03/12 01:39:51; author: gilles; state: Exp; lines: +11 -5 AUTHOR pod section ---------------------------- revision 1.80 date: 2004/03/12 01:11:22; author: gilles; state: Exp; lines: +6 -6 IMail Win2003 ---------------------------- revision 1.79 date: 2004/03/12 01:08:12; author: gilles; state: Exp; lines: +6 -5 Added IMail 7.15 ---------------------------- revision 1.78 date: 2004/03/12 01:04:10; author: gilles; state: Exp; lines: +19 -9 --timeout option added. Thanks to William Hernandez (fromESS/PR Webmasters) ---------------------------- revision 1.77 date: 2004/03/11 05:33:22; author: gilles; state: Exp; lines: +26 -8 Better authmd5 stuff Added option --noauthmd5 ---------------------------- revision 1.76 date: 2004/02/18 21:34:46; author: gilles; state: Exp; lines: +9 -6 Added mailutil ref ---------------------------- revision 1.75 date: 2004/02/18 14:27:40; author: gilles; state: Exp; lines: +6 -6 dovecot version ---------------------------- revision 1.74 date: 2004/02/12 03:11:14; author: gilles; state: Exp; lines: +11 -6 Updated SIMILAR SOFTWARES ---------------------------- revision 1.73 date: 2004/02/12 00:12:46; author: gilles; state: Exp; lines: +11 -5 www.imap.org ---------------------------- revision 1.72 date: 2004/02/09 15:42:33; author: gilles; state: Exp; lines: +39 -9 Better MD5 handling ---------------------------- revision 1.71 date: 2004/01/29 04:28:36; author: gilles; state: Exp; lines: +23 -7 Added statistics about bytes transfered, skipped ---------------------------- revision 1.70 date: 2004/01/29 03:32:01; author: gilles; state: Exp; lines: +9 -5 Updated "Huge Migration". ---------------------------- revision 1.69 date: 2004/01/29 02:27:41; author: gilles; state: Exp; lines: +45 -16 Patch from Kaspar Brand as is. ---------------------------- revision 1.68 date: 2004/01/28 03:49:29; author: gilles; state: Exp; lines: +17 -13 Added "Success stories" Sorted "Success stories" Added windows note. ---------------------------- revision 1.67 date: 2004/01/28 03:10:24; author: gilles; state: Exp; lines: +6 -6 Better description for google. ---------------------------- revision 1.66 date: 2004/01/23 20:27:28; author: gilles; state: Exp; lines: +6 -6 Added IMAP sync words for google response. ---------------------------- revision 1.65 date: 2003/12/24 03:04:34; author: gilles; state: Exp; lines: +20 -7 Wrote separator_invert() Use separator_invert() to transform separators ---------------------------- revision 1.64 date: 2003/12/23 19:45:46; author: gilles; state: Exp; lines: +5 -8 Removed auth capability debug ---------------------------- revision 1.63 date: 2003/12/23 19:44:47; author: gilles; state: Exp; lines: +7 -6 One line only for --version ---------------------------- revision 1.62 date: 2003/12/23 19:28:12; author: gilles; state: Exp; lines: +6 -5 Added ref pop2imap ---------------------------- revision 1.61 date: 2003/12/23 19:23:07; author: gilles; state: Exp; lines: +11 -6 Updated Success stories ---------------------------- revision 1.60 date: 2003/12/23 18:21:44; author: gilles; state: Exp; lines: +8 -8 Try separator() ---------------------------- revision 1.59 date: 2003/12/23 18:19:24; author: gilles; state: Exp; lines: +34 -16 Added MD5 auth ---------------------------- revision 1.58 date: 2003/12/23 17:26:45; author: gilles; state: Exp; lines: +44 -27 Preparation to MD5 auth ---------------------------- revision 1.57 date: 2003/12/23 03:04:16; author: gilles; state: Exp; lines: +14 -6 Prepared code for separator() use. Added --justconnect option. ---------------------------- revision 1.56 date: 2003/12/13 19:38:33; author: gilles; state: Exp; lines: +7 -7 Removed tha bad help message about nested folders and --folder option ---------------------------- revision 1.55 date: 2003/12/13 18:16:56; author: gilles; state: Exp; lines: +30 -15 Better subscribe behavior ---------------------------- revision 1.54 date: 2003/12/12 18:13:01; author: gilles; state: Exp; lines: +7 -6 Updated "Success stories". ---------------------------- revision 1.53 date: 2003/12/12 17:34:45; author: gilles; state: Exp; lines: +17 -6 Added comments. Added subscribe code. ---------------------------- revision 1.52 date: 2003/12/12 17:16:51; author: gilles; state: Exp; lines: +12 -4 Use join() for the banner (less ugly). ---------------------------- revision 1.51 date: 2003/12/12 17:12:39; author: gilles; state: Exp; lines: +25 -9 Updated the INSTALL pod doc. Prepared the --subscribe option. ---------------------------- revision 1.50 date: 2003/12/01 16:32:15; author: gilles; state: Exp; lines: +6 -4 Added Mail::IMAPClient::VERSION ---------------------------- revision 1.49 date: 2003/12/01 16:19:46; author: gilles; state: Exp; lines: +6 -6 Updated success stories. ---------------------------- revision 1.48 date: 2003/11/21 04:23:10; author: gilles; state: Exp; lines: +26 -4 Added "HUGE MIGRATION" pod section. (Thanks Tommi Lätti ---------------------------- revision 1.47 date: 2003/11/21 03:15:31; author: gilles; state: Exp; lines: +19 -4 Added a SECURITY pod doc section. ---------------------------- revision 1.46 date: 2003/11/21 02:52:37; author: gilles; state: Exp; lines: +6 -4 Documented --subscribed option in usage() Add GPL link ---------------------------- revision 1.45 date: 2003/11/21 02:42:49; author: gilles; state: Exp; lines: +28 -8 Added usage of sysexists constants. Exit in error if a problem occurs with options. Added --subscribed option ---------------------------- revision 1.44 date: 2003/11/11 18:01:49; author: gilles; state: Exp; lines: +5 -5 Fixed get_separator call bug for "to" server. Thanks Eric Yung. ---------------------------- revision 1.43 date: 2003/11/11 02:18:45; author: gilles; state: Exp; lines: +35 -8 Added --sep1 and --sep2 options in case NAMESPACE can not be used Wrote get_separator() function. ---------------------------- revision 1.42 date: 2003/10/20 22:56:57; author: gilles; state: Exp; lines: +27 -16 Added --syncinternaldates option ---------------------------- revision 1.41 date: 2003/10/20 19:19:52; author: gilles; state: Exp; lines: +9 -4 RFC 2060: \Recent can not be altered by the client. Thanks to Tomasz Orzechowski ---------------------------- revision 1.40 date: 2003/10/17 01:34:59; author: gilles; state: Exp; lines: +5 -5 Added condition to add prefix2 ---------------------------- revision 1.39 date: 2003/10/17 01:26:20; author: gilles; state: Exp; lines: +4 -14 Removed commented code ---------------------------- revision 1.38 date: 2003/10/17 01:25:40; author: gilles; state: Exp; lines: +12 -7 Added --prefix2 option for the INBOX. namespace problem with cyrus imap servers. ---------------------------- revision 1.37 date: 2003/10/16 01:37:52; author: gilles; state: Exp; lines: +9 -8 Added a loop in case there is several identical key header ---------------------------- revision 1.36 date: 2003/10/16 01:23:51; author: gilles; state: Exp; lines: +4 -38 Removed commented code in parse section. ---------------------------- revision 1.35 date: 2003/10/16 01:22:52; author: gilles; state: Exp; lines: +20 -19 Use of parse_header_msg() in "to" server ---------------------------- revision 1.34 date: 2003/10/16 01:18:07; author: gilles; state: Exp; lines: +49 -24 Wrote parse_header_msg() Use of parse_header_msg for "from" server. ---------------------------- revision 1.33 date: 2003/10/16 00:47:43; author: gilles; state: Exp; lines: +6 -6 Added prefix in debug output for headers ---------------------------- revision 1.32 date: 2003/10/16 00:36:17; author: gilles; state: Exp; lines: +17 -5 Added code to check internal dates Commented code about internal dates ---------------------------- revision 1.31 date: 2003/08/28 16:07:28; author: gilles; state: Exp; lines: +5 -5 Fixed bug converting separators ---------------------------- revision 1.30 date: 2003/08/27 16:40:38; author: gilles; state: Exp; lines: +9 -5 Added output separators Fixed bad output fot "To folders" ---------------------------- revision 1.29 date: 2003/08/24 02:01:28; author: gilles; state: Exp; lines: +6 -4 Updated doc about fixed flags first time bug. ---------------------------- revision 1.28 date: 2003/08/24 01:55:25; author: gilles; state: Exp; lines: +8 -30 Set the flags using append_strings() instead of store() Flags are well set since the first run now. ---------------------------- revision 1.27 date: 2003/08/23 14:40:57; author: gilles; state: Exp; lines: +4 -10 Removed unused code ---------------------------- revision 1.26 date: 2003/08/23 14:36:58; author: gilles; state: Exp; lines: +18 -11 Updated doc with imap servers, freshmeat url ---------------------------- revision 1.25 date: 2003/08/23 01:44:33; author: gilles; state: Exp; lines: +18 -12 Fixed pb with no UIDPLUS and flags ---------------------------- revision 1.24 date: 2003/08/23 00:05:57; author: gilles; state: Exp; lines: +13 -5 Added server software output Added server capability output ---------------------------- revision 1.23 date: 2003/08/22 21:55:01; author: gilles; state: Exp; lines: +37 -8 Added code to better sync flags ---------------------------- revision 1.22 date: 2003/08/22 17:17:18; author: gilles; state: Exp; lines: +22 -17 Added code to underdstand why Daniele can't create folders ---------------------------- revision 1.21 date: 2003/08/22 16:25:07; author: gilles; state: Exp; lines: +4 -9 Removed commented code adding INBOX. prefix ---------------------------- revision 1.20 date: 2003/08/21 16:31:53; author: gilles; state: Exp; lines: +6 -5 Fixed banner output. Must be after getoptions because of --version ---------------------------- revision 1.19 date: 2003/08/21 16:18:32; author: gilles; state: Exp; lines: +11 -8 Added code and comment to understand why message uid was not printed Solution : some imap server don't have UIDPLIS Capability ---------------------------- revision 1.18 date: 2003/08/21 14:37:45; author: gilles; state: Exp; lines: +5 -5 Removed unuseful param in $from->folders call ---------------------------- revision 1.17 date: 2003/08/21 13:49:05; author: gilles; state: Exp; lines: +5 -4 Fixed banner ---------------------------- revision 1.16 date: 2003/08/21 13:47:14; author: gilles; state: Exp; lines: +12 -11 Added imapxfer url, thanks to Daniele Frijia. Added [] to see blank caracter in folder names. Added a banner with imapsync version. ---------------------------- revision 1.15 date: 2003/07/17 12:22:23; author: gilles; state: Exp; lines: +4 -4 Added imap debug mode to server2 ---------------------------- revision 1.14 date: 2003/07/17 11:58:56; author: gilles; state: Exp; lines: +14 -12 - Fixed port2 variable. Thanks again Patrick C. F. Ernzer ---------------------------- revision 1.13 date: 2003/07/16 17:28:59; author: gilles; state: Exp; lines: +6 -3 - fix "you forgot to honour the --port option" Thanks to Patrick C. F. Ernzer ---------------------------- revision 1.12 date: 2003/07/07 20:19:58; author: gilles; state: Exp; lines: +20 -4 Updated documentation : - Added IMAP SERVERS section (Success and bad stories). - Updated SIMILAR SOFTWARES section. ---------------------------- revision 1.11 date: 2003/07/04 23:32:23; author: gilles; state: Exp; lines: +7 -5 - use of namespace separator, Thanks to Sebastien Namèche. ---------------------------- revision 1.10 date: 2003/05/05 22:37:48; author: gilles; state: Exp; lines: +5 -5 Updated --folder documentation. ---------------------------- revision 1.9 date: 2003/05/05 22:33:50; author: gilles; state: Exp; lines: +8 -7 Commented INBOX prefix addition (cyrus "buggy" namespace) ---------------------------- revision 1.8 date: 2003/05/05 21:05:14; author: gilles; state: Exp; lines: +20 -4 When folders are given with the --folder option then nested are also taken into account. ---------------------------- revision 1.7 date: 2003/03/15 03:40:54; author: gilles; state: Exp; lines: +19 -9 Added documentation. ---------------------------- revision 1.6 date: 2003/03/14 02:17:24; author: gilles; state: Exp; lines: +5 -3 Added positive exit if errors occurred. ---------------------------- revision 1.5 date: 2003/03/14 01:20:37; author: gilles; state: Exp; lines: +14 -6 Better debug output. ---------------------------- revision 1.4 date: 2003/03/14 01:01:08; author: gilles; state: Exp; lines: +143 -15 Added documentation. Added --folder option. Added error counter. ---------------------------- revision 1.3 date: 2003/03/12 23:19:58; author: gilles; state: Exp; lines: +276 -166 Adapted from transfert-bal-verify.pl Added usage() Changed variable names. Added get_options() Added option controls. ---------------------------- revision 1.2 date: 2001/07/29 23:27:52; author: gilles; state: Exp; lines: +7 -4 8bit -> X ---------------------------- revision 1.1 date: 2001/07/29 22:34:01; author: gilles; state: Exp; Initial revision =============================================================================