Yubin Ruan: > Can anyone tell me how to point postfix to a VPN connection? I have > setup a VPN listening at background on my Ubuntu and I want to point > postfix to that listening port whenever postfix try to connect to the > internet.
Wietse: > You specify > /etc/postfix/main.cf: > relayhost = smtp:[host on other side of tunnel] Gary Sellani: > Could the host be something like 10.8.0.0/24? I wrote 'host' not 'network block'. Consider the network as a collection of layers. An example applicable to Postfix looks like: physical layer (ethernet), network layer (IP), transport layer (TCP), and application layer (SMTP). In this architecture, an SMTP destination is a domain or host, where the host may be specified as an IP address. It's not an IP address block nor is it an ethernet broadast domain. Wietse