IdSMTP and VPN and relaying

Giganews Newsgroups
Subject: IdSMTP and VPN and relaying
Posted by:  mr_delphi_developer (mr_delphi_develop…@yahoo!!!.com)
Date: Wed, 25 Jun 2003

We have a VPN setup and the idSMTP component uses the VPN address of our

However, since we have the server setup to NOT allow relays from different
domains, it rejects messages sent from our location due to the domain on the
message being picked NOT from the VPN but from the system.

Any ideas on how to do this without having to open our server for relays?