Unix tutorial Contact as





How to install POP3 and SMTP proxy server on FreeBsd or Linux

Installing POP3 proxy server

The pop3.proxy is an application level proxy for POP3. It connects a POP3 client to a server running on a different machine and watches for protocol violations from the client. A small number is allowed because client often try to figure out the server's feature by sending commands assuming the command is supported. After the certain amount the connection is terminated by the proxy. pop3.proxy offers dynamic server selection. In this mode the client controls the POP3 server where the proxy forwards the connection by the supplied USER address. The range of allowed servers can be restricted. Other features are SMTP access control, and support of external access control programs

The current version of pop3.proxy is 1.2.0: pop3proxy-1.2.0.tar.gz
Read the manual page for details.

To install POP3 proxy you should complete the following commands:

# tar xfz pop3proxy-1.2.0.tar.gz
# ./configure
# make
# make install

To start pop3.proxy from inetd you can add a line like

pop3 stream tcp nowait nobody pop3.proxy pop3.proxy
server

to /etc/inetd.conf

Installing SMTP proxy server

The smtp.proxy is an application level gateway for SMTP. It connects a client to a server running on another machine watching that the protocol is accomplished. If commands outside the specification are sent they are not forwarded to the server. Additionaly smtp.proxy offers a small email address control (only email with a certain sender or recipient address can pass through) and can optionally remove the `Received:' lines from the mail header. Instead for forwarding the connection to a remote server, smtp.proxy can feed it into a local mail server, e.g. sendmail(8).

The current version of smtp.proxy is 1.1.3: smtpproxy-1.1.3.tar.gz
Read the manual page for details

To install SMTP proxy you should complete the following commands:

# tar xfz smtpproxy-1.1.3.tar.gz
# ./configure
# make
# make install



Back to main page


Copyright © 2003-2016 The UnixCities.com
All rights reserved