Hi Sai,
I didn't think to it, but 'Alias' seems like a nice way to answer your need.
We call it now 'Recipient Rewrite' (read more on
http://james.apache.org/server/3/manage-recipientrewrite.html)
You can access it via the command line interface (ADDADDRESSMAPPING,
REMOVEADDRESSMAPPING, ADDREGEXMAPPING, REMOVEREGEXMAPPING) (Mapping is
the old name).
You can also use the JMX interface directly (all methods listed on
http://james.apache.org/server/3/manage-recipientrewrite.html are
available via JMX).
Thx,
Eric
On 15/12/11 22:10, Saibabu Vallurupalli wrote:
Hi Eric,
Thank you for your response. Vanessa and I will try to do this in one of
our local boxes. Yes, we still have issues with maildir copy functionality
on Windows machines.
We will use your option 1 and option 2.
BTW: We heard that there is another way to use alias names for a domain. Is
it true? If we can use an alias name this simplifies our problem. Please
advise.
Thanks, Sai
On Thu, Dec 15, 2011 at 2:04 PM, Eric Charles<e...@apache.org> wrote:
Hi Pao and Sai,
With virtualhosting enabled, the username contain the domain which makes
the things a bit more tricky.
There are 2 manual options:
1. update the tables content (JAMES_DOMAIN.DOMAIN, JAMES_MAILBOX.NAME and
also SUBSCRIPTION.MAILBOX) via a script (sql, or jdbc)
2. Copy to maildir, rename the ./var/store/maildir/your-**domain to
./var/store/maildir/your-new-**domain, reimport into a new database (with
previous creation of needed users and domain).
If I had to do it, I would copy via the maildir copy, but I think to
remember from previous posts you had issues to restore. Is this still the
case?
Btw, the emails that users will find in their folders will not have a
to-address that will map the the newly defined domain.
Thx,
Eric
On 14/12/11 22:15, Saibabu Vallurupalli wrote:
Hi Eric, Also run JPA.
On Wed, Dec 14, 2011 at 3:09 PM, Pao, Vanessa<v...@harris.com> wrote:
Hi,
I work with Sai and was asked to answer the first question.
We have the following settings in the following files:
useresrepositorymysql.xml-> enableVirtualHosting set to true
usersrepository23.xml -> enableVirtualHosting set to false
usersrepository.xml -> enableVirtualHosting set to true
I don't know when each xml file is used by Apache James, so I included
them all.
Thanks,
Vanessa Pao
-----Original Message-----
From: Eric Charles [mailto:e...@apache.org]
Sent: Wednesday, December 14, 2011 1:28 PM
To: James Users List
Subject: Re: Domain name change
Hi Sai,
Domain rename function is not available.
Do you run with enableVirtualHosting set to true?
Do you run jpa mailbox?
Depending on these, manual operation could be done to get a successful
domain rename.
Thx,
Eric
On 12/12/11 22:15, Saibabu Vallurupalli wrote:
Hi All,
Greetings.
I have posted the question below to James Users list now adding
Developers
list to get more inside of it.
We have to rename the domain in our existing James server and Is there
away
to handle this scenario by porting the old emails to new domain etc.,
Please advise.
Thanks,
Sai
On Wed, Dec 7, 2011 at 1:53 PM, Saibabu Vallurupalli<
saibabu.vallurupa...@gmail.com**> wrote:
Hi All,
Greetings.
We have a new requirements due to organizational changes the domain
name
needs to be changed. Not sure how easy this is? Can someone point me to
the
right documentation or configuration to change the domain name and
still my
old emails gets converted without any issues?
Please advise.
Thanks, Sai
--
Eric
http://about.echarles.net
------------------------------**------------------------------**
---------
To unsubscribe, e-mail:
server-user-unsubscribe@james.**apache.org<server-user-unsubscr...@james.apache.org>
For additional commands, e-mail:
server-user-help@james.apache.**org<server-user-h...@james.apache.org>
------------------------------**------------------------------**
---------
To unsubscribe, e-mail:
server-user-unsubscribe@james.**apache.org<server-user-unsubscr...@james.apache.org>
For additional commands, e-mail:
server-user-help@james.apache.**org<server-user-h...@james.apache.org>
--
Eric
http://about.echarles.net
------------------------------**------------------------------**---------
To unsubscribe, e-mail:
server-user-unsubscribe@james.**apache.org<server-user-unsubscr...@james.apache.org>
For additional commands, e-mail:
server-user-help@james.apache.**org<server-user-h...@james.apache.org>
--
Eric http://about.echarles.net
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org