Displaying 1 result from an estimated 1 matches for "pop3_hdr".
2020 May 08
0
courier-dovecot-migrate.pl and courier-5: UTF-8 flag
...format
version (v2 to v3).
--- courier-dovecot-migrate.pl.orig 2012-07-28 17:14:20.000000000 +0000
+++ courier-dovecot-migrate.pl 2020-05-08 09:54:53.249214022 +0000
@@ -170,8 +170,9 @@
my $pop3_fname = "$dir/$courier_pop3_uidfile";
open( $f, $pop3_fname ) || die $!;
my $pop3_hdr = <$f>;
- if ( $pop3_hdr =~ /^\/2 (\d+) (\d+)$/ ) {
+ if ( $pop3_hdr =~ /^\/[23] (\d+) (\d+)$/ ) {
# /2 <next uid> <uidvalidity>
+ # /3 <next uid> <uidvalidity>
$_ = <$f>;
}
elsif ( $pop3_hdr =~ /^\/1 (\d+)$/ ) {
@@ -193,9...