mail command fails if the pipes in the fifofs opened/closed so far is more than UINT32_MAX.
The result is that mail command's fstat returns E_OVERFLOW. The mail command needs to be compiled with largefile compliance.
To demonstrate the problem, one can write a program to continuously open and close a pipe, untill stat_buf.st_ino for the pipe overflows the 32 bit value.