Re: SMTP Connection over VPN

Harry Lachanas
Wed, 05 Jan 2011 08:45:38 -0000

On 01/04/2011 11:41 AM, Simon Hobson wrote:
> How about :
>
> Change the port forwarding on site A to send SMTP traffic to the
> server at site B.
>
> Configure the server to use Site A router for it''s external
gateway ?
> If there isn''t too much traffic then just do it for the whole
server,
> otherwise use policy routing to send just SMTP traffic via site A.
>
>
> Also, how dynamic is the address at site B ? If the address only
> changes infrequently, and this is a temporary setup, then could you
> get away with setting a short TTL on the MX record and changing it as
> required ? Or even use one of the dynamic-ip-to-dns services for the
> hostname in the MX record.
>
The ip address changes about once every 24 hours,
the DNS MX record is not an issue cause I serve my own DNS.
However, you cannot mail to google from a dynamic DNS
that is google rejects you with 550 message.
>
> Or, setup a temporary mail server at site A, with the same config
> (user accounts etc) as the main server, but forwarding all received
> messages to the other server.
>
This tends to be the most real solution with the least effort.

Thanks a lot All.