Difference between revisions of "SMTP"

From Dogtag
Jump to: navigation, search
(Created page with "= Prerequisites = <pre> $ dnf install prostfix </pre> = Configuring Hostnames = <pre> 127.0.0.1 example.com </pre> = Configuring Postfix = Edit /etc/postfix/main.cf: <pr...")
 
m (Prerequisites)
Line 2: Line 2:
  
 
<pre>
 
<pre>
$ dnf install prostfix
+
$ dnf install prostfix mailx
 
</pre>
 
</pre>
  

Revision as of 03:12, 31 August 2022

Prerequisites

$ dnf install prostfix mailx

Configuring Hostnames

127.0.0.1 example.com

Configuring Postfix

Edit /etc/postfix/main.cf:

inet_interfaces = localhost

inet_protocols = all

Start Postfix

$ systemctl start postfix