I need to setup a mail server with a bit unusual requirements:
- OpenBSD is a must. Probably latest version, 7.2.
- All mails have to be stored in aa Mailbox file located in user's home directory.
Well, it does not look difficult, as I did it before using other systems. But I used Postfix for this task, as I'm quite familiar with it and I just like Postfix.
Taking OpenBSD's top security into account, I started to consider using default MTA (sendmail) instead of Postfix (and this is an opportunity to get familiar with OpenBSD too, as I have no previous experiences with it), but I didn't found a simple solution. I know I can setup mail.local to put mails into Mailbox files, but in /var/mail/user. I did not find any option to store mails in users' home directories.
Could you please tell me, do I miss something obvious? Assuming I do, is it reasonable to configure default MTA for this task, or using Postfix is acceptable/recommended? Or maybe any other MTA is generally better for such purposes and this particular operating system?
Thank you in advance!