After you have configured an SMTP email server in the
Cyber Recovery UI, use Postfix to route and deliver
Cyber Recovery email notifications to
Cyber Recovery users.
NOTE: If your system has an active firewall, ensure that port 25 is open on the firewall.
Steps
If necessary, open port 25 on the firewall:
# iptables -I INPUT -p tcp --dport 25 -j ACCEPT
Open
/etc/postfix/main.cf in an editor, and modify it as shown in the following examples:
Add the inet address of the virtual Ethernet adapter or network interface card (NIC) that is used for SMTP communication:
# RECEIVING MAIL
#
# Note: you need to stop/start Postfix when this parameter changes.
#
inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
#inet_interfaces = localhost
NOTE: Ensure that you do not uncomment more than one inet_interface.
Add the fully qualified domain name (FDQN) of the management host:
# INTERNET HOST AND DOMAIN NAMES
#
# The myhostname parameter specifies the internet hostname of this
# mail system. The default is to use the fully-qualified domain name
# from gethostname(). $myhostname is used as a default value for many
# other configuration parameters.
#
myhostname = <FDQN of the Cyber Recovery host>
Add the mail server name:
# INTERNET OR INTRANET
#
# The relayhost parameter specifies the default host to send mail to
# when no entry is matched in the optional transport (5) table. When
# no relayhost is given, mail is routed directly to the destination.
#
# On an intranet, specify the organizational domain name. If your
# internal DNS uses no MX records, specify the name of the intranet
# gateway host instead.
#
# In the case of SMTP, specify a domain, host, host:port, [host]:port,
# [address] or [address]:port; the form [host] turns off MX lookups.
# If you're connected via UUCP, see also the deafult_transport parameter.
#
relayhost = <mail server name>
#
Reload the Postfix configuration file.
# postfix reload
Stop and start Postfix:
# postfix stop
# postfix start
Optionally, check the Postfix status:
# postfix status
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\