[I apologize for the x-post...I've moved this over from
microsoft.public.inetserver.iis] at the suggestion of the first
respondent...
[quoted text, click to view] > Hi All:
> >
> > I have a shared IIS5 webserver on which I've set up a new smtp service
> > on
> > it's own IP, for a website that's also on the same IP. The SMTP service
> > has
> > it's own set of folders.
> >
> > Emails are sent from that domain using CDO, with mail being sent using
> > pickup and the pickup directory being the one specified for the new smtp
> > service.
> >
> > Everything works fine except for mail addressed to users within that
> > website
> > domain. Instead of mail being sent to the mailserver authoritative for
> > the
> > domain, the mail instead is placed in the "drop" directory. The
> > mailserver
> > for this domain is another computer on the local subnet.
> >
> > If I edit the mail file in notepad and change the "x-receiver" to a user
> > in
> > a different domain, the mail is successfully sent when I drag it into
> > the
> > pickup directory.
> >
> > I have had this problem in the past, and have gotten around it either by
> > creating a "local" domain in BIND with the local subnet IP for the
> > mailserver in it, or by editing the hosts file directly on the
> > webserver,
> > with something like:
> >
> > domain1.com 192.168.1.2
> >
> > where the ip address is that of the mailserver.
> >
> > For this domain, I have done both of those things. In addition, there is
> > a
> > single MX record for this domain in DNS, and it points to my main
> > mailserver:
> >
> > domain1.com MX 10 mail.mymainserver.com
> >
> > This is not working though...mail just accumulates in the drop
> > directory.
> >
> > In my SMTP service properties, I have "www.domain1.com" as the FQDN and
> > "domain1.com" as the masquerade domain.
> >
> > This problem started happening when I switched from CDONTS to CDO...is
> > there
> > any way to "force" the IIS server to send mail to the mailserver?
> >
> > I'm aware that I could use a smarthost or switch CDO to send via SMTP,
> > but I
> > was hoping to reduce the load on my mailserver and let the webserver
> > send
> > the mail in this case.
> >
> > TIA, Andrew
> >
>
> Very basic problem (tho probably should have posted to .iis.smtp_nntp,
> FTR).
>
> You have to change the name of the domain listed as Local (Default)
> under SMTP Virtual Server-Domains. Mail to any domain listed there as
> non-Remote will go into a drop directory. There's no "around" this
> relationship; instead, just change the Local (Default) value to, for
> example, the FQHN of the localhost, or the string 'localhost' itself.
>
> --Sandy
Perhaps I'm not understanding your response, but the "local" domain has
nothing to do with the name of this website in particular.
As I mentioned in my original post, this is a secondary SMTP service set up
on a shared server. The shared server's name as well as the default SMTP
service are unrelated to this domain name.
I tried what you suggested, however, changing the both the "name" of the
service to something other than the domain name, as well as changing the
FQDN to "localhost". I did this for the "Default SMTP Virtual Server" as
well as the secondary SMTP service for this domain. But these changes had no
effect...mail is still going into the drop directory for this domain.