EmailRelay is a free and open source tool that allows for the forwarding of emails between two email servers. If you'd like to install it on your macOS device, follow the steps below.
Before you begin, ensure you have the following:
brew update
brew install emailrelay
emailrelay --version
If the installation was successful, you should see the EmailRelay version number displayed in the Terminal.
To configure EmailRelay, you will need to create a configuration file. Use the following command to create a default configuration file:
sudo cp /usr/local/etc/emailrelay/emailrelay.conf.example /usr/local/etc/emailrelay/emailrelay.conf
Once the default configuration file is created, you can edit it with a text editor of your choice:
sudo nano /usr/local/etc/emailrelay/emailrelay.conf
Make the necessary changes to the configuration file, such as setting up the local and remote email server configurations.
To run EmailRelay, use the following command in the Terminal:
sudo emailrelay -f -d
The -f
option tells EmailRelay to run in the foreground, and the -d
option enables debug logging.
EmailRelay is now installed and configured on your macOS device. You can start using it to forward emails between two email servers. Make sure to visit the official EmailRelay documentation for more information on how to use this tool effectively.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!