mirror of
https://github.com/imapsync/imapsync.git
synced 2024-11-17 00:02:29 +01:00
1.223
This commit is contained in:
parent
09be759d48
commit
d96755f174
37
CREDITS
37
CREDITS
@ -1,14 +1,45 @@
|
||||
#!/bin/cat
|
||||
|
||||
Marc Jauvin
|
||||
Found 1.217 slower than 1.182 (80s -> 250s, 2400 mail, 90MB)
|
||||
I thank very much all of these people.
|
||||
|
||||
If you want to make a donation to the author, Gilles LAMIRAL,
|
||||
you can use the imapsync wishlist :
|
||||
http://www.amazon.com/gp/registry/wishlist/1C9UNDIH3P7R7/
|
||||
(Use the lowest postal cost)
|
||||
or its paypal account gilles.lamiral@laposte.net
|
||||
|
||||
I thank very much all of these people.
|
||||
Chris Weinhaupl
|
||||
Had problems from courier to zimbra
|
||||
(failure story ?)
|
||||
|
||||
Peer Heinlein
|
||||
Had problem with *AsterixFolder
|
||||
|
||||
Derek Diget
|
||||
Suggested --tmpdir
|
||||
|
||||
Asbjørn Clemmensen
|
||||
Gave "Deerfield VisNetic MailServer 5.8.6" imap server.
|
||||
Found a bug about internal date in Deerfield.
|
||||
Made me fix date with Date::Manip
|
||||
Finally had success from Deerfield to Dovecot ?
|
||||
|
||||
Marc Laporte
|
||||
Gave me 30$ and made me register a paypal account.
|
||||
|
||||
Clark Allan
|
||||
Had \RECENT flag bug problem.
|
||||
Tried to migrate from mailenable to Zimbra.
|
||||
Futur will tell if imapsync can be a good boy for mailenable.
|
||||
|
||||
Kevin Henrikson (Zimbra)
|
||||
Gave me many books.
|
||||
|
||||
Paolo Oopla
|
||||
FAQ about "99.8% cpu right after start" and --noauthmd5 solution.
|
||||
|
||||
Marc Jauvin
|
||||
Found 1.217 slower than 1.182 (80s -> 250s, 2400 mail, 90MB)
|
||||
|
||||
Neil Brown
|
||||
Made a rpm package of imapsync and gave the
|
||||
|
33
ChangeLog
33
ChangeLog
@ -1,15 +1,44 @@
|
||||
|
||||
RCS file: RCS/imapsync,v
|
||||
Working file: imapsync
|
||||
head: 1.219
|
||||
head: 1.223
|
||||
branch:
|
||||
locks: strict
|
||||
gilles: 1.223
|
||||
access list:
|
||||
symbolic names:
|
||||
keyword substitution: kv
|
||||
total revisions: 219; selected revisions: 219
|
||||
total revisions: 223; selected revisions: 223
|
||||
description:
|
||||
----------------------------
|
||||
revision 1.223 locked by: gilles;
|
||||
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.
|
||||
|
37
FAQ
37
FAQ
@ -6,7 +6,20 @@
|
||||
=======================================================================
|
||||
Q. Where I can read IMAP RFCs ?
|
||||
|
||||
R. http://www.faqs.org/rfcs/rfc3501.html
|
||||
R.
|
||||
|
||||
RFC 3501 - INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1
|
||||
http://www.faqs.org/rfcs/rfc3501.html
|
||||
|
||||
RFC 2822 - Internet Message Format
|
||||
http://www.faqs.org/rfcs/rfc2822.html
|
||||
|
||||
RFC 2342 - IMAP4 Namespace
|
||||
http://www.faqs.org/rfcs/rfc2342.html
|
||||
|
||||
RFC 4549 - Synchronization Operations for Disconnected IMAP4 Clients
|
||||
http://www.faqs.org/rfcs/rfc4549.html
|
||||
|
||||
|
||||
=======================================================================
|
||||
Q. We have found that the sent time and date have been changed to the
|
||||
@ -21,7 +34,7 @@ R. This is the case with:
|
||||
- Thunderbird
|
||||
|
||||
Eurora shows by default the time the imap server received the email.
|
||||
I think it is quite a strong behavior since the messages can
|
||||
I think it is quite a wrong behavior since the messages can
|
||||
have travelled some time before the reception.
|
||||
|
||||
The sent time and date are given by the "Date:" header
|
||||
@ -35,7 +48,8 @@ both parts.
|
||||
Solutions:
|
||||
a) Don't use buggy Eudora.
|
||||
b) Use the --syncinternaldates option and keep using Eudora :-)
|
||||
|
||||
c) Use the script learn/adjust_time.pl to change the internal dates
|
||||
from the "Date:" header.
|
||||
|
||||
=======================================================================
|
||||
Q. Flags are not well synchonized. Is it a bug ?
|
||||
@ -46,6 +60,11 @@ Also, it was a bug from revision 1.200 to revision 1.207
|
||||
Solution: run imapsync a second time. imapsync synchronizes flags
|
||||
on each run unless option --fast is used.
|
||||
|
||||
Q. imapsync hangs taking up 99.8% cpu right after start,
|
||||
after printing imapd doesn't support MD5 auth.
|
||||
|
||||
R. Try option --noauthmd5
|
||||
|
||||
=======================================================================
|
||||
Q. imapsync failed with a "word too long" error from the imap server,
|
||||
What can I do ?
|
||||
@ -446,4 +465,16 @@ To convert the wholes messages from 8bit to 7bit, use option :
|
||||
--regexmess 's/[\x80-\xff]/X/g'
|
||||
|
||||
======================================================================
|
||||
Q: From MailEnable 1.75
|
||||
R: --sep1 "/" --prefix1 ""
|
||||
|
||||
Q: From MailEnable 2.2
|
||||
R: --sep1 "." --prefix1 ""
|
||||
|
||||
======================================================================
|
||||
Q: How can I write an .rpm with imapsync
|
||||
R: I don't know but Neil Brown wrote one rpm package and you'll find
|
||||
his .spec file here :
|
||||
http://www.linux-france.org/prj/imapsync/learn/rpm/
|
||||
|
||||
|
||||
|
11
INSTALL
11
INSTALL
@ -1,4 +1,4 @@
|
||||
# $Id: INSTALL,v 1.10 2006/05/28 15:18:33 gilles Exp gilles $
|
||||
# $Id: INSTALL,v 1.11 2007/06/11 04:08:51 gilles Exp gilles $
|
||||
#
|
||||
# INSTALL file for imapsync
|
||||
# imapsync : IMAP sync or copy tool.
|
||||
@ -28,7 +28,9 @@ You need :
|
||||
Here is some individual module help:
|
||||
|
||||
- Perl Mail::IMAPClient module
|
||||
try : perl -mMail::IMAPClient -e ''
|
||||
try :
|
||||
|
||||
perl -mMail::IMAPClient -e ''
|
||||
|
||||
Get the Mail::IMAPClient module here:
|
||||
http://search.cpan.org/
|
||||
@ -37,6 +39,7 @@ Here is some individual module help:
|
||||
|
||||
In fact I use Mail-IMAPClient-2.2.9 (debian package)
|
||||
To know the version you have on your system try :
|
||||
|
||||
perl -mMail::IMAPClient -e 'print $Mail::IMAPClient::VERSION, "\n"'
|
||||
|
||||
- Perl Digest::MD5 module.
|
||||
@ -47,10 +50,14 @@ Here is some individual module help:
|
||||
I use 2.20 (debian package)
|
||||
|
||||
- Term::ReadKey
|
||||
perl -mTerm::ReadKey -e ''
|
||||
|
||||
- IO:Socket:SSL.pm
|
||||
perl -mIO::Socket::SSL -e ''
|
||||
|
||||
- Date::Manip
|
||||
perl -mDate::Manip -e ''
|
||||
|
||||
- (Option) Perl Digest::HMAC_MD5 module
|
||||
Good for non plain text password over network.
|
||||
|
||||
|
12
Makefile
12
Makefile
@ -1,5 +1,5 @@
|
||||
|
||||
# $Id: Makefile,v 1.15 2007/02/02 02:03:29 gilles Exp gilles $
|
||||
# $Id: Makefile,v 1.16 2007/06/15 04:08:28 gilles Exp $
|
||||
|
||||
TARGET=imapsync
|
||||
|
||||
@ -76,11 +76,11 @@ dist: cidone test clean clean_dist all INSTALL
|
||||
echo making tarball $(DIST_FILE)
|
||||
mkdir -p dist
|
||||
mkdir -p ../prepa_dist/$(DIST_NAME)
|
||||
rsync -aCv --delete ./ ../prepa_dist/$(DIST_NAME)
|
||||
rsync -aCv --delete --exclude dist/ ./ ../prepa_dist/$(DIST_NAME)
|
||||
cd ../prepa_dist && tar czfv $(DIST_FILE) $(DIST_NAME)
|
||||
cp -f ../prepa_dist/$(DIST_FILE) dist/
|
||||
cd dist && md5sum $(DIST_FILE) > md5.txt
|
||||
cd dist && md5sum -c md5.txt
|
||||
ln -f ../prepa_dist/$(DIST_FILE) dist/
|
||||
cd dist && md5sum $(DIST_FILE) > $(DIST_FILE).md5.txt
|
||||
cd dist && md5sum -c $(DIST_FILE).md5.txt
|
||||
|
||||
|
||||
deb:
|
||||
@ -95,7 +95,7 @@ cidone:
|
||||
rcsdiff RCS/*
|
||||
|
||||
clean_dist:
|
||||
rm -f dist/*
|
||||
echo Used to be 'rm -f dist/*'
|
||||
|
||||
# Local goals
|
||||
|
||||
|
18
README
18
README
@ -2,7 +2,7 @@
|
||||
Synchronise mailboxes between two imap servers. Good at IMAP migration.
|
||||
More than 32 different IMAP server softwares supported with success.
|
||||
|
||||
$Revision: 1.219 $
|
||||
$Revision: 1.223 $
|
||||
|
||||
INSTALL
|
||||
imapsync works fine under any Unix OS with perl.
|
||||
@ -209,7 +209,7 @@ IMAP SERVERS
|
||||
- dkimap4 2.39
|
||||
- Imail 7.04 (maybe).
|
||||
|
||||
Success stories reported with the following 32 imap servers (softwares
|
||||
Success stories reported with the following 33 imap servers (softwares
|
||||
names are in alphabetic order) :
|
||||
|
||||
- BincImap 1.2.3 (GPL) (http://www.bincimap.org/)
|
||||
@ -227,16 +227,17 @@ IMAP SERVERS
|
||||
- David Tobit V8 (proprietary Message system).
|
||||
- DBMail 1.2.1, 2.0.4, 2.0.9, 2.2rc1 (GPL) (http://www.dbmail.org/).
|
||||
2.0.7 seems buggy.
|
||||
- Dovecot 0.99.10.4, 0.99.14, 0.99.14-8.fc4, 1.0-0.beta2.7 (LGPL)
|
||||
(http://www.dovecot.org/)
|
||||
- Domino (Notes) 6.5, 5.0.6, 5.0.7, 7.0.2, 6.0.2CF1
|
||||
- Deerfield VisNetic MailServer 5.8.6 [from]
|
||||
- Dovecot 0.99.10.4, 0.99.14, 0.99.14-8.fc4, 1.0-0.beta2.7,
|
||||
1.0.0 [dest] (LGPL) (http://www.dovecot.org/)
|
||||
- Domino (Notes) 6.5, 5.0.6, 5.0.7, 7.0.2, 6.0.2CF1, 7.0.1 [from]
|
||||
- Eudora WorldMail v2
|
||||
- Groupwise IMAP (Novell) 6.x and 7.0. Buggy so see the FAQ.
|
||||
- iPlanet Messaging server 4.15, 5.1, 5.2
|
||||
- IMail 7.15 (Ipswitch/Win2003), 8.12
|
||||
- MDaemon 7.0.1, 8.1, 9.5.4 (Windows server 2003 R2 platform)
|
||||
- Mercury 4.1 (Windows server 2000 platform)
|
||||
- Microsoft Exchange Server 5.5
|
||||
- Microsoft Exchange Server 5.5, 6.5.7638.1 [dest]
|
||||
- Netscape Mail Server 3.6 (Wintel !)
|
||||
- Netscape Messaging Server 4.15 Patch 7
|
||||
- OpenMail IMAP server B.07.00.k0 (Samsung Contact ?)
|
||||
@ -271,7 +272,8 @@ IMAP SERVERS
|
||||
|
||||
Please rate imapsync at http://freshmeat.net/projects/imapsync/ or
|
||||
better give the author a book, he likes books:
|
||||
http://www.amazon.com/gp/registry/wishlist/1C9UNDIH3P7R7/
|
||||
http://www.amazon.com/gp/registry/wishlist/1C9UNDIH3P7R7/ (or its paypal
|
||||
account gilles.lamiral@laposte.net)
|
||||
|
||||
HUGE MIGRATION
|
||||
Have a special attention on options --subscribed --subscribe --delete
|
||||
@ -319,5 +321,5 @@ SIMILAR SOFTWARES
|
||||
|
||||
Feedback (good or bad) will be always welcome.
|
||||
|
||||
$Id: imapsync,v 1.219 2007/04/04 09:32:20 gilles Exp $
|
||||
$Id: imapsync,v 1.223 2007/06/15 04:08:44 gilles Exp gilles $
|
||||
|
||||
|
11
TODO
11
TODO
@ -1,6 +1,17 @@
|
||||
TODO file for imapsync
|
||||
----------------------
|
||||
|
||||
Add a --tmpdir option.
|
||||
|
||||
Fix bug with folder names starting with an asterisk: *Archiv
|
||||
Sending: 220 SELECT *Archiv/Support/foobar
|
||||
Read: 220 BAD Protokollfehler: "Invalid folder specified in SELECT command"
|
||||
|
||||
Add automatic convertion or detection when
|
||||
separator inversion produces an invalid character.
|
||||
From uw to cyrus, for example :
|
||||
FoldA/FoldB.ext -> FoldA.FoldB/ext
|
||||
|
||||
Compare speed between 1.182 and 1.217
|
||||
"un mailbox de 90MB, ~2400 fichiers prends 80s avec la version 1.182
|
||||
vs 250s avec la version 1.217". Marc Jauvin
|
||||
|
43
imapsync
43
imapsync
@ -8,7 +8,7 @@ tool. Synchronise mailboxes between two imap servers. Good
|
||||
at IMAP migration. More than 32 different IMAP server softwares
|
||||
supported with success.
|
||||
|
||||
$Revision: 1.219 $
|
||||
$Revision: 1.223 $
|
||||
|
||||
=head1 INSTALL
|
||||
|
||||
@ -241,7 +241,7 @@ Failure stories reported with the following 4 imap servers :
|
||||
- dkimap4 2.39
|
||||
- Imail 7.04 (maybe).
|
||||
|
||||
Success stories reported with the following 32 imap servers
|
||||
Success stories reported with the following 33 imap servers
|
||||
(softwares names are in alphabetic order) :
|
||||
|
||||
- BincImap 1.2.3 (GPL) (http://www.bincimap.org/)
|
||||
@ -259,16 +259,17 @@ Success stories reported with the following 32 imap servers
|
||||
- David Tobit V8 (proprietary Message system).
|
||||
- DBMail 1.2.1, 2.0.4, 2.0.9, 2.2rc1 (GPL) (http://www.dbmail.org/).
|
||||
2.0.7 seems buggy.
|
||||
- Dovecot 0.99.10.4, 0.99.14, 0.99.14-8.fc4, 1.0-0.beta2.7 (LGPL)
|
||||
(http://www.dovecot.org/)
|
||||
- Domino (Notes) 6.5, 5.0.6, 5.0.7, 7.0.2, 6.0.2CF1
|
||||
- Deerfield VisNetic MailServer 5.8.6 [from]
|
||||
- Dovecot 0.99.10.4, 0.99.14, 0.99.14-8.fc4, 1.0-0.beta2.7,
|
||||
1.0.0 [dest] (LGPL) (http://www.dovecot.org/)
|
||||
- Domino (Notes) 6.5, 5.0.6, 5.0.7, 7.0.2, 6.0.2CF1, 7.0.1 [from]
|
||||
- Eudora WorldMail v2
|
||||
- Groupwise IMAP (Novell) 6.x and 7.0. Buggy so see the FAQ.
|
||||
- iPlanet Messaging server 4.15, 5.1, 5.2
|
||||
- IMail 7.15 (Ipswitch/Win2003), 8.12
|
||||
- MDaemon 7.0.1, 8.1, 9.5.4 (Windows server 2003 R2 platform)
|
||||
- Mercury 4.1 (Windows server 2000 platform)
|
||||
- Microsoft Exchange Server 5.5
|
||||
- Microsoft Exchange Server 5.5, 6.5.7638.1 [dest]
|
||||
- Netscape Mail Server 3.6 (Wintel !)
|
||||
- Netscape Messaging Server 4.15 Patch 7
|
||||
- OpenMail IMAP server B.07.00.k0 (Samsung Contact ?)
|
||||
@ -306,7 +307,7 @@ Example :
|
||||
Please rate imapsync at http://freshmeat.net/projects/imapsync/
|
||||
or better give the author a book, he likes books:
|
||||
http://www.amazon.com/gp/registry/wishlist/1C9UNDIH3P7R7/
|
||||
|
||||
(or its paypal account gilles.lamiral@laposte.net)
|
||||
|
||||
=head1 HUGE MIGRATION
|
||||
|
||||
@ -372,7 +373,7 @@ Entries for imapsync:
|
||||
|
||||
Feedback (good or bad) will be always welcome.
|
||||
|
||||
$Id: imapsync,v 1.219 2007/04/04 09:32:20 gilles Exp $
|
||||
$Id: imapsync,v 1.223 2007/06/15 04:08:44 gilles Exp gilles $
|
||||
|
||||
|
||||
|
||||
@ -431,7 +432,7 @@ my(
|
||||
use vars qw ($opt_G); # missing code for this will be option.
|
||||
|
||||
|
||||
$rcs = ' $Id: imapsync,v 1.219 2007/04/04 09:32:20 gilles Exp $ ';
|
||||
$rcs = ' $Id: imapsync,v 1.223 2007/06/15 04:08:44 gilles Exp gilles $ ';
|
||||
$rcs =~ m/,v (\d+\.\d+)/;
|
||||
$VERSION = ($1) ? $1 : "UNKNOWN";
|
||||
|
||||
@ -468,8 +469,8 @@ $error=0;
|
||||
|
||||
my $banner = join("",
|
||||
'$RCSfile: imapsync,v $ ',
|
||||
'$Revision: 1.219 $ ',
|
||||
'$Date: 2007/04/04 09:32:20 $ ',
|
||||
'$Revision: 1.223 $ ',
|
||||
'$Date: 2007/06/15 04:08:44 $ ',
|
||||
"\n",localhost_info(),
|
||||
"Mail::IMAPClient version used here is ",
|
||||
$VERSION_IMAPClient,"\n",
|
||||
@ -558,8 +559,8 @@ print "will try to use $authmech2 authentication on host2\n";
|
||||
$syncacls = (defined($syncacls)) ? $syncacls : 0;
|
||||
$foldersizes = (defined($foldersizes)) ? $foldersizes : 1;
|
||||
|
||||
$fastio1 = (defined($fastio1)) ? $fastio1 : 1;
|
||||
$fastio2 = (defined($fastio2)) ? $fastio2 : 1;
|
||||
$fastio1 = (defined($fastio1)) ? $fastio1 : 0;
|
||||
$fastio2 = (defined($fastio2)) ? $fastio2 : 0;
|
||||
|
||||
|
||||
@useheader = ("ALL") unless (@useheader);
|
||||
@ -1156,13 +1157,17 @@ FOLDER: foreach my $f_fold (@f_folders) {
|
||||
my $d = "";
|
||||
if ($syncinternaldates) {
|
||||
$d = $f_idate;
|
||||
$d = "\"$d\"";
|
||||
$debug and print "internal date from 1: [$d]\n";
|
||||
require Date::Manip;
|
||||
Date::Manip->import(qw(ParseDate Date_Cmp UnixDate));
|
||||
$d = UnixDate(ParseDate($d), "%d %b %Y %H:%M:%S %z");
|
||||
$d = "\"$d\"";
|
||||
$debug and print "internal date from 1: [$d] (fixed)\n";
|
||||
}
|
||||
|
||||
my $flags_f = $f_hash{$m_id}{'F'} || "";
|
||||
# RFC 2060 : This flag can not be altered by any client
|
||||
$flags_f =~ s@\\Recent@@g;
|
||||
$flags_f =~ s@\\Recent@@gi;
|
||||
$flags_f = flags_regex($flags_f) if @regexflag;
|
||||
|
||||
my $new_id;
|
||||
@ -1336,7 +1341,8 @@ sub stats {
|
||||
print "Please, rate imapsync at http://freshmeat.net/projects/imapsync/\n";
|
||||
print "?Happy with this free, open source and gratis GPL software?\n",
|
||||
"Feel free to thank the author by giving him a book:\n",
|
||||
"http://www.amazon.com/gp/registry/wishlist/1C9UNDIH3P7R7/\n";
|
||||
"http://www.amazon.com/gp/registry/wishlist/1C9UNDIH3P7R7/\n",
|
||||
"(or its paypal account gilles.lamiral\@laposte.net)\n";
|
||||
|
||||
|
||||
}
|
||||
@ -1624,8 +1630,8 @@ Several options are mandatory.
|
||||
<int > is the number of messages handled per request.
|
||||
default is like --split1 1000
|
||||
--split2 <int> : same thing on the "destination" server.
|
||||
--nofastio1 : don't use fastio with the "from" server.
|
||||
--nofastio2 : don't use fastio with the "destination" server.
|
||||
--fastio1 : use fastio with the "from" server.
|
||||
--fastio2 : use fastio with the "destination" server.
|
||||
--timeout <int> : imap connect timeout.
|
||||
--help : print this.
|
||||
|
||||
@ -1641,6 +1647,7 @@ $0 \\
|
||||
$rcs
|
||||
imapsync copyleft is the GNU General Public License.
|
||||
See http://www.gnu.org/copyleft/gpl.html
|
||||
http://www.amazon.com/gp/registry/wishlist/1C9UNDIH3P7R7/
|
||||
EOF
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
#! /usr/bin/perl -w
|
||||
#
|
||||
# Author : Jean-Yves Boisiaud
|
||||
#
|
||||
# Outlook (IMAP) manages mail dates from the creation date of the mail
|
||||
# instead of the content of the field 'Date:', included into the mail.
|
||||
# This script modifies the mtime of the mails, according to the 'Date:' field
|
||||
|
26
learn/date_manip
Executable file
26
learn/date_manip
Executable file
@ -0,0 +1,26 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
|
||||
require Date::Manip;
|
||||
|
||||
Date::Manip->import(qw(ParseDate Date_Cmp UnixDate));
|
||||
|
||||
foreach $date_inp ("21-Jan-2004 23:10:58 +0200", "21-Feb-2004 0:14:02 +0200",
|
||||
"15-Oct-2004 23:25:42 +0200", "19-Aug-2005 1:49:08 +0200") {
|
||||
$date_dm = ParseDate($date_inp);
|
||||
$date_un = UnixDate($date_dm, "%g");
|
||||
unless ($date_dm) {
|
||||
print "Error in date [$date_inp]\n";
|
||||
next;
|
||||
}
|
||||
print " $date_inp\n$date_un\n";
|
||||
|
||||
}
|
||||
|
||||
$date1 = ParseDate("21-Feb-2004 0:14:02 +0200");
|
||||
$date2 = ParseDate("21-Feb-2004 00:14:02 +0200");
|
||||
|
||||
print "cmp date1 $date1 date2 $date2 : ", Date_Cmp($date1,$date2), "\n";
|
||||
|
||||
print "UnixDate ", UnixDate($date1, "%g"), "\n";
|
||||
print "UnixDate ", UnixDate(undef, "%g"), "\n";
|
44
tests.sh
44
tests.sh
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $Id: tests.sh,v 1.59 2007/02/02 02:02:08 gilles Exp gilles $
|
||||
# $Id: tests.sh,v 1.61 2007/06/15 04:06:58 gilles Exp gilles $
|
||||
|
||||
#### Shell pragmas
|
||||
|
||||
@ -801,6 +801,48 @@ perl -I bugs/lib ./imapsync \
|
||||
|
||||
}
|
||||
|
||||
mailenable() {
|
||||
./imapsync \
|
||||
--user1 imapsync@damashekconsulting.com \
|
||||
--host1 imap.damashekconsulting.com \
|
||||
--passfile1 /var/tmp/secret.damashek \
|
||||
--sep1 "." --prefix1 "" \
|
||||
--host2 localhost --user2 toto@est.belle \
|
||||
--passfile2 /var/tmp/secret1 \
|
||||
--noauthmd5
|
||||
}
|
||||
|
||||
ariasolutions() {
|
||||
./imapsync \
|
||||
--host1 209.17.174.20 \
|
||||
--user1 chrisw@canadapack.com \
|
||||
--passfile1 /var/tmp/secret.ariasolutions \
|
||||
--host2 209.17.174.20 \
|
||||
--user2 chrisw@canadapack.com \
|
||||
--passfile2 /var/tmp/secret.ariasolutions \
|
||||
--dry --noauthmd5 --justfoldersizes
|
||||
|
||||
./imapsync \
|
||||
--host1 209.17.174.20 \
|
||||
--user1 test@domain.local \
|
||||
--passfile1 /var/tmp/secret.ariasolutions \
|
||||
--host2 209.17.174.20 \
|
||||
--user2 test@domain.local \
|
||||
--passfile2 /var/tmp/secret.ariasolutions \
|
||||
--dry --noauthmd5 --ssl1
|
||||
|
||||
# hang after auth failure
|
||||
./imapsync \
|
||||
--host1 209.17.174.20 \
|
||||
--user1 test@domain.local \
|
||||
--passfile1 /var/tmp/secret.ariasolutions \
|
||||
--host2 209.17.174.20 \
|
||||
--user2 test@domain.local \
|
||||
--passfile2 /var/tmp/secret.ariasolutions \
|
||||
--dry --debug --debugimap
|
||||
|
||||
}
|
||||
|
||||
##########################
|
||||
##########################
|
||||
|
||||
|
@ -1,47 +0,0 @@
|
||||
Return-Path: <www-data@mail-relay-outgoing.prod.imvu.com>
|
||||
Delivered-To: paulwoods@blastbeat.org
|
||||
Received: (qmail 5807 invoked by uid 512); 26 Nov 2006 01:29:43 +0000
|
||||
Received: from 208.64.184.229 by server2.rushedsunlight.com (envelope-from <www-data@mail-relay-outgoing.prod.imvu.com>, uid 514) with qmail-scanner-1.24-st-qms
|
||||
(clamdscan: 0.85.1/889. spamassassin: 3.0.4. perlscan: 1.24-st-qms.
|
||||
Clear:RC:0(208.64.184.229):SA:0(-0.7/2.0):.
|
||||
Processed in 4.151186 secs); 26 Nov 2006 01:29:43 -0000
|
||||
X-Spam-Status: No, hits=-0.7 required=2.0
|
||||
X-Antivirus-RSLW-Mail-From: www-data@mail-relay-outgoing.prod.imvu.com via server2.rushedsunlight.com
|
||||
X-Antivirus-RSLW: 1.24-st-qms (Clear:RC:0(208.64.184.229):SA:0(-0.7/2.0):. Processed in 4.151186 secs Process 5771)
|
||||
Received: from prod-mail-relay-06.imvu.com (HELO mail-relay-outgoing.prod.imvu.com) (208.64.184.229)
|
||||
by email1.rslw.com with SMTP; 26 Nov 2006 01:29:39 +0000
|
||||
Received: from AF001161.prod.imvu.com (unknown [10.5.4.137])
|
||||
by mail-relay-outgoing.prod.imvu.com (Postfix) with ESMTP id 7A018140291E8
|
||||
for <paulwoods@blastbeat.org>; Sat, 25 Nov 2006 17:21:18 -0800 (PST)
|
||||
Received: from AF001161.prod.imvu.com (localhost [127.0.0.1])
|
||||
by AF001161.prod.imvu.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id kAQ1LIV0015006
|
||||
for <paulwoods@blastbeat.org>; Sat, 25 Nov 2006 17:21:18 -0800
|
||||
Received: (from www-data@localhost)
|
||||
by AF001161.prod.imvu.com (8.13.4/8.13.4/Submit) id kAQ1LIEt015005;
|
||||
Sat, 25 Nov 2006 17:21:18 -0800
|
||||
Date: Sat, 25 Nov 2006 17:21:18 -0800
|
||||
Message-Id: <200611260121.kAQ1LIEt015005@AF001161.prod.imvu.com>
|
||||
To: "paulwoods@blastbeat.org" <paulwoods@blastbeat.org>
|
||||
Subject: smugz182@hotmail.com wants to 3D IM w/ you on IMVU
|
||||
From: "MisterMagooo" <smugz182@hotmail.com>
|
||||
MIME-Version: 1.0
|
||||
X-Mailer: osCommerce Mailer
|
||||
Content-Type: multipart/alternative;
|
||||
boundary="=_76259bbeb72fb7f8f369967bb24140f4"
|
||||
|
||||
|
||||
--=_76259bbeb72fb7f8f369967bb24140f4
|
||||
Content-Type: text/plain; charset="iso-8859-1"
|
||||
Content-Transfer-Encoding: 7bit
|
||||
|
||||
MisterMagooo (smugz182@hotmail.com) has sent you this invitation to chat in 3D. Hi, Download this its sweet!! IMVU is a FREE 3D instant messaging software download. It's an easy way to chat with friends and meet new people. Build a customized, animated 3D identity from over 200,000 user created options. Decorate your Avatar home page with stickers and powerful editing tools. Have fun exploring cool 3D locations and animating your avatar! It's free, and doesn't take long to set up. Sign up now! If you have questions about IMVU or would like to contact us, please visit our website http://www.imvu.com Your buddy MisterMagooo (smugz182@hotmail.com) has invited you to chat in 3D! IMVU is the worlds greatest 3D instant messenger! Get IMVU now! You are receiving this email because someone who knows you sent you an invitation to join them on imvu.com. If you want to prevent any future e-mail from IMVU, you can remove yourself from by pointing your web browser to http://www.imvu.com/catalog/web_nonregisteredoptout.php?code=9b68d8&email=paulwoods@blastbeat.org. Your opt-out confirmation code is 9b68d8
|
||||
--=_76259bbeb72fb7f8f369967bb24140f4
|
||||
Content-Type: text/html; charset="iso-8859-1"
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
|
||||
<font face=3D"Verdana" size=3D"2"> MisterMagooo (smugz182@hotmail.com) has=
|
||||
sent you this invitation to chat in 3D. <p> Hi, Download this its sweet=
|
||||
!! <p> IMVU is a FREE 3D instant messaging software download.<br> It's=
|
||||
an easy way to chat with friends and meet new people.<br> Build a customi=
|
||||
zed, animated 3D identity from over 200,000 user created options.<br> Deco=
|
||||
rate your Avatar hom
|
@ -1,99 +0,0 @@
|
||||
Return-Path: <owner-nolist-seg80167*paulwoods**blastbeat*-org@ntls.digitalriver.com>
|
||||
X-Original-To: paulwoods@blastbeat.org
|
||||
Delivered-To: paulwoods@blastbeat.org
|
||||
Received: from localhost (localhost.localdomain [127.0.0.1])
|
||||
by layer2.rslw.com (Postfix) with ESMTP id C63E395400E
|
||||
for <paulwoods@blastbeat.org>; Thu, 8 Mar 2007 13:53:28 +0000 (GMT)
|
||||
Received: from layer2.rslw.com ([127.0.0.1])
|
||||
by localhost (layer2.rslw.com [127.0.0.1]) (amavisd-new, port 10024)
|
||||
with ESMTP id 25475-06 for <paulwoods@blastbeat.org>;
|
||||
Thu, 8 Mar 2007 13:53:12 +0000 (GMT)
|
||||
Received: from dc1img05.digitalriver.com (localhost.localdomain [127.0.0.1])
|
||||
by layer2.rslw.com (Postfix) with ESMTP id 3131895400B
|
||||
for <paulwoods@blastbeat.org>; Thu, 8 Mar 2007 13:53:11 +0000 (GMT)
|
||||
Received: from 66.192.69.6 ([66.192.69.6] helo=dc1img05.digitalriver.com)
|
||||
by ASSP.nospam; 8 Mar 2007 13:53:11 +0000
|
||||
Date: 08 Mar 2007 07:44:21 -0600
|
||||
From: "Allume Systems - A Smith Micro Company" <AllumeSystems@reply.digitalriver.com>
|
||||
X-Complaints-to: abuse@digitalriver.com
|
||||
To: "Paul" <paulwoods@blastbeat.org>
|
||||
Reply-To: "Allume Systems - A Smith Micro Company" <AllumeSystems@reply.digitalriver.com>
|
||||
Message-ID: <17392.Reply.80167.202005833@dc1img01.digitalriver.com>
|
||||
Subject: Special Offer - Trend Micro Internet Security 2007 - Save 15%
|
||||
X-MID: 1839-rgd2fz7bz7iijdru3
|
||||
MIME-Version: 1.0
|
||||
Content-Type: multipart/alternative; boundary="------------06986E0E1E196312E032AFBC"
|
||||
X-Assp-Received-SPF: neutral (ASSP.nospam: local policy) client-ip=66.192.69.6;
|
||||
envelope-from=owner-nolist-seg80167*paulwoods**blastbeat*-org@ntls.digitalriver.com;
|
||||
helo=dc1img05.digitalriver.com;
|
||||
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at localhost
|
||||
|
||||
This is a multi-part message in MIME format. If you can see this
|
||||
message, perhaps your mail reader doesn't support MIME. You should
|
||||
still be able to see the text version of the e-mail message, which
|
||||
follows below.
|
||||
|
||||
Unsubscribe: http://www.digitalriver.com/v2.0-bin/ecm/opt-out?uid=rgd2fz7bz7iijdru3
|
||||
|
||||
--------------06986E0E1E196312E032AFBC
|
||||
Content-Type: text/plain; charset=windows-1252; format=flowed
|
||||
Content-Transfer-Encoding: 8bit
|
||||
Content-Disposition: inline
|
||||
Content-Description: text-format
|
||||
|
||||
Dear Valued Customer,
|
||||
|
||||
Smith Micro has partnered with Trend Micro to offer you the newest
|
||||
Trend Micro Internet Security 2007 an exclusive discount of 15%!
|
||||
|
||||
INSTALL TREND MICRO INTERNET SECURITY 2007 ON UP TO 3PC's!
|
||||
|
||||
|
||||
BUY NOW: 1 year license - ONLY $42.50 instead of $49.95
|
||||
http://www.digitalriver.com/promo=176952
|
||||
|
||||
|
||||
BUY NOW: 2 year license - ONLY $72.20 instead of $84.95
|
||||
http://www.digitalriver.com/promo=176953
|
||||
|
||||
BUY NOW: 3 year license - ONLY $101.95 instead of $119.95
|
||||
http://www.digitalriver.com/promo=176954
|
||||
|
||||
As a Smith Micro customer you know not to take internet security lightly.
|
||||
Online menaces and internet threats constantly evolve. You need to be free
|
||||
to do what you want, and have the confidence Trend Micro Internet Security 2007
|
||||
provides, with advances in both identity theft protection, superior threat
|
||||
protection and Virus detection.
|
||||
|
||||
Trend Micro Internet Security users also receive access to the latest online
|
||||
services and software through the new TrendSecure online security portal.
|
||||
|
||||
Don't wait any longer, purchase Trend Internet Security 2007 now to receive
|
||||
your exclusive discount!
|
||||
|
||||
|
||||
|
||||
Kind regards,
|
||||
|
||||
Jonathan Kahn,
|
||||
Smith Micro Software
|
||||
|
||||
|
||||
This email was sent to: paulwoods@blastbeat.org
|
||||
|
||||
We value your privacy. If you would prefer not to receive our news
|
||||
and special offers in the future, please click here:
|
||||
http://www.digitalriver.com/v2.0-bin/ecm/opt-out?uid=rgd2fz7bz7iijdru3
|
||||
|
||||
Alternately, you may reply to this email for assistance.
|
||||
For offline assistance, please contact us at
|
||||
Customer Service/Allume Systems unsubscribe request,
|
||||
9625 West 76th Street, Suite 150, Eden Prairie, MN 55344
|
||||
|
||||
|
||||
|
||||
--------------06986E0E1E196312E032AFBC
|
||||
Content-Type: text/html; charset=windows-1252; format=flowed
|
||||
Content-Transfer-Encoding: 8bit
|
||||
Content-Disposition: inline
|
||||
Content-Description: htm
|
@ -1,11 +0,0 @@
|
||||
Return-Path: <gilles@louloutte.dyndns.org>
|
||||
Received: by louloutte.dyndns.org (Postfix, from userid 1000)
|
||||
id 4AB81FBC7; Mon, 28 Nov 2005 02:02:33 +0100 (CET)
|
||||
To: tata@louloutte.dyndns.org
|
||||
Subject: test:zajahzuushacemie
|
||||
Message-Id: <20051128010233.4AB81FBC7@louloutte.dyndns.org>
|
||||
Date: Mon, 28 Nov 2005 02:02:33 +0100 (CET)
|
||||
From: gilles@louloutte.dyndns.org (Gilles Lamiral)
|
||||
|
||||
test:zajahzuushacemie
|
||||
|
Loading…
Reference in New Issue
Block a user