HmcMapiListener service will not start, stuck in 'starting'

Version 1

    Details

    The machine running the HEAT Messaging Center experienced a problem over the weekend and services had stopped.
    Upon restarting the machine the HmcMapiListener service never fully started and emails were no longer processed.



    Resolution

    The solution to this problem required two separate steps:
    1. Recreate the HmcMapiListener.dll config file:
      - Disable and stop the HmcMapiListener service
      - Launch the HMC application interface, right-click on the Mapi source and delete it
      - Restart the HmcMapiListener service
      - Re-add and configure the Mapi source in HMC

    2. In this case the Mail profile on the machine seemed to have been corrupted as well.
      - From Control Panel > Mail (32-bit) re-create the MAPI Profile under a new name and set to default.
      - Restart the HmcMapiListener service
      - Launch the HMC application interface, right-click on the Mapi source, select the new mail profile from the dropdown
      - save and restart the HmcMapiListener service