F-Secure Internet Gatekeeper for Linux/Administrator’s Guide
127
•
Using postfix:
①
Add the following line to
/etc/postfix/main.cf
:
mynetworks=<IP
address
of
virus-gw
(
Example
: 192.168.0.99)>,<Network
within LAN
(
Example
: 192.168.1.0/24.)>
②
Restart postfix.
#
postfix reload
3 Check that e-mails can be sent from the internal network to an external mail server by using
virus-gw. Check also that outbound e-mails are limited to the specified domain.
4 Change the host name of the internal mail server to “”mx2” and the host name of Internet
Gatekeeper to”mx” in the DNS settings. Change the mail server (MX record of DNS) of the internal
domain to “mx” (Internet Gatekeeper).
5 Check that e-mails can be sent from the internal network to an external mail server by using mx.
Check also that outbound e-mails are limited to the specified domain.
6 After the DNS cache has expired, check that e-mails can be sent internally through external mail
servers. In addition, check that inbound and outbound e-mails are scanned for viruses.