Kompx.com or Compmiscellanea.com

Imapsync IMAP migration under Windows

Operating systems : Windows

Migrating an IMAP e-mail box from one IMAP server to another under Windows [ 1 ] [ 2 ] by means of imapsync:

  • Copying an e-mail box with all its contents and keeping its folder structure;
  • The e-mail box is hosted at a web hosting company's server and transfered to a common Yandex Mail (not Yandex Mail for Domain);
  • Both IMAP servers support SSL.
  • The process is done in three steps: test run, migrating folder structure, migrating e-mails.

Test run

Content of imapsync-test.bat:


.\imapsync.exe ^
	--host1 imap.domain.ru --user1 email1@domain.ru --password1 "password1" ^
	--host2 imap.yandex.ru --user2 email2@yandex.ru --password2 "password2" ^
	--ssl1 --ssl2 --sslargs1 SSL_verify_mode=0 --sslargs2 SSL_verify_mode=1 ^
	--skipheader "^(?!Message-Id)" ^
	--automap ^
	--regextrans2 "s/^INBOX\.(.+)/$1/" ^
	--addheader ^
	--justfolders ^
	--dry
@PAUSE

Note: the caret character ( ^ ) at the end of line means "this command continues on the next line". It allows to break long command with many options into several parts to put them in several lines for better readability.

This step is meant for testing if imapsync may be run at all, if it can connect to both e-mail boxes and can read the basic structure of the first one. Imapsync runs without actually doing anything, just printing what would have been done without the --dry option. Adding --justfolders is to make testing faster, as imapsync does its job only for folders then.

A log file with full details for each run is placed into the LOG_imapsync folder.

Migrating folder structure

Content of imapsync-folders.bat:


.\imapsync.exe ^
	--host1 imap.domain.ru --user1 email1@domain.ru --password1 "password1" ^
	--host2 imap.yandex.ru --user2 email2@yandex.ru --password2 "password2" ^
	--ssl1 --ssl2 --sslargs1 SSL_verify_mode=0 --sslargs2 SSL_verify_mode=1 ^
	--skipheader "^(?!Message-Id)" ^
	--automap ^
	--regextrans2 "s/^INBOX\.(.+)/$1/" ^
	--addheader ^
	--justfolders
@PAUSE

This step reproduces the folder structure of the e-mail box being migrated in the one it is being migrated to.

Migrating e-mails

Content of imapsync-emails.bat:


.\imapsync.exe ^
	--host1 imap.domain.ru --user1 email1@domain.ru --password1 "password1" ^
	--host2 imap.yandex.ru --user2 email2@yandex.ru --password2 "password2" ^
	--ssl1 --ssl2 --sslargs1 SSL_verify_mode=0 --sslargs2 SSL_verify_mode=1 ^
	--skipheader "^(?!Message-Id)" ^
	--automap ^
	--regextrans2 "s/^INBOX\.(.+)/$1/" ^
	--addheader
@PAUSE

Now e-mails are being copied. If the size of an e-mail with attachment(s) is larger than it is allowed (for Yandex Mail it is not more than 30 megabytes - source), then this particular message is not going to be migrated and there is to be an error mentioned in the log file.


[ 1 ]

Tested under Windows 7.

[ 2 ]

Imapsync IMAP migration under Linux: Imapsync. IMAP migration.


Aliosque subditos et thema

 

Float bottom

 

There is no "float: bottom" in CSS, but there is a way to achieve it by some other means. Example: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Link 1 Link 2 Link 3 Float bottom HTML / XHTML. Code: <div class="box1"> <div class="content1"> <div class="left1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div> <div class="menu1"> <p><a href="#">Link 1</a></p> <p><a href="#">Link 2</a></p> <p><a href="#">Link 3</a></p> </div> </div> <div class="bottom1">Float bottom</div> </div> CSS. Code: .box1 {position: relative; top: 0px; left: 0px; float: left; height: auto; width: 100%;} .content1 {position: relative; top: 0px; left: 0px; float: left; height: auto; width: 100%;} .left1 {position: relative; top: 0px; left: 0px; float: left; height: auto; width: 64%;} .menu1 {position: relative; top: 0px; left: 0px; float: left; height: auto; width: 36%;} .bottom1 {position: absolute; bottom: 0px; right: 0px;} /* Extra CSS, just styling the look */ .box1 {color: #ddd; text-align: center;} .content1 {background: #bbb;} .left1 {min-height: 100px; padding: 2%; text-align: justify; background: #006; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box;} .menu1 {padding: 2%; float: right; background: #060; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box;} .menu1 p {position: relative; top: 0px; left: 0px; float: left; height: auto; width: 100%; padding: 0px; margin: 0px;} .menu1 a {color: #ddd; text-decoration: none;} .menu1 a:hover {text-decoration: underline;} .bottom1 {padding: 2%; color: #eee; background: #600;} There is a web page with a div box, containing its content - box1. There are two div boxes inside it: 1. "content1" with the content proper on the left and menu on the right. 2. "bottom1" after the content1.

Internet Explorer 3

 

Features : Screenshots : Download links World Wide Web service with its online experience like hypertext links, surfing, web pages as a combination of text and images / multimedia brought Internet to general public. As to general public, it all very much revolves around the web browser. The first web browser ever, WorldWideWeb (later renamed Nexus) had many of the features later to be considered as standard for web browsers, but it was an experiment, accessible and known to very few. The rest of users might expect more likely only a text-mode interface experience through a text-based web browsers like Line Mode Browser. The turning point for the World Wide Web and all Internet was the advent of Mosaic, a graphical web browser, in 1993. First for Unix and then for Apple Macintosh and Microsoft Windows. Mosaic was not the first web browser for Windows though and it could not supersede Cello, the first and initially the only web browser for Windows. Microsoft Windows was the fastest growing major platform for PC in the first half of 1990s. But Microsoft did not seem to recognize the importance of the web browser then. So the main competition under Windows at that time was among several versions of Mosaic and Cello. This competition gave birth to Netscape web browser, which became the dominant software of its kind for several years. This success and great public attention attracted by World Wide Web by 1995 made Microsoft to join in the efforts. Internet Explorer 1 was just a first experiment. Internet Explorer 2 was intended to push the Internet Explorer case - it was made available to all Windows users for free, even commercial companies. But Netscape positions were not much undermined, Internet Explorer 2 being distinctly weaker in many features is among the reasons for that. Only after the release of Internet Explorer 3.0 Microsoft browsers began to close Netscape in qualities. Internet Explorer 3 was not the first Microsoft attempt to find technical and marketing model like were Internet Explorers of 1 and 2. And it was not the first Microsoft modern web browser, the first for Microsoft to beat and surpass Netscape and all other web browser competitors like Internet Explorer 4 was. But Internet Explorer 3 still was the first in some things: the first commercial browser with Cascading Style Sheets / CSS support, the first Microsoft web browser without Spyglass source code and the first Microsoft web browser to gain a significant user share, 20-39% by the end of 1997 [ 1 ]. Still, Internet Explorer 3 was a transitional, intermediate piece of software between the early browsers and the modern ones. As to its modern state, there is an interesting detail: Internet Explorer 3 can run under 32-bit Windows 7, unlike generally the 4.0-6.0 Explorers. Features HTML (with tables and frames) support is quite strong ( More ), Internet Explorer 3 lets some HTML tricks to be used without extra strain, like "HTML table borders without CSS". CSS support in Internet Explorer 3 is weak ( More 1 ) ( More 2 ). Internet Explorer 3 also supports VBScript, ActiveX (more than 1,000 Controls), Java applets, inline multimedia, VRML and a Microsoft's reverse-engineered version of JavaScript named JScript. All of the versions and capabilities corresponding to the level of the times. Internet Explorer 3 was released for several platforms: x86(16/32 bit), 68k, PPC, MIPS, Alpha AXP. And several operating systems: Windows 3.1, Windows 95, Windows NT, System 7 / Mac OS 7, Mac OS 8.