> For debugging these types of configurations, it's often quite illuminating to
> trace expand and lookup (smtpd -F -T expand -T lookup).
This advice allowed me to solve the problem myself, thank you Mr. McFarlane.
For anyone that wants to know, the solution was to change the aliases to:
tabl
> Strangely it does work if I send mail to "john...@example.com"
This, I think, is the smoking gun. When you send mail to yourself, it matches
the "accept for local" rule rather than the "accept from any for domain" rule,
so the expansion is based on "alias " rather than "virtual ".
My stab in
I have set up a new instance of OpenSMTPD 6.0.3-portable (the packaged version
on Ubuntu 18.04) servicing the same end user on two domains, with two inboxes.
The problem arises when I try to send an email to myself
"johnsm...@example.com" to "johnsm...@example.com". I get an Invalid Recipient
e