!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/usr/share/doc/dovecot-core/wiki/   drwxr-xr-x
Free 1.44 GB of 7.22 GB (19.93%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Migration.Vm-pop3d.txt (1.75 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Vm-pop3d
========

*WARNING: Badly done migration will cause your IMAP and/or POP3 clients to
re-download all mails. Read <Migration.txt> page first carefully.*

Vm-pop3d uses the Message-ID: header data for UIDL, Dovecot does not support
this as it is not unique enough. The following Perl script will take the
Message-ID: data from all mails in a mbox and put the data into the X-UIDL:
header which Dovecot can use with the 'pop3_reuse_xuidl' setting:

---%<-------------------------------------------------------------------------
#!/usr/bin/env perl
use Email::Simple;
my @totalmail=<STDIN>;
my $mail = join("",@totalmail);
my $email = Email::Simple->new($mail);
my $msg_id = $email->header("Message-Id");
$msg_id =~ s#<##g;
$msg_id =~ s#>##g;
$email->header_set("X-UIDL", $msg_id);
print $email->as_string;
---%<-------------------------------------------------------------------------

Requires email::simple, though the default setting in email::simple is to wrap
headers at 77 characters, which then causes problems when Outlook clients issue
UIDL, the workaround for this is to edit the Perl module, on Debian Etch this
involves editing '/usr/share/perl5/Email/Simple.pm', find "sub _fold" and
change {0,77} to a suitably higher value. On more recent versions of
email::simple, you may need to edit 'Headers.pm' instead, with the line to look
for being "_default_fold_at"

You then run the script like so:

---%<-------------------------------------------------------------------------
formail -q- -s perl script.pl < inbox > newinbox
---%<-------------------------------------------------------------------------

When Dovecot now looks at newinbox, it will use the X-UIDL: header and clients
will not redownload mail.

(This file was created from the wiki on 2013-11-24 04:42)

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0371 ]--