Mailmbox: fix buffer overflow in mailimf_get_message_id().
The compiler warning was:
mailimf_types_helper.c: In function ‘mailimf_get_message_id’:
mailimf_types_helper.c:1270:51: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size between 463 and 500 [-Wformat-truncation=]
snprintf(id, MAX_MESSAGE_ID, "etPan.%llx.%lx.%x@%s",
^~
(long long)now, value, getpid(), name);
~~~~
mailimf_types_helper.c:1270:3: note: ‘snprintf’ output between 13 and 561 bytes into a destination of size 512
snprintf(id, MAX_MESSAGE_ID, "etPan.%llx.%lx.%x@%s",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(long long)now, value, getpid(), name);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~