Email routing only works from localhost
Alright. I have added exampledomain.com and have added email routing for exampledomain.com to receivedomain.com port 25 with MX. Now this one's a blocker. From localhost this works:
echo test | mail email@example.com Syslog: postfix/smtp: 3660B1C2433: firstname.lastname@example.org, relay=receivedomain.com[xx.xx.xx.xx]:25, delay=0.16, delays=0.03/0.03/0.02/0.08, dsn=5.0.0...
Sending email to exampledomain.com from any other host, doesn't work. It bounces back: Recipient address rejected: User unknown in virtual mailbox table (in reply to RCPT TO command)
Furthermore, a postfix warning is issued: postfix/trivial-rewrite: warning: do not list domain exampledomain.com in BOTH virtual_mailbox_domains and relay_domains