nnmail-message-id-cache-file

nnmail-message-id-cache-file is a variable defined in `nnmail.el'.
Its value is
"~/.nnmail-cache"


Documentation:
The file name of the nnmail Message-ID cache.

You can customize this variable.