You are on page 1of 2

RHCE NW-Service Quickreference sheet

Service: SMTP

Packages and Installation


Name Description
postfix mail server
telnet telnet client

SELinux Hints
Boolean default description
postfix_local_write_mail_ ein
spool

types description
postfix_etc_t config files
mail_spool_t /var/spool/mail
Systemd Services and Startup Config
task cmd
service file postfix.service
Security
Firewall Services/Ports
service ports
smtp tcp/25

Host-based Security
config description
mynetworks = 168.100.189.0/28, trusted hosts are allowed to relay mails
127.0.0.0/8

User-based Security
config description
authorized_submit_users = ! restrict users from sending
joe, static:all

Config Tasks
configure smart relay
task cmd
edit main.cf mydomain=#dom
myhostname=#fqdn
myorigin=#domain
relayhost=#server:#port
test mail sendmail #rcpt

You might also like