You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by 冉兵 <bi...@hotmail.com> on 2010/07/12 04:57:04 UTC

virtual domain in early 3.0 snapshot

Hi,

While I'm testing the latest 3.0 in trunk, I have a almost one year old 3.0 snapshot running (just POP3/SMTP, no IMAP4). I'm wondering if the virtual domain support works already in the old version. Does it worth trying?

Thanks

Bing

Re: virtual domain in early 3.0 snapshot

Posted by 冉兵 <bi...@hotmail.com>.
Hi, Norman,

A minor bug fix to the hack I did in the isLocalEmail:

        boolean contains = localusers.contains(userName);
        // bran hack to make compatible with mix virtual domain and default 
domain
		if (!contains) {
			if (domain.toLowerCase().equals(getDefaultDomain().toLowerCase())) {
				userName = mailAddress.getLocalPart();
				contains = localusers.contains(userName);
			}
		}
		return contains;


--------------------------------------------------
From: "Norman Maurer" <no...@apache.org>
Sent: Saturday, July 17, 2010 12:32 AM
To: "James Users List" <se...@james.apache.org>
Subject: Re: virtual domain in early 3.0 snapshot

> Thx for the info.. I will see if I can do something similar in latest 
> trunk...
>
> Bye,
> Norman
>
> 2010/7/14 冉兵 <bi...@hotmail.com>:
>> Got it working!
>>
>> Two changes made to the James.java
>>
>> 1. Replaced the last line of isLocalEmail(MailAddress ) to
>>
>>       boolean contains = localusers.contains(userName);
>>        if (!contains) {
>>                userName = mailAddress.getUser();
>>                contains = localusers.contains(userName);
>>        }
>>        return contains;
>>
>> 2. Replaced the first if block in the getUserInbox with
>>
>>      if (virtualHosting == false) {
>>        if  (userName.contains("@")) {
>>                userName = userName.split("@")[0];
>>        }
>>       }
>>       else {
>>        if (!userName.contains("@")) {
>>                userName += "@" + getDefaultDomain();
>>        }
>>       }
>>
>>
>> Thanks so much, Norman!
>>
>> Bing
>>
>>
>> --------------------------------------------------
>> From: "Norman Maurer" <no...@apache.org>
>> Sent: Wednesday, July 14, 2010 9:01 PM
>> To: "James Users List" <se...@james.apache.org>
>> Subject: Re: virtual domain in early 3.0 snapshot
>>
>>> Hi Bing,
>>>
>>> I guess you could patch the getUserInbox method:
>>>
>>>
>>> http://svn.apache.org/viewvc/james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/James.java?revision=722820&view=markup&pathrev=802641
>>>
>>> Bye,
>>> Norman
>>>
>>>
>>> 2010/7/14 冉兵 <bi...@hotmail.com>:
>>>>
>>>> Hi Norman,
>>>>
>>>> The revision number is 802641.
>>>>
>>>> Thanks for the time.
>>>>
>>>> Bing
>>>>
>>>>
>>>> --------------------------------------------------
>>>> From: "Norman Maurer" <no...@apache.org>
>>>> Sent: Wednesday, July 14, 2010 2:03 PM
>>>> To: "James Users List" <se...@james.apache.org>
>>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>>
>>>>> Hi Bing,
>>>>>
>>>>> could you tell me the exact revision number of the SNAPSHOT you use,
>>>>> then I could prolly help you with this..
>>>>>
>>>>> Bye.
>>>>> Norman
>>>>>
>>>>>
>>>>> 2010/7/13 冉兵 <bi...@hotmail.com>:
>>>>>>
>>>>>> Hi
>>>>>>
>>>>>> Appending the domain to current users seemed to work fine. But 
>>>>>> updating
>>>>>> all
>>>>>> hundreds of users is a big change in the organization. Ideally I'd 
>>>>>> like
>>>>>> to
>>>>>> pick the default domain at the runtime so anyone without the domain
>>>>>> appendix
>>>>>> will use the default value.
>>>>>>
>>>>>> Where is the interesting code that I can modify to implement the 
>>>>>> logic?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>>
>>>>>> Bing
>>>>>>
>>>>>>
>>>>>> --------------------------------------------------
>>>>>> From: "Norman Maurer" <no...@apache.org>
>>>>>> Sent: Tuesday, July 13, 2010 3:15 PM
>>>>>> To: "James Users List" <se...@james.apache.org>
>>>>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>>>>
>>>>>>> I think you will either need to modify the existing users and add a
>>>>>>> @domain part to it or start from scratch..
>>>>>>>
>>>>>>> Bye,
>>>>>>> Norman
>>>>>>>
>>>>>>>
>>>>>>> 2010/7/12 冉兵 <bi...@hotmail.com>:
>>>>>>>>
>>>>>>>> OK, I'd like to add a new domain to an existing instance of the old
>>>>>>>> 3.0
>>>>>>>> snapshot. The user accounts don't have domain associated with them
>>>>>>>> explicitly. Do I have to regenerate all the account and assign a
>>>>>>>> domain
>>>>>>>> to
>>>>>>>> each of them? Is it safe to switch to multi-domains "in the middle"
>>>>>>>> of
>>>>>>>> using
>>>>>>>> James or I must start from empty user database to support virtual
>>>>>>>> domains?
>>>>>>>>
>>>>>>>> Bing
>>>>>>>>
>>>>>>>>
>>>>>>>> --------------------------------------------------
>>>>>>>> From: "冉兵" <bi...@hotmail.com>
>>>>>>>> Sent: Monday, July 12, 2010 3:27 PM
>>>>>>>> To: "James Users List" <se...@james.apache.org>
>>>>>>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> My initial test with the old version went thru fine.
>>>>>>>>>
>>>>>>>>> Thanks Norman!
>>>>>>>>>
>>>>>>>>> Bing
>>>>>>>>>
>>>>>>>>> --------------------------------------------------
>>>>>>>>> From: "Norman Maurer" <no...@apache.org>
>>>>>>>>> Sent: Monday, July 12, 2010 3:22 PM
>>>>>>>>> To: "James Users List" <se...@james.apache.org>
>>>>>>>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>>>>>>>
>>>>>>>>>> Hi Bing,
>>>>>>>>>>
>>>>>>>>>> I think it should work there too.. But not 100 % sure..
>>>>>>>>>>
>>>>>>>>>> Bye,
>>>>>>>>>> Norman
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 2010/7/12 冉兵 <bi...@hotmail.com>:
>>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> While I'm testing the latest 3.0 in trunk, I have a almost one
>>>>>>>>>>> year
>>>>>>>>>>> old
>>>>>>>>>>> 3.0 snapshot running (just POP3/SMTP, no IMAP4). I'm wondering 
>>>>>>>>>>> if
>>>>>>>>>>> the
>>>>>>>>>>> virtual domain support works already in the old version. Does it
>>>>>>>>>>> worth
>>>>>>>>>>> trying?
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>> Bing
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>>>>>>> For additional commands, e-mail: 
>>>>>>>>>> server-user-help@james.apache.org
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: virtual domain in early 3.0 snapshot

Posted by Norman Maurer <no...@apache.org>.
Thx for the info.. I will see if I can do something similar in latest trunk...

Bye,
Norman

2010/7/14 冉兵 <bi...@hotmail.com>:
> Got it working!
>
> Two changes made to the James.java
>
> 1. Replaced the last line of isLocalEmail(MailAddress ) to
>
>       boolean contains = localusers.contains(userName);
>        if (!contains) {
>                userName = mailAddress.getUser();
>                contains = localusers.contains(userName);
>        }
>        return contains;
>
> 2. Replaced the first if block in the getUserInbox with
>
>      if (virtualHosting == false) {
>        if  (userName.contains("@")) {
>                userName = userName.split("@")[0];
>        }
>       }
>       else {
>        if (!userName.contains("@")) {
>                userName += "@" + getDefaultDomain();
>        }
>       }
>
>
> Thanks so much, Norman!
>
> Bing
>
>
> --------------------------------------------------
> From: "Norman Maurer" <no...@apache.org>
> Sent: Wednesday, July 14, 2010 9:01 PM
> To: "James Users List" <se...@james.apache.org>
> Subject: Re: virtual domain in early 3.0 snapshot
>
>> Hi Bing,
>>
>> I guess you could patch the getUserInbox method:
>>
>>
>> http://svn.apache.org/viewvc/james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/James.java?revision=722820&view=markup&pathrev=802641
>>
>> Bye,
>> Norman
>>
>>
>> 2010/7/14 冉兵 <bi...@hotmail.com>:
>>>
>>> Hi Norman,
>>>
>>> The revision number is 802641.
>>>
>>> Thanks for the time.
>>>
>>> Bing
>>>
>>>
>>> --------------------------------------------------
>>> From: "Norman Maurer" <no...@apache.org>
>>> Sent: Wednesday, July 14, 2010 2:03 PM
>>> To: "James Users List" <se...@james.apache.org>
>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>
>>>> Hi Bing,
>>>>
>>>> could you tell me the exact revision number of the SNAPSHOT you use,
>>>> then I could prolly help you with this..
>>>>
>>>> Bye.
>>>> Norman
>>>>
>>>>
>>>> 2010/7/13 冉兵 <bi...@hotmail.com>:
>>>>>
>>>>> Hi
>>>>>
>>>>> Appending the domain to current users seemed to work fine. But updating
>>>>> all
>>>>> hundreds of users is a big change in the organization. Ideally I'd like
>>>>> to
>>>>> pick the default domain at the runtime so anyone without the domain
>>>>> appendix
>>>>> will use the default value.
>>>>>
>>>>> Where is the interesting code that I can modify to implement the logic?
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>> Bing
>>>>>
>>>>>
>>>>> --------------------------------------------------
>>>>> From: "Norman Maurer" <no...@apache.org>
>>>>> Sent: Tuesday, July 13, 2010 3:15 PM
>>>>> To: "James Users List" <se...@james.apache.org>
>>>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>>>
>>>>>> I think you will either need to modify the existing users and add a
>>>>>> @domain part to it or start from scratch..
>>>>>>
>>>>>> Bye,
>>>>>> Norman
>>>>>>
>>>>>>
>>>>>> 2010/7/12 冉兵 <bi...@hotmail.com>:
>>>>>>>
>>>>>>> OK, I'd like to add a new domain to an existing instance of the old
>>>>>>> 3.0
>>>>>>> snapshot. The user accounts don't have domain associated with them
>>>>>>> explicitly. Do I have to regenerate all the account and assign a
>>>>>>> domain
>>>>>>> to
>>>>>>> each of them? Is it safe to switch to multi-domains "in the middle"
>>>>>>> of
>>>>>>> using
>>>>>>> James or I must start from empty user database to support virtual
>>>>>>> domains?
>>>>>>>
>>>>>>> Bing
>>>>>>>
>>>>>>>
>>>>>>> --------------------------------------------------
>>>>>>> From: "冉兵" <bi...@hotmail.com>
>>>>>>> Sent: Monday, July 12, 2010 3:27 PM
>>>>>>> To: "James Users List" <se...@james.apache.org>
>>>>>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> My initial test with the old version went thru fine.
>>>>>>>>
>>>>>>>> Thanks Norman!
>>>>>>>>
>>>>>>>> Bing
>>>>>>>>
>>>>>>>> --------------------------------------------------
>>>>>>>> From: "Norman Maurer" <no...@apache.org>
>>>>>>>> Sent: Monday, July 12, 2010 3:22 PM
>>>>>>>> To: "James Users List" <se...@james.apache.org>
>>>>>>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>>>>>>
>>>>>>>>> Hi Bing,
>>>>>>>>>
>>>>>>>>> I think it should work there too.. But not 100 % sure..
>>>>>>>>>
>>>>>>>>> Bye,
>>>>>>>>> Norman
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2010/7/12 冉兵 <bi...@hotmail.com>:
>>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> While I'm testing the latest 3.0 in trunk, I have a almost one
>>>>>>>>>> year
>>>>>>>>>> old
>>>>>>>>>> 3.0 snapshot running (just POP3/SMTP, no IMAP4). I'm wondering if
>>>>>>>>>> the
>>>>>>>>>> virtual domain support works already in the old version. Does it
>>>>>>>>>> worth
>>>>>>>>>> trying?
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>>
>>>>>>>>>> Bing
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: James as non root user

Posted by Norman Maurer <no...@apache.org>.
No me.. But should be no problem, I would just give it a try ;)

Bye,
Norman


2010/7/17 Moshe Akirav <mo...@impactia.com>:
> Hi Norman,
> Thank you for your reply, I haven't thought about that- clean and simple.
>
> What about SELinux? Any experience with JAMES under it ?
>
> Moshe.
>
>
> -----Original Message-----
> From: norman.maurer@googlemail.com [mailto:norman.maurer@googlemail.com] On Behalf Of Norman Maurer
> Sent: יום ו 16 יולי 2010 19:32
> To: James Users List
> Subject: Re: James as non root user
>
> Hi Moshe,
>
> if you want to run james as non root its needed to bind the services
> to non-privileged ports ( > 1024). So you will need to setup iptables
> to redirect the "real" traffic to this ports.
>
> That should be enough..
>
> Bye,
> Norman
>
> 2010/7/15 Moshe Akirav <mo...@impactia.com>:
>> Hi,
>> I am into running James in a more secure mode.
>>
>> This include:
>> Run James as non root user (and bind to port 25).
>> Run James under SELinux.
>>
>> Does anyone has any documentation regarding any one of those tasks ?
>>
>> Thanks in advanced,
>>
>> Moshe.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: James as non root user

Posted by Moshe Akirav <mo...@impactia.com>.
Hi Norman,
Thank you for your reply, I haven't thought about that- clean and simple.

What about SELinux? Any experience with JAMES under it ?

Moshe.


-----Original Message-----
From: norman.maurer@googlemail.com [mailto:norman.maurer@googlemail.com] On Behalf Of Norman Maurer
Sent: יום ו 16 יולי 2010 19:32
To: James Users List
Subject: Re: James as non root user

Hi Moshe,

if you want to run james as non root its needed to bind the services
to non-privileged ports ( > 1024). So you will need to setup iptables
to redirect the "real" traffic to this ports.

That should be enough..

Bye,
Norman

2010/7/15 Moshe Akirav <mo...@impactia.com>:
> Hi,
> I am into running James in a more secure mode.
>
> This include:
> Run James as non root user (and bind to port 25).
> Run James under SELinux.
>
> Does anyone has any documentation regarding any one of those tasks ?
>
> Thanks in advanced,
>
> Moshe.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: James as non root user

Posted by Norman Maurer <no...@apache.org>.
Hi Moshe,

if you want to run james as non root its needed to bind the services
to non-privileged ports ( > 1024). So you will need to setup iptables
to redirect the "real" traffic to this ports.

That should be enough..

Bye,
Norman

2010/7/15 Moshe Akirav <mo...@impactia.com>:
> Hi,
> I am into running James in a more secure mode.
>
> This include:
> Run James as non root user (and bind to port 25).
> Run James under SELinux.
>
> Does anyone has any documentation regarding any one of those tasks ?
>
> Thanks in advanced,
>
> Moshe.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


James as non root user

Posted by Moshe Akirav <mo...@impactia.com>.
Hi,
I am into running James in a more secure mode.

This include:
Run James as non root user (and bind to port 25).
Run James under SELinux.

Does anyone has any documentation regarding any one of those tasks ?

Thanks in advanced,

Moshe. 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: virtual domain in early 3.0 snapshot

Posted by 冉兵 <bi...@hotmail.com>.
Got it working!

Two changes made to the James.java

1. Replaced the last line of isLocalEmail(MailAddress ) to

        boolean contains = localusers.contains(userName);
	if (!contains) {
		userName = mailAddress.getUser();
		contains = localusers.contains(userName);
	}
	return contains;

2. Replaced the first if block in the getUserInbox with

       if (virtualHosting == false) {
        	if  (userName.contains("@")) {
        		userName = userName.split("@")[0];
        	}
        }
        else {
        	if (!userName.contains("@")) {
        		userName += "@" + getDefaultDomain();
        	}
        }


Thanks so much, Norman!

Bing


--------------------------------------------------
From: "Norman Maurer" <no...@apache.org>
Sent: Wednesday, July 14, 2010 9:01 PM
To: "James Users List" <se...@james.apache.org>
Subject: Re: virtual domain in early 3.0 snapshot

> Hi Bing,
>
> I guess you could patch the getUserInbox method:
>
> http://svn.apache.org/viewvc/james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/James.java?revision=722820&view=markup&pathrev=802641
>
> Bye,
> Norman
>
>
> 2010/7/14 冉兵 <bi...@hotmail.com>:
>> Hi Norman,
>>
>> The revision number is 802641.
>>
>> Thanks for the time.
>>
>> Bing
>>
>>
>> --------------------------------------------------
>> From: "Norman Maurer" <no...@apache.org>
>> Sent: Wednesday, July 14, 2010 2:03 PM
>> To: "James Users List" <se...@james.apache.org>
>> Subject: Re: virtual domain in early 3.0 snapshot
>>
>>> Hi Bing,
>>>
>>> could you tell me the exact revision number of the SNAPSHOT you use,
>>> then I could prolly help you with this..
>>>
>>> Bye.
>>> Norman
>>>
>>>
>>> 2010/7/13 冉兵 <bi...@hotmail.com>:
>>>>
>>>> Hi
>>>>
>>>> Appending the domain to current users seemed to work fine. But updating
>>>> all
>>>> hundreds of users is a big change in the organization. Ideally I'd like
>>>> to
>>>> pick the default domain at the runtime so anyone without the domain
>>>> appendix
>>>> will use the default value.
>>>>
>>>> Where is the interesting code that I can modify to implement the logic?
>>>>
>>>> Thanks
>>>>
>>>>
>>>> Bing
>>>>
>>>>
>>>> --------------------------------------------------
>>>> From: "Norman Maurer" <no...@apache.org>
>>>> Sent: Tuesday, July 13, 2010 3:15 PM
>>>> To: "James Users List" <se...@james.apache.org>
>>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>>
>>>>> I think you will either need to modify the existing users and add a
>>>>> @domain part to it or start from scratch..
>>>>>
>>>>> Bye,
>>>>> Norman
>>>>>
>>>>>
>>>>> 2010/7/12 冉兵 <bi...@hotmail.com>:
>>>>>>
>>>>>> OK, I'd like to add a new domain to an existing instance of the old 
>>>>>> 3.0
>>>>>> snapshot. The user accounts don't have domain associated with them
>>>>>> explicitly. Do I have to regenerate all the account and assign a 
>>>>>> domain
>>>>>> to
>>>>>> each of them? Is it safe to switch to multi-domains "in the middle" 
>>>>>> of
>>>>>> using
>>>>>> James or I must start from empty user database to support virtual
>>>>>> domains?
>>>>>>
>>>>>> Bing
>>>>>>
>>>>>>
>>>>>> --------------------------------------------------
>>>>>> From: "冉兵" <bi...@hotmail.com>
>>>>>> Sent: Monday, July 12, 2010 3:27 PM
>>>>>> To: "James Users List" <se...@james.apache.org>
>>>>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> My initial test with the old version went thru fine.
>>>>>>>
>>>>>>> Thanks Norman!
>>>>>>>
>>>>>>> Bing
>>>>>>>
>>>>>>> --------------------------------------------------
>>>>>>> From: "Norman Maurer" <no...@apache.org>
>>>>>>> Sent: Monday, July 12, 2010 3:22 PM
>>>>>>> To: "James Users List" <se...@james.apache.org>
>>>>>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>>>>>
>>>>>>>> Hi Bing,
>>>>>>>>
>>>>>>>> I think it should work there too.. But not 100 % sure..
>>>>>>>>
>>>>>>>> Bye,
>>>>>>>> Norman
>>>>>>>>
>>>>>>>>
>>>>>>>> 2010/7/12 冉兵 <bi...@hotmail.com>:
>>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> While I'm testing the latest 3.0 in trunk, I have a almost one 
>>>>>>>>> year
>>>>>>>>> old
>>>>>>>>> 3.0 snapshot running (just POP3/SMTP, no IMAP4). I'm wondering if
>>>>>>>>> the
>>>>>>>>> virtual domain support works already in the old version. Does it
>>>>>>>>> worth
>>>>>>>>> trying?
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> Bing
>>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: virtual domain in early 3.0 snapshot

Posted by Norman Maurer <no...@apache.org>.
Hi Bing,

I guess you could patch the getUserInbox method:

http://svn.apache.org/viewvc/james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/James.java?revision=722820&view=markup&pathrev=802641

Bye,
Norman


2010/7/14 冉兵 <bi...@hotmail.com>:
> Hi Norman,
>
> The revision number is 802641.
>
> Thanks for the time.
>
> Bing
>
>
> --------------------------------------------------
> From: "Norman Maurer" <no...@apache.org>
> Sent: Wednesday, July 14, 2010 2:03 PM
> To: "James Users List" <se...@james.apache.org>
> Subject: Re: virtual domain in early 3.0 snapshot
>
>> Hi Bing,
>>
>> could you tell me the exact revision number of the SNAPSHOT you use,
>> then I could prolly help you with this..
>>
>> Bye.
>> Norman
>>
>>
>> 2010/7/13 冉兵 <bi...@hotmail.com>:
>>>
>>> Hi
>>>
>>> Appending the domain to current users seemed to work fine. But updating
>>> all
>>> hundreds of users is a big change in the organization. Ideally I'd like
>>> to
>>> pick the default domain at the runtime so anyone without the domain
>>> appendix
>>> will use the default value.
>>>
>>> Where is the interesting code that I can modify to implement the logic?
>>>
>>> Thanks
>>>
>>>
>>> Bing
>>>
>>>
>>> --------------------------------------------------
>>> From: "Norman Maurer" <no...@apache.org>
>>> Sent: Tuesday, July 13, 2010 3:15 PM
>>> To: "James Users List" <se...@james.apache.org>
>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>
>>>> I think you will either need to modify the existing users and add a
>>>> @domain part to it or start from scratch..
>>>>
>>>> Bye,
>>>> Norman
>>>>
>>>>
>>>> 2010/7/12 冉兵 <bi...@hotmail.com>:
>>>>>
>>>>> OK, I'd like to add a new domain to an existing instance of the old 3.0
>>>>> snapshot. The user accounts don't have domain associated with them
>>>>> explicitly. Do I have to regenerate all the account and assign a domain
>>>>> to
>>>>> each of them? Is it safe to switch to multi-domains "in the middle" of
>>>>> using
>>>>> James or I must start from empty user database to support virtual
>>>>> domains?
>>>>>
>>>>> Bing
>>>>>
>>>>>
>>>>> --------------------------------------------------
>>>>> From: "冉兵" <bi...@hotmail.com>
>>>>> Sent: Monday, July 12, 2010 3:27 PM
>>>>> To: "James Users List" <se...@james.apache.org>
>>>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> My initial test with the old version went thru fine.
>>>>>>
>>>>>> Thanks Norman!
>>>>>>
>>>>>> Bing
>>>>>>
>>>>>> --------------------------------------------------
>>>>>> From: "Norman Maurer" <no...@apache.org>
>>>>>> Sent: Monday, July 12, 2010 3:22 PM
>>>>>> To: "James Users List" <se...@james.apache.org>
>>>>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>>>>
>>>>>>> Hi Bing,
>>>>>>>
>>>>>>> I think it should work there too.. But not 100 % sure..
>>>>>>>
>>>>>>> Bye,
>>>>>>> Norman
>>>>>>>
>>>>>>>
>>>>>>> 2010/7/12 冉兵 <bi...@hotmail.com>:
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> While I'm testing the latest 3.0 in trunk, I have a almost one year
>>>>>>>> old
>>>>>>>> 3.0 snapshot running (just POP3/SMTP, no IMAP4). I'm wondering if
>>>>>>>> the
>>>>>>>> virtual domain support works already in the old version. Does it
>>>>>>>> worth
>>>>>>>> trying?
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> Bing
>>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: virtual domain in early 3.0 snapshot

Posted by 冉兵 <bi...@hotmail.com>.
Hi Norman,

The revision number is 802641.

Thanks for the time.

Bing


--------------------------------------------------
From: "Norman Maurer" <no...@apache.org>
Sent: Wednesday, July 14, 2010 2:03 PM
To: "James Users List" <se...@james.apache.org>
Subject: Re: virtual domain in early 3.0 snapshot

> Hi Bing,
>
> could you tell me the exact revision number of the SNAPSHOT you use,
> then I could prolly help you with this..
>
> Bye.
> Norman
>
>
> 2010/7/13 冉兵 <bi...@hotmail.com>:
>> Hi
>>
>> Appending the domain to current users seemed to work fine. But updating 
>> all
>> hundreds of users is a big change in the organization. Ideally I'd like 
>> to
>> pick the default domain at the runtime so anyone without the domain 
>> appendix
>> will use the default value.
>>
>> Where is the interesting code that I can modify to implement the logic?
>>
>> Thanks
>>
>>
>> Bing
>>
>>
>> --------------------------------------------------
>> From: "Norman Maurer" <no...@apache.org>
>> Sent: Tuesday, July 13, 2010 3:15 PM
>> To: "James Users List" <se...@james.apache.org>
>> Subject: Re: virtual domain in early 3.0 snapshot
>>
>>> I think you will either need to modify the existing users and add a
>>> @domain part to it or start from scratch..
>>>
>>> Bye,
>>> Norman
>>>
>>>
>>> 2010/7/12 冉兵 <bi...@hotmail.com>:
>>>>
>>>> OK, I'd like to add a new domain to an existing instance of the old 3.0
>>>> snapshot. The user accounts don't have domain associated with them
>>>> explicitly. Do I have to regenerate all the account and assign a domain
>>>> to
>>>> each of them? Is it safe to switch to multi-domains "in the middle" of
>>>> using
>>>> James or I must start from empty user database to support virtual
>>>> domains?
>>>>
>>>> Bing
>>>>
>>>>
>>>> --------------------------------------------------
>>>> From: "冉兵" <bi...@hotmail.com>
>>>> Sent: Monday, July 12, 2010 3:27 PM
>>>> To: "James Users List" <se...@james.apache.org>
>>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>>
>>>>> Hi,
>>>>>
>>>>> My initial test with the old version went thru fine.
>>>>>
>>>>> Thanks Norman!
>>>>>
>>>>> Bing
>>>>>
>>>>> --------------------------------------------------
>>>>> From: "Norman Maurer" <no...@apache.org>
>>>>> Sent: Monday, July 12, 2010 3:22 PM
>>>>> To: "James Users List" <se...@james.apache.org>
>>>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>>>
>>>>>> Hi Bing,
>>>>>>
>>>>>> I think it should work there too.. But not 100 % sure..
>>>>>>
>>>>>> Bye,
>>>>>> Norman
>>>>>>
>>>>>>
>>>>>> 2010/7/12 冉兵 <bi...@hotmail.com>:
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> While I'm testing the latest 3.0 in trunk, I have a almost one year
>>>>>>> old
>>>>>>> 3.0 snapshot running (just POP3/SMTP, no IMAP4). I'm wondering if 
>>>>>>> the
>>>>>>> virtual domain support works already in the old version. Does it 
>>>>>>> worth
>>>>>>> trying?
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Bing
>>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: virtual domain in early 3.0 snapshot

Posted by Norman Maurer <no...@apache.org>.
Hi Bing,

could you tell me the exact revision number of the SNAPSHOT you use,
then I could prolly help you with this..

Bye.
Norman


2010/7/13 冉兵 <bi...@hotmail.com>:
> Hi
>
> Appending the domain to current users seemed to work fine. But updating all
> hundreds of users is a big change in the organization. Ideally I'd like to
> pick the default domain at the runtime so anyone without the domain appendix
> will use the default value.
>
> Where is the interesting code that I can modify to implement the logic?
>
> Thanks
>
>
> Bing
>
>
> --------------------------------------------------
> From: "Norman Maurer" <no...@apache.org>
> Sent: Tuesday, July 13, 2010 3:15 PM
> To: "James Users List" <se...@james.apache.org>
> Subject: Re: virtual domain in early 3.0 snapshot
>
>> I think you will either need to modify the existing users and add a
>> @domain part to it or start from scratch..
>>
>> Bye,
>> Norman
>>
>>
>> 2010/7/12 冉兵 <bi...@hotmail.com>:
>>>
>>> OK, I'd like to add a new domain to an existing instance of the old 3.0
>>> snapshot. The user accounts don't have domain associated with them
>>> explicitly. Do I have to regenerate all the account and assign a domain
>>> to
>>> each of them? Is it safe to switch to multi-domains "in the middle" of
>>> using
>>> James or I must start from empty user database to support virtual
>>> domains?
>>>
>>> Bing
>>>
>>>
>>> --------------------------------------------------
>>> From: "冉兵" <bi...@hotmail.com>
>>> Sent: Monday, July 12, 2010 3:27 PM
>>> To: "James Users List" <se...@james.apache.org>
>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>
>>>> Hi,
>>>>
>>>> My initial test with the old version went thru fine.
>>>>
>>>> Thanks Norman!
>>>>
>>>> Bing
>>>>
>>>> --------------------------------------------------
>>>> From: "Norman Maurer" <no...@apache.org>
>>>> Sent: Monday, July 12, 2010 3:22 PM
>>>> To: "James Users List" <se...@james.apache.org>
>>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>>
>>>>> Hi Bing,
>>>>>
>>>>> I think it should work there too.. But not 100 % sure..
>>>>>
>>>>> Bye,
>>>>> Norman
>>>>>
>>>>>
>>>>> 2010/7/12 冉兵 <bi...@hotmail.com>:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> While I'm testing the latest 3.0 in trunk, I have a almost one year
>>>>>> old
>>>>>> 3.0 snapshot running (just POP3/SMTP, no IMAP4). I'm wondering if the
>>>>>> virtual domain support works already in the old version. Does it worth
>>>>>> trying?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Bing
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: virtual domain in early 3.0 snapshot

Posted by 冉兵 <bi...@hotmail.com>.
Hi

Appending the domain to current users seemed to work fine. But updating all 
hundreds of users is a big change in the organization. Ideally I'd like to 
pick the default domain at the runtime so anyone without the domain appendix 
will use the default value.

Where is the interesting code that I can modify to implement the logic?

Thanks


Bing


--------------------------------------------------
From: "Norman Maurer" <no...@apache.org>
Sent: Tuesday, July 13, 2010 3:15 PM
To: "James Users List" <se...@james.apache.org>
Subject: Re: virtual domain in early 3.0 snapshot

> I think you will either need to modify the existing users and add a
> @domain part to it or start from scratch..
>
> Bye,
> Norman
>
>
> 2010/7/12 冉兵 <bi...@hotmail.com>:
>> OK, I'd like to add a new domain to an existing instance of the old 3.0
>> snapshot. The user accounts don't have domain associated with them
>> explicitly. Do I have to regenerate all the account and assign a domain 
>> to
>> each of them? Is it safe to switch to multi-domains "in the middle" of 
>> using
>> James or I must start from empty user database to support virtual 
>> domains?
>>
>> Bing
>>
>>
>> --------------------------------------------------
>> From: "冉兵" <bi...@hotmail.com>
>> Sent: Monday, July 12, 2010 3:27 PM
>> To: "James Users List" <se...@james.apache.org>
>> Subject: Re: virtual domain in early 3.0 snapshot
>>
>>> Hi,
>>>
>>> My initial test with the old version went thru fine.
>>>
>>> Thanks Norman!
>>>
>>> Bing
>>>
>>> --------------------------------------------------
>>> From: "Norman Maurer" <no...@apache.org>
>>> Sent: Monday, July 12, 2010 3:22 PM
>>> To: "James Users List" <se...@james.apache.org>
>>> Subject: Re: virtual domain in early 3.0 snapshot
>>>
>>>> Hi Bing,
>>>>
>>>> I think it should work there too.. But not 100 % sure..
>>>>
>>>> Bye,
>>>> Norman
>>>>
>>>>
>>>> 2010/7/12 冉兵 <bi...@hotmail.com>:
>>>>>
>>>>> Hi,
>>>>>
>>>>> While I'm testing the latest 3.0 in trunk, I have a almost one year 
>>>>> old
>>>>> 3.0 snapshot running (just POP3/SMTP, no IMAP4). I'm wondering if the
>>>>> virtual domain support works already in the old version. Does it worth
>>>>> trying?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Bing
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: virtual domain in early 3.0 snapshot

Posted by Norman Maurer <no...@apache.org>.
I think you will either need to modify the existing users and add a
@domain part to it or start from scratch..

Bye,
Norman


2010/7/12 冉兵 <bi...@hotmail.com>:
> OK, I'd like to add a new domain to an existing instance of the old 3.0
> snapshot. The user accounts don't have domain associated with them
> explicitly. Do I have to regenerate all the account and assign a domain to
> each of them? Is it safe to switch to multi-domains "in the middle" of using
> James or I must start from empty user database to support virtual domains?
>
> Bing
>
>
> --------------------------------------------------
> From: "冉兵" <bi...@hotmail.com>
> Sent: Monday, July 12, 2010 3:27 PM
> To: "James Users List" <se...@james.apache.org>
> Subject: Re: virtual domain in early 3.0 snapshot
>
>> Hi,
>>
>> My initial test with the old version went thru fine.
>>
>> Thanks Norman!
>>
>> Bing
>>
>> --------------------------------------------------
>> From: "Norman Maurer" <no...@apache.org>
>> Sent: Monday, July 12, 2010 3:22 PM
>> To: "James Users List" <se...@james.apache.org>
>> Subject: Re: virtual domain in early 3.0 snapshot
>>
>>> Hi Bing,
>>>
>>> I think it should work there too.. But not 100 % sure..
>>>
>>> Bye,
>>> Norman
>>>
>>>
>>> 2010/7/12 冉兵 <bi...@hotmail.com>:
>>>>
>>>> Hi,
>>>>
>>>> While I'm testing the latest 3.0 in trunk, I have a almost one year old
>>>> 3.0 snapshot running (just POP3/SMTP, no IMAP4). I'm wondering if the
>>>> virtual domain support works already in the old version. Does it worth
>>>> trying?
>>>>
>>>> Thanks
>>>>
>>>> Bing
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: virtual domain in early 3.0 snapshot

Posted by 冉兵 <bi...@hotmail.com>.
OK, I'd like to add a new domain to an existing instance of the old 3.0 
snapshot. The user accounts don't have domain associated with them 
explicitly. Do I have to regenerate all the account and assign a domain to 
each of them? Is it safe to switch to multi-domains "in the middle" of using 
James or I must start from empty user database to support virtual domains?

Bing


--------------------------------------------------
From: "冉兵" <bi...@hotmail.com>
Sent: Monday, July 12, 2010 3:27 PM
To: "James Users List" <se...@james.apache.org>
Subject: Re: virtual domain in early 3.0 snapshot

> Hi,
>
> My initial test with the old version went thru fine.
>
> Thanks Norman!
>
> Bing
>
> --------------------------------------------------
> From: "Norman Maurer" <no...@apache.org>
> Sent: Monday, July 12, 2010 3:22 PM
> To: "James Users List" <se...@james.apache.org>
> Subject: Re: virtual domain in early 3.0 snapshot
>
>> Hi Bing,
>>
>> I think it should work there too.. But not 100 % sure..
>>
>> Bye,
>> Norman
>>
>>
>> 2010/7/12 冉兵 <bi...@hotmail.com>:
>>> Hi,
>>>
>>> While I'm testing the latest 3.0 in trunk, I have a almost one year old 
>>> 3.0 snapshot running (just POP3/SMTP, no IMAP4). I'm wondering if the 
>>> virtual domain support works already in the old version. Does it worth 
>>> trying?
>>>
>>> Thanks
>>>
>>> Bing
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: virtual domain in early 3.0 snapshot

Posted by 冉兵 <bi...@hotmail.com>.
Hi,

My initial test with the old version went thru fine.

Thanks Norman!

Bing

--------------------------------------------------
From: "Norman Maurer" <no...@apache.org>
Sent: Monday, July 12, 2010 3:22 PM
To: "James Users List" <se...@james.apache.org>
Subject: Re: virtual domain in early 3.0 snapshot

> Hi Bing,
>
> I think it should work there too.. But not 100 % sure..
>
> Bye,
> Norman
>
>
> 2010/7/12 冉兵 <bi...@hotmail.com>:
>> Hi,
>>
>> While I'm testing the latest 3.0 in trunk, I have a almost one year old 
>> 3.0 snapshot running (just POP3/SMTP, no IMAP4). I'm wondering if the 
>> virtual domain support works already in the old version. Does it worth 
>> trying?
>>
>> Thanks
>>
>> Bing
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: virtual domain in early 3.0 snapshot

Posted by Norman Maurer <no...@apache.org>.
Hi Bing,

I think it should work there too.. But not 100 % sure..

Bye,
Norman


2010/7/12 冉兵 <bi...@hotmail.com>:
> Hi,
>
> While I'm testing the latest 3.0 in trunk, I have a almost one year old 3.0 snapshot running (just POP3/SMTP, no IMAP4). I'm wondering if the virtual domain support works already in the old version. Does it worth trying?
>
> Thanks
>
> Bing
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org