Current_A_B.ids and Previous_A_B.ids

To avoid retrieving duplicate messages when a POP3 or IMAP session is abnormally terminated, the unique message-ids associated with each processed message are stored (to keep track of previously retrieved messages) in two files with the naming conventions Current_A_B.ids and Previous_A_B.ids where:

  • A is the POP3 or IMAP server name.

  • B is the POP3 or IMAP account name.

The Current index file stores all the message IDs that are passed to the Communications Inbound Receiver for workflow processing in the current POP3 or IMAP session. If the session terminates abnormally, then the quit command is not executed and the delete commands for the current session are not executed. To avoid re-retrieving the messages from the previous session, the driver checks for a Current index file on startup, and if this file exists, then it is appended to the Previous index file. Before a message is retrieved from the POP3 or IMAP server, the Previous index file is checked to see whether that message is already processed.

You can delete these files, but if a POP3 or IMAP session terminates abnormally and you delete these files, then messages with a POP3 Batch Size less 1 might be duplicated. These files never are large because they are erased each time a POP3 or IMAP session terminates normally. In addition, they are never larger than a certain number of bytes (POP3 Batch Size multiplied by 128).