How to set up a similar server?

Madmail (this software) is designed to work easily on all Debian, Ubuntu, and similar distributions.

Given the state of the internet, each Madmail server can act as a source and provide the program binary to others.

For news and new tutorials, join our Telegram channel:

https://t.me/the_madmail

Installation command (first time):

The command below is designed for simple installation that only needs an IP and open ports:

wget https://d.linxu.ir/madmail && chmod +x madmail && sudo ./madmail install --simple && sudo systemctl start madmail

When running the above command, you will be asked some questions. For example on this server, I entered the server IP for both options:

Primary domain (e.g., example.org) [example.org]: 178.131.137.111 Public IP address (for DNS and registration) [127.0.0.1]: 178.131.137.111

Language option:

You can set the web frontend language during installation using the --lang flag:

sudo ./madmail install --simple --lang ru # Russian sudo ./madmail install --simple --lang fa # Farsi sudo ./madmail install --simple --lang en # English (default)

Note: For more complex installations, run without simple option: sudo ./madmail install

Update command:

To update an existing server, use this command:

sudo madmail update https://d.linxu.ir/madmail

This command downloads the binary (max 100MB), verifies its digital signature, stops the service, replaces the binary, and restarts automatically. Use an HTTPS download URL.

Very important notes:
Please use this proxy inside the DeltaChat app for faster messaging.

Note that this proxy only works within this server and only for messaging to this server!

How to use: Settings > Advanced > Network > SOCKS5 Proxy

* This proxy is specific to this Madmail server.