]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/IMAPD.pm
imap: omit $UID_END from mailbox name, use index
[public-inbox.git] / lib / PublicInbox / IMAPD.pm
index 6488dc0f3bcbedbdd49fbcd6d2c9580e6f56e533..261d756042fbf7ee2856e486d11e28c46b3202e4 100644 (file)
@@ -31,7 +31,7 @@ sub imapd_refresh_ibx { # pi_config->each_inbox cb
                        join(', ', @$ngname). "\n";
                return;
        } elsif ($ngname =~ m![^a-z0-9/_\.\-\~\@\+\=:]! ||
-                $ngname =~ /\.[0-9]+-[0-9]+\z/) {
+                $ngname =~ /\.[0-9]+\z/) {
                warn "mailbox name invalid: newsgroup=`$ngname'\n";
                return;
        }