Difference between revisions of "SMTP"

From Dogtag
Jump to: navigation, search
m (Sending a Mail)
m (Prerequisites)
Line 2: Line 2:
$ dnf install prostfix mailx
$ dnf install -y postfix mailx

Revision as of 03:43, 31 August 2022


$ dnf install -y postfix mailx

Configuring Hostnames example.com

Configuring Postfix

Edit /etc/postfix/main.cf:

inet_interfaces = localhost

inet_protocols = all

Start Postfix

$ systemctl start postfix

Sending a Mail

$ mail -s "Test" root@fedora.localdomain < /dev/null