Follwing up on my question about headless and real-user-less setups, I am trying to find an alternate way of handling outgoing emails directed to local users (email outgoing from my machine rpi1.example.com
is directed to pi@rpi1.example.com
) which should actually be sent to a single external address.
Is there maybe a way to rewrite on the fly (as it is being processed for sending) the address of the intended recipient of an email, so the so that it actually reads real@somewhere.net
?
- I would like to avoid using an MTA for inbound email (in other words, accepting incoming emails).
- I do not have concerns about privacy (all the accounts on the box are mine and are technical accounts)