To create a test email server, I have a similar requirement as:
How to redirect all outgoing email from postfix to a single address for testing
But I need to send all the emails to an external account, not a local one.
I would like to do something like:
but xyz is not local nor smtp.