I have two Debian 11 boxes with cron and postfix installed. Both seem to have the exact same config (but probably not) and one of them does deliver cron output to the correct /var/mail/user file and the other seems to do nothing with the output.
I find it difficult to search for solutions as most people seem to have problems with mailing to external addresses while I just want it in /var/mail/user.
Both work fine if I run something like echo hi | mail user
.
How can I debug this? What could be the cause of it?