Configuring localhost to send messages fedora 26
Installing the required packages
sudo dnf install sendmail sendmail-cf
Editing sendmail.mc file
sudo vi /etc/mail/sendmail.mc
grep LOCAL_DOMAIN /etc/mail/sendmail.mc
LOCAL_DOMAIN(`server.sand.box')dnl
grep DAEMON_OPTIONS /etc/mail/sendmail.mc
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
Update sendmail configuration
sudo make -C /etc/mail
Restart and enable the service
sudo systemctl enable sendmail
Sending test mail.
mail -v user@example.com
Subject: test
test
.
EOT
Related Articles
Configuring localhost to send messages fedora 26
Step-by-step guide to installing and configuring sendmail on Fedora 26 to send emails from localhost.
Asciinema a screen recording tool
How to use Asciinema to record and share terminal screen recordings on Linux.
Renaming lv and vg
How to rename Logical Volumes (LV) and Volume Groups (VG) in LVM on Linux.