tree: dcfe418528278bee3c1ec5b672987ef83259c73b [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.md
server/protocols/webadmin/webadmin-pop3/README.md

Pop3 fix inconsistencies

We introduced an additional webadmin endpoint allowing fixing possible inconsistencies.

In order to run this task:

curl -XPOST 'http://ip:port/mailboxes?task=fixPop3Inconsistencies'

Will schedule a task for deleting stale and inserting missing POP3 meta data entries.

More details about endpoints returning a task.

The scheduled task will have the following type Pop3MetaDataFixInconsistenciesTask and the following additionalInformation:

{
    "type": "Pop3MetaDataFixInconsistenciesTask",
    "runningOptions": {
        "messagesPerSecond": 100
    },
    "processedImapUidEntries": 0,
    "processedPop3MetaDataStoreEntries": 1,
    "stalePOP3Entries": 1,
    "missingPOP3Entries": 0,
    "fixedInconsistencies": [
        {
            "mailboxId": "6fdae960-c72f-11eb-9b1d-973b9140e460",
            "messageId": "6ffca230-c72f-11eb-9b1d-973b9140e460"
        }
    ],
    "errors": [
        {
            "mailboxId": "7fdae960-c72f-11eb-9b1d-973b9140e460",
            "messageId": "7fdae960-c72f-11eb-2222-973b9140e460"
        }
    ]
}