?¡ëPNG  IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À? ¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/user1137782/www/china1.by/classwithtostring.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
Teapop 0.3.8 ============ *WARNING: Badly done migration will cause your IMAP and/or POP3 clients to re-download all mails. Read page first carefully.* First at all sorry for my bad English. At work I had to migrate our existing teapop/mbox setup to Dovecot/Maildir without change the UIDL. At first I think I must set the option pop3_uidl_format to %Mf. But this doesn't work because Teapop use different algorithm. So the only way I found was to set the X-UIDL in the mbox and then use the mb2md script. My Co-worker Robert (many thanks for programming the script) and I use the following script: ---%<------------------------------------------------------------------------- #!/usr/bin/perl use Digest::MD5; $context = Digest::MD5->new; $gotmail = 0; $counter = 1; @mail = (); while (<>) { $line = $_; if(/^From /) { if ($gotmail) { processMail (); $counter++; $context->reset(); @mail = (); } $gotmail = 1; } push (@mail, $line); next if ($line =~ /^(Status|X-Status|Lines|Content-Length): /); $context->add($line); } if ($gotmail) { processMail (); } else { print STDERR "Mailbox is empty!\n"; } sub processMail () { if ($#mail > 2) { print shift(@mail); print shift(@mail); print "X-UIDL: " . $context->hexdigest() . "\n"; foreach $l (@mail) { print $l; } } else { print STDERR "Email has less then 3 lines!\n"; } } ---%<------------------------------------------------------------------------- Usage: scriptname $mboxfile > $newbox The script read the mbox file and generate the MD5 sum, if the line don't start with Status,X-Status,Lines and Content-Length, for each mail and insert the X-UIDL: after the Return-Path line. After that you can use the mb2md script.Important: You must set the 'pop3_reuse_xuidl=yes'. (This file was created from the wiki on 2011-01-13 04:52)