simple smtp server ubuntu code example Example 1: how to configure the smtp server in ubuntu apt-get update Example 2: how to configure the smtp server in ubuntu sudo apt install bind9