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<[email protected]>  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:[email protected]]
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<
[email protected]>   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: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




--
Eric
http://about.echarles.net

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to