Debian nullmailer
Last update
2025-09-05
2025-09-05
«uninstall exim and install a simple forwarder daemon»
1 2 3 4 5 6 7 8 9 10 | apt install nullmailer echo your_hostname > /etc/mailname cd /etc/nullmailer echo -n > defaultdomain echo receiver@a.com > adminaddr echo sender@b.com > allmailfrom echo 'server.net smtp --port 587 --auth-login --user=username --pass=password' > remotes systemctl restart nullmailer |
Source: debian wiki
