TIS FWTK:

TUTORIALS


FWTK Tutorials
 
 
1.2: POP mail tutorial
When configuring Netscape Mail you need to append the port to use to the end of the host name. In Netscape (v3.01 described here) select Options -> Mail and News Preferences. On the Preferences panel select the Servers tab.

Change the Outgoing Mail (SMTP) Server to reflect the fully qualified host.domain name of your firewall followed by a colon and port number to connect to.

Example:     proxy.yourdomain.com:2010

Do the same for the Incoming Mail (POP3) Server, but use a different port.

Example:     proxy.yourdomain.com:2009

You will need entries in the /etc/services file to support the ports you choose above as follows:

 pop-gw  2009/tcp    # Firewalled POP3 Service
 mail-gw  2010/tcp    # Firewalled SMTP Service

You will need entries in the /usr/local/etc/netperm-table file to tell FWTK what you want to do when requests come in on these ports. your.net.address.* refers to the address range you wish to authorize to this service. host.domain.com
refers to the fully qualified host/domain name of the POP server to contact. port 110 is standard listening port for POP server and port 25 is standard listening port for SMTP:

plug-gw:port 2009 your.net.address.* -plug-to host.domain.com -port 110
plug-gw:port 2010 your.net.address.* -plug-to host.domain.com -port 25

Lastly, the following lines need to be in your /etc/inetd.conf file:

pop-gw stream tcp nowait root /usr/local/etc/plug-gw plug-gw 2009
mail-gw stream tcp nowait root /usr/local/etc/plug-gw plug-gw 2010

Todd Tavasci  <ttavasci@cnw.com>