[quoted text, click to view] > So I have one domain defined. Let's call this domain.com. The test
> emails are to the same domain and are placing all emails in the drop
> folder as you mention.
Yep, appropriate behavior.
[quoted text, click to view] > How do I configure this SMTP virtual server to deliver all remote
> email to remote domains?
As I mentioned in my most recent post, if you want to relay for
unknown remote domains, then you do this by relaying only mail that
has been submitted in authenticated sessions or from certain IP
ranges.
You don't relay _to_ unknown remote domains, _from_ unknown
(anonymous) submissions. That unknown-to-unknown setup is called an
open relay.
Note that you do not need to have a literal 'Remote domain' entered
into IIS for _every_ remote domain you're going to relay to... if you
did, well, you obviously could relay to "unknown" ones, couldja? There
is an implicit * wildcard in place for any domain [a] to which relay
is allowed (through authenticated submission or submission from
allowed IPs) and [b] for which there is no 'Remote Domain' entry.
The only domains that need a 'Remote domain' entry are those for which
DNS-based (MX-record-based) delivery would be inefficient or
incorrect.
- For one example, if the current machine is the sole MX record for a
domain, it will receive all mail from the outside for that domain. It
obviously can't use DNS to route to the true mailbox server for the
domain, because DNS only knows of the MX: loopback conditions ensue.
You need a Remote domain in this case.
- For another example, if the current machine is a webserver relaying
mail from form submissions or suchlike, doesn't appear in the MX
records for any domains, and is on a datacenter subnet that doesn't
have any mailbox servers on it, then it can relay to any domain using
standard DNS and doesn't need any hard-coded Remote domains.
- For a third example, if the current machine is a webserver that
doesn't appear in the MX records for any domains, _but_ (as hinted
above) is on the same private IP subnet as a mailbox server for one or
more domains _and_ can't reach those servers using their public IPs
(most enterprise firewalls won't allow this 'loopback NAT', though
some SMB firewalls will), then you will need to have Remote domains
for those mailbox servers. The Remote domains will be are smart-hosted
to send straight to the private IP (or to a hostname that resolves to
the private IP).
--Sandy
------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.