AnonAddy is an open-source anonymous forwarding email system that allows you to create forwarding email addresses for different purposes. This can help you protect your privacy and prevent spam.
This tutorial explains how to install AnonAddy on OpenBSD, an operating system known for its security and simplicity.
Before you start, make sure you have the following:
First, you need to install the dependencies required to run AnonAddy. Open a terminal and run the following command:
sudo pkg_add node
To download and install AnonAddy on OpenBSD, follow these steps:
Go to the AnonAddy download page at https://github.com/anonaddy/anonaddy/releases.
Download the latest release by clicking on the "Source code (zip)" link. Alternatively, you can download the release using the following command:
curl -LJO https://github.com/anonaddy/anonaddy/archive/refs/tags/v1.8.1.tar.gz
Extract the downloaded archive:
tar -xvzf anonaddy-1.8.1.tar.gz
Change to the extracted directory:
cd anonaddy-1.8.1
Install NPM:
sudo pkg_add npm
Install the required Node.js modules:
npm install --only=prod
AnonAddy uses environment variables to store its configuration settings. You can set these variables by creating a .env
file in the AnonAddy directory.
To create a new .env
file, run the following command:
cp .env.example .env
Then, edit the .env
file with your preferred text editor and set the following variables:
ANONADDY_SECRET
- a secret string used to sign and verify cookiesANONADDY_DB_PATH
- the path to the AnonAddy SQLite database (e.g., /var/db/anonaddy/anonaddy.sqlite3
)ANONADDY_DOMAIN
- the domain name where AnonAddy will be hosted (e.g., example.com
)ANONADDY_BASE_URL
- the base URL where AnonAddy will be hosted (e.g., https://anonaddy.example.com/
)ANONADDY_SMTP_HOST
- the hostname or IP address of the SMTP server that AnonAddy will use to send email messagesANONADDY_SMTP_PORT
- the port number of the SMTP server (usually 587
for STARTTLS)ANONADDY_SMTP_USERNAME
- the username for the SMTP serverANONADDY_SMTP_PASSWORD
- the password for the SMTP serverTo start AnonAddy, run the following command from the AnonAddy directory:
npm start
This will start AnonAddy and listen for connections on port 3000. You can visit AnonAddy by pointing your web browser to http://localhost:3000.
If you want to make AnonAddy accessible from the internet, you need to configure your firewall to allow incoming connections on port 3000.
In this tutorial, you learned how to install AnonAddy on OpenBSD and configure it to forward email messages anonymously. AnonAddy can help you protect your privacy and avoid spam, and it's easy to use and customize.
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!