Configuring Sendmail SMTP Relay on Ubuntu and Linux
Note: domainname —> replace with you domain name sudo apt remove postfix && apt purge postfixsudo apt install sendmailcd /etc/mailmkdir -m 700 -p /etc/mail/authinfonano /etc/mail/authinfo/authinfoadd line in that fileAuthInfo: “U:root@domainname.com”…