[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange Error Message: script/imapsync line 2523


From Andrew Healey <andrewh at isoutsource dot com>
Subject Strange Error Message: script/imapsync line 2523
Date Mon, 23 May 2011 22:53:22 -0700

I'm running 1.434 on Windows Server 2008 to migrate from Oracle Beehive to Exchange 2010 SP1.  Everything seems to be working great.  However, I just got this error.

---------------- ERROR -------------------
Argument "" isn't numeric in numeric ge (>=) at script/imapsync line 2523.
- msg Sent Items/606 {0} S[] F[\Seen] I[15-Oct-2010 14:02:05 -0700] could not be fetched:
--------------- END ERROR ----------------

The script I developed to run imapsync captures all the output to a log file for each user.  It shows this in the log file:

---------------- ERROR -------------------
- msg Sent Items/606 S[] F[\Seen] I[15-Oct-2010 14:02:05 -0700] has RFC822.SIZE null!
--------------- END ERROR ----------------

Execution continued and seemed to complete fine.  I'm wondering if it has something to do with my regexflag...

Command:

imapsync \
	--noreleasecheck \
	--buffersize 8192000 \
	--noauthmd5 \
	--host1 host1  \
	--user1 BeehiveUser  \
	--password1  PWCHANGED  \
	--authmech1 PLAIN \
	--sep1 "/"  \
	--prefix1 ""  \
	--host2 host2  \
	--authuser2 authuser2  \
	--user2 WindowsUser  \
	--domain2 WindowsDomain  \
	--password2  PWCHANGED  \
	--authmech2 PLAIN \
	--nofoldersizes \
	--nosyncacls \
	--useheader "Message-ID"  \
	--regexmess "s{\A(.*?(?!^$))^Date:(.*?)$}{$1Date: $2\nReceived: From XXXX by imapsync; $2}gxms" \
	--regexflag "s/.*?(?:(\\(?:Answered|Flagged|Deleted|Seen|Draft)\s?)|$)/defined($1)?$1:q()/eg" \
	--exclude "Trash|Junk E-mail|RSS Feeds|Journal Archive|Public Documents|Documents|Spam" \
	--skipsize \
	--usecache \
	--noexpunge \
	--allowsizemismatch \
	--maxsize 100000000 \
	--timeout 6000 \
	--fast

Cheers!

Andrew