I'm running a number of virtual servers using vagrant on my computer. This is working well.
I have installed Postfix to send SMTP inside these virtual servers.
But what I want to do is have Postfix send the SMTP to my "real" computer (that the virtual servers are running on), so it can capture the SMTP and display the email for debugging. I currently use smtp4dev to do this, where it can listen to a specific IP and port.
I've tried changing all sorts of things in /etc/postfix/main.cf, including changing various relayhost, mydetination and mynetworks to see if I can 'trick' the virtual smtp server to send it to my "real" computer - but no luck.
Is anyone able to help me achieve this?