IIS and SMTP - Email Domain Alias

This is Interesting: Free IT Magazines  
Home > Archive > IIS and SMTP > October 2004 > Email Domain Alias





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Email Domain Alias
Travis Lingenfelder

2004-09-22, 9:27 pm

I have two domains, lets call them primary.com and secodary.com. I am using
the SMTP and POP3 services of Windows Server 2003. In this IIS / SMTP
console I have primary.com setup as Local(Custom) (The FQDN of the host
server is Local(Default)) and secondary.com setup as the Local(Alias). The
domain primary.com is the same name as my Active Directory Domain. Emails
addressed to users in the form user@primary.com are being routed to the
proper mailbox. However, emails addressed to user@secondary.com are all
being put into the Mailroot\Drop folder. I want emails addressed to
user@primary.com and user@secondary.com to go into the same mailbox. I read
on Scott Forsyth's WebLog
(http://weblogs.asp.net/owscott/arch...1/25/62822.aspx) that this is
possible doing a search on Microsoft's website for some configuration
scripts, but I can not find the scripts.

Can anyone help me get this working?

Travis Lingenfelder
Kristofer Gafvert

2004-09-22, 9:27 pm

Hello,

Here's the whitepaper on email aliasing

http://www.microsoft.com/windowsser...ew/advmail.mspx


--
Regards,
Kristofer Gafvert
http://www.ilopia.com


"Travis Lingenfelder" <Travis Lingenfelder@discussions.microsoft.com> wrote
in message news:C72B895B-4017-439C-A32C-5FC9594D2615@microsoft.com...
> I have two domains, lets call them primary.com and secodary.com. I am

using
> the SMTP and POP3 services of Windows Server 2003. In this IIS / SMTP
> console I have primary.com setup as Local(Custom) (The FQDN of the host
> server is Local(Default)) and secondary.com setup as the Local(Alias).

The
> domain primary.com is the same name as my Active Directory Domain. Emails
> addressed to users in the form user@primary.com are being routed to the
> proper mailbox. However, emails addressed to user@secondary.com are all
> being put into the Mailroot\Drop folder. I want emails addressed to
> user@primary.com and user@secondary.com to go into the same mailbox. I

read
> on Scott Forsyth's WebLog
> (http://weblogs.asp.net/owscott/arch...1/25/62822.aspx) that this

is
> possible doing a search on Microsoft's website for some configuration
> scripts, but I can not find the scripts.
>
> Can anyone help me get this working?
>
> Travis Lingenfelder



Alin Constantin

2004-09-22, 9:27 pm

I have exactly the same problem: one machine, registered with 2 dynamic dns
servers: alinconstantin.dtdns.net and alinconstantin.dyndns.org.
I'd like to receive mails from both domains.

Here is what I've tried:
- In IIS Management consome I've setup alinconstantin.dtdns.net as default
SMTP (Local/Default)
- In POP3 Service console I've created a POP3 domain
alinconstantin.dtdns.net
- I've created an account 'alinc' for this domain.
Up to this point all works fine. Now I'm trying to add the second domain.

If I start by creating a new SMTP alias alinconstantin.dyndns.org in IIS
Management consome, I'm able to send mails to account on that domain, but al
ends up in the Drop folder (as Travis described in his mail). If I try to
create now a POP3 domain for alinconstantin.dyndns.org I'm getting error
"Domain alinconstantin.dyndns.org already exists"

If I start by creating the POP3 domain for alinconstantin.dyndns.org then I
cannot create anymore the SMTP alias for this domain. Again I'm getting the
same error "Domain already exist".
Even more, if I try to create an account under this second domain named
'alinc' I get error saying that user already exists.

I've also tried using the hint for linked aliases from the advmail document.
I've created folders like mailroot\alinconstantin.dyndns.org\p3_alinc.mbx .
This convinced the POP3 Manager to show both domain and accounts, but the
mail sent to the second domain still ends up in the drop folder...
Stopping and restarting the smtpsvc and pop3svc doesn't seem to help either.

Is there any solution to receive mails on accounts with the same name on
both domains?
Did I miss something?

Thank you,
Alin


"Kristofer Gafvert" <kgafvert@NEWSilopia.com> wrote in message
news:eevLoHWnEHA.1304@TK2MSFTNGP09.phx.gbl...
> Hello,
>
> Here's the whitepaper on email aliasing
>
> http://www.microsoft.com/windowsser...ew/advmail.mspx
>
>
> --
> Regards,
> Kristofer Gafvert
> http://www.ilopia.com
>
>
> "Travis Lingenfelder" <Travis Lingenfelder@discussions.microsoft.com>
> wrote
> in message news:C72B895B-4017-439C-A32C-5FC9594D2615@microsoft.com...
> using
> The
> read
> is
>
>



Kristofer Gafvert

2004-09-22, 9:27 pm

Hello,

> If I start by creating a new SMTP alias alinconstantin.dyndns.org in IIS
> Management consome, I'm able to send mails to account on that domain, but

al
> ends up in the Drop folder (as Travis described in his mail).


That is expected, there is no POP3 domain, and SMTP only moves the emails to
the drop folder, where the POP3 service is supposed to take over.

> If I try to
> create now a POP3 domain for alinconstantin.dyndns.org I'm getting error
> "Domain alinconstantin.dyndns.org already exists"


Probably because there is already a SMTP domain.

> If I start by creating the POP3 domain for alinconstantin.dyndns.org then

I
> cannot create anymore the SMTP alias for this domain. Again I'm getting

the
> same error "Domain already exist".


Don't use the SMTP console, create everything with the POP3 console, and the
SMTP domains will be created.

> Even more, if I try to create an account under this second domain named
> 'alinc' I get error saying that user already exists.


This depends on the Authenticate Mode you are using. Windows Authentication
do not support the same username for more than one domain name.

> I've also tried using the hint for linked aliases from the advmail

document.
> I've created folders like mailroot\alinconstantin.dyndns.org\p3_alinc.mbx

..
> This convinced the POP3 Manager to show both domain and accounts, but the
> mail sent to the second domain still ends up in the drop folder...
> Stopping and restarting the smtpsvc and pop3svc doesn't seem to help

either.

I think that you need to create the folders using the POP3 manager (by
creating the domain and users).

If i remember correctly, you must create both domains using the POP3
manager, and create both usernames. After you have done this, you can use
aliasing.

--
Regards,
Kristofer Gafvert
http://www.ilopia.com


"Alin Constantin" <cnila@tfosorcim.moc> wrote in message
news:u33V3njnEHA.2948@TK2MSFTNGP11.phx.gbl...
> I have exactly the same problem: one machine, registered with 2 dynamic

dns
> servers: alinconstantin.dtdns.net and alinconstantin.dyndns.org.
> I'd like to receive mails from both domains.
>
> Here is what I've tried:
> - In IIS Management consome I've setup alinconstantin.dtdns.net as default
> SMTP (Local/Default)
> - In POP3 Service console I've created a POP3 domain
> alinconstantin.dtdns.net
> - I've created an account 'alinc' for this domain.
> Up to this point all works fine. Now I'm trying to add the second domain.
>
> If I start by creating a new SMTP alias alinconstantin.dyndns.org in IIS
> Management consome, I'm able to send mails to account on that domain, but

al
> ends up in the Drop folder (as Travis described in his mail). If I try to
> create now a POP3 domain for alinconstantin.dyndns.org I'm getting error
> "Domain alinconstantin.dyndns.org already exists"
>
> If I start by creating the POP3 domain for alinconstantin.dyndns.org then

I
> cannot create anymore the SMTP alias for this domain. Again I'm getting

the
> same error "Domain already exist".
> Even more, if I try to create an account under this second domain named
> 'alinc' I get error saying that user already exists.
>
> I've also tried using the hint for linked aliases from the advmail

document.
> I've created folders like mailroot\alinconstantin.dyndns.org\p3_alinc.mbx

..
> This convinced the POP3 Manager to show both domain and accounts, but the
> mail sent to the second domain still ends up in the drop folder...
> Stopping and restarting the smtpsvc and pop3svc doesn't seem to help

either.
>
> Is there any solution to receive mails on accounts with the same name on
> both domains?
> Did I miss something?
>
> Thank you,
> Alin
>
>
> "Kristofer Gafvert" <kgafvert@NEWSilopia.com> wrote in message
> news:eevLoHWnEHA.1304@TK2MSFTNGP09.phx.gbl...
http://www.microsoft.com/windowsser...ew/advmail.mspx[vbcol=seagreen]
all[vbcol=seagreen]
this[vbcol=seagreen]
>
>



Travis Lingenfelder

2004-10-02, 9:07 pm

Using the whitepaper below, I was able to get everything working. I have
aliases for both domains and users. I used the POP3 console to create the
primary domain and mailboxes for that domain. Once this was done, I used the
POP3 console to create the secondary domain without any mailboxes. Then,
from the command prompt in the Inetpub\Mailroot\Mailbox directory, I copied
the directory structure (Mailboxes) from the primary domain to the secondary
domain using the xcopy command the /t switch. This made identical mailboxes
in both domains. Once the directory structure was in place, I used the LINKD
command from the windows server resource kit to create hard links between the
mailbox directories of both domains (see the whitepaper below). Using the
same method I was able to create aliases of all kinds (i.e. webmaster,
postmaster) that pointed to other user mailboxes (directories). My next step
is to script this so that the creation/deletion of future user's mailboxes
will be greatly simplified.

Now, if I can only create aliases that will distribute to multiple
mailboxes........

"Kristofer Gafvert" wrote:

> Hello,
>
> Here's the whitepaper on email aliasing
>
> http://www.microsoft.com/windowsser...ew/advmail.mspx
>
>
> --
> Regards,
> Kristofer Gafvert
> http://www.ilopia.com
>
>
> "Travis Lingenfelder" <Travis Lingenfelder@discussions.microsoft.com> wrote
> in message news:C72B895B-4017-439C-A32C-5FC9594D2615@microsoft.com...
> using
> The
> read
> is
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com