Using a dummy domain for email accounts
Hi
I am trying to create email accounts with a dummydomain. The scenario is:
Messaging Server looks up users on another LDAP server(Direct LDAP mode). Users are under a single domain tree domain.com. Email accounts are by default created with 'user@domain.com'
I want to create users with a dummydomain of the form user@dummy.domain.com.
Is this feasible? How can I configure Messaging Server to deliver messages correctly to this email account? I am able to create accounts this way and ldap lookup for the accounts too work with a rewrite code in the imta.cnf. But the messages do not get delivered.
I hope somebody can help me with this.
# 1
Hi,
What version of messaging server are you running? (./imsimta version) What schema are you using?
Messaging server doesn't care about the domain of the user's UID.
Messaging server uses the email address attributes (mail:/mailalternateaddress:/mailequivalentaddress:) associated with a users entry and depending on the schema, the o=internet DC tree or the sunPreferredDomain: to point at the base of the domain tree which holds the users with the certain _email_ domain.
So I take it you want the address user@domain.com to be sent to a user with an UID of uid:user@dummy.domain.com?
Regards,
Shane.
# 2
Hi Shane,
Thnx for the quick reply. The version is
iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)
libimta.so 5.2 Patch 2 (built 19:30:12, Jul 14 2004)
The person has a uid 'user' and 'mail' attribute set to 'user@dummy.domain.com'
I want to send an email to this adress from any other adress, internal or external say anotheruser@somedomain.com.
When I send an email to this emailid, it does not get delivered, the user is found and ldap lookup returns sucess, but mail delivery fails.
Looks like the domain gets appended to the id as 'user%dummy.domain.com@ims-ms-daemon'
Thanks,
Chris.
# 3
Hi,
If you are using iMS5.2 that means you are using schema 1. In which case you need to update the DC tree (base of o=internet) to point the domain (dummy.domain.com) at the primary domain in the tree (inetdomainalias).
I explained how to achieve this in the following thread:
http://forum.java.sun.com/thread.jspa?threadID=5123510&messageID=9466191
You don't need to use a _new_ rewrite rule to achieve this - in fact get rid of it as it will only cause confusion.
Regards,
Shane.
# 5
Hi Shane,
I added the inetdomain alias and all rewrite rules are taken out of imta.cnf. Ldap lookup for user 'user@dummy.domain.com' succeeds. But the mailbox gets rewritten to ''user%dummy.domain.com' . And the mails do not get delivered.
07:57:00.63:- URL match for user@dummy.domain.com
07:57:00.63:Delivery option template: $M%$\$2I$_+$2S@ims-ms-daemon
07:57:00.63:- user%dummy.domain.com@ims-ms-daemon
07:57:00.63:Parsing address user%dummy.domain.com@ims-ms-daemon
07:57:00.63: Rewriting: Mbox = "user%dummy.domain.com", host = "ims-ms-daemon", domain = "$*", literal = "", tag = ""
Any idea?
Thanks,
Chris
# 6
Hi,
It looks as though you have defined a full hosted domain rather then a domain alias back to your primary domain.
What did you add for the domain alias entry (o=internet entry)?
What does your existing domain entry look like (o=internet entry)?
For the same user, what is the users uid/mail address look like?
Regards,
Shane.