I've got a situation which doesn't seem all that unusual, but I can't figure out how to properly set it up with OpenSMTPd on OpenBSD 7.0-release. I need to receive email from anywhere to my local users (most, but not all, of whom should not have accounts on the mailserver) and relay email from any local system to anywhere. Incoming mail for my local users should be saved to /var/virtual/<user>/Maildir (all owned by one special user) for pickup via pop3 or imap.
Due to a power failure frying my old mailserver, I've switched from sendmail to OpenSMTPd in a hurry and, while I've got this sort-of working, there are some problems (e.g., I had to temporarily add accounts on the mailserver for users who didn't have them in order for them to receive mail). Either I'm not thinking clearly (which is certainly possible) or there is important information which is missing or obscure in the smtpd.conf manpage. The 'listen on' and 'match' sections seem pretty clear (though a more explicit explanation of how 'transaction options' for 'match' differ from its other options would be good) but how some of the options to 'action' interact is murky at best. In particular, the interactions among 'alias', 'userbase', and 'virtual' are not obvious to me, as is exactly what 'userbase' does (though the manpage for table(5) helps.). A brief descripton of how messages for local delivery are processed would be helpful. Also, 'postmaster', and several other names listed in RFC 2142, are supposed to always be processed case-insensitively; I don't see any mention of what, if anything, is done about this. Even if nothing is done an explicit statement to that effect would be useful. Thanks for any help, Dave -- Dave Anderson <d...@daveanderson.com>