Could the host be something like 10.8.0.0/24? 

  Original Message  
From: wie...@porcupine.org
Sent: August 1, 2017 4:01 AM
To: postfix-users@postfix.org
Reply-to: postfix-users@postfix.org
Subject: Re: Specify VPN for postfix

Yubin Ruan:
> Hi,
> 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.

You specify 

/etc/postfix/main.cf:
   relayhost = smtp:[host on other side of tunnel]

Wietse

Reply via email to