Yes it can. However,
By default, when connecting to a remote server, smtpd(8) advertises its default
server name. A hostname parameter may be specified to advertise the alternate
hostname name. If the source parameter is used, the hostnames parameter may be
specified to advertise a hostname
After some experimentation I think I can compress this problem down to one
question:
Is it possible for an OpenSMTPD host to process email addressed to two
different host names, both of which resolve to the same address?
When I set "mailname," any mail sent to that name works fine. Mail