Setting up mail
Postfix via external mail
https://devops.ionos.com/tutorials/configure-a-postfix-relay-through-gmail-on-centos-7/
yum -y install postfix cyrus-sasl-plain mailx
systemctl restart postfix
systemctl enable postfix
vi /etc/postfix/main.cf
myhostname = ianculovici.com
relayhost = [smtp.gmail.com]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crt
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
vi /etc/postfix/sasl_passwd
[smtp.gmail.com]:587 username:password
postmap /etc/postfix/sasl_passwd
chown root:postfix /etc/postfix/sasl_passwd*
chmod 640 /etc/postfix/sasl_passwd*
The mutt Command
mutt
Change mailbox:
c