Debian nullmailer
Last update
2023-08-13
2023-08-13
«uninstall exim and install a simple forwarder daemon»
1 2 3 4 5 6 7 8 9 | apt install nullmailer 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