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 "Steve B." <sb...@browsermedia.com> on 2009/10/14 20:42:23 UTC

Can James support sub-addressing?

I looked at documentation, archives and Google but could not find an 
answer to this question:

Does james support sub-addressing? For example:

sbelt+personal@mysite.com

or as in qMail (since some sites block the '+') support for:

sbelt-personal@mysite.com

(In both/either example above I would want the mail to go to the 
repository for sbelt@mysite.com)

I have installed James and tested locally to find that at least "out of 
the box" this is not supported. Would I need to add this myself? Using 
JSieve?

Thanks!

Steve B.

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


how to add, remove users with code?

Posted by clay <cl...@grabafact.com>.
I'd like to add and remove users from James without using Telnet.

Can I do that with code?
Are there any examples out there?

Is this done with a Mailet?

Thanks!

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


Re: Where can I download the James API describing the userrepository package?

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

this kind of questions are better ask on server-dev@, however I will
try to answer it ;)

In the current trunk of JAMES you could use JMX todo this kind of
work. In 2.3.x you will need to stick with telnet. I remember some
people mention they did this with commons-net todo this kind of stuff
from within java.

Sorry mate.

Bye,
Norman


2009/10/15 clay <cl...@grabafact.com>:
> Thanks for your reply.
>
> You know, I may have to switch to a DB but I'm really hoping I can
>
> figure out/find out how to use this:
> http://james.apache.org/server/2.3.1/apidocs/org/apache/james/userrepository
> /UsersFileRepository.html
>
> It says it is a "Repository to store users on the File System" and it has
> all the methods needed to manage them ... addUser, removeUser, etc.
>
>
>
> -----Original Message-----
> From: Eric MacAdie [mailto:eric@MacAdie.net]
> Sent: Wednesday, October 14, 2009 4:21p
> To: James Users List
> Subject: Re: Where can I download the James API describing the
> userrepository package?
>
>
> I have a page that describes how to add users via SQL:
> http://www.MacAdie.net/opencms/opencms/sites/MacAdie.dot.Net/Java/James/006.
> managingUsersWithADatabase.html
>
> If you are not storing user information in a database, then I think
> telnet is the only solution.
>
> Regards,
> Eric MacAdie
>
>
> clay wrote:
>> I'm looking for information on how to add/remove users with a program.
>>
>> I found this online:
>>
>>
> http://james.apache.org/server/2.3.1/apidocs/org/apache/james/userrepository
>> /package-summary.html
>>
>> It looks like it is useful but I can't find where to download it.
>>
>> I downloaded the mailets API, I thought it might be there, but it isn't.
>>
>>
>> Thanks for your help.
>>
>
>
> ---------------------------------------------------------------------
> 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: Where can I download the James API describing the userrepository package?

Posted by clay <cl...@grabafact.com>.
Thanks for your reply.

You know, I may have to switch to a DB but I'm really hoping I can

figure out/find out how to use this:
http://james.apache.org/server/2.3.1/apidocs/org/apache/james/userrepository
/UsersFileRepository.html

It says it is a "Repository to store users on the File System" and it has
all the methods needed to manage them ... addUser, removeUser, etc.



-----Original Message-----
From: Eric MacAdie [mailto:eric@MacAdie.net]
Sent: Wednesday, October 14, 2009 4:21p
To: James Users List
Subject: Re: Where can I download the James API describing the
userrepository package?


I have a page that describes how to add users via SQL:
http://www.MacAdie.net/opencms/opencms/sites/MacAdie.dot.Net/Java/James/006.
managingUsersWithADatabase.html

If you are not storing user information in a database, then I think
telnet is the only solution.

Regards,
Eric MacAdie


clay wrote:
> I'm looking for information on how to add/remove users with a program.
>
> I found this online:
>
>
http://james.apache.org/server/2.3.1/apidocs/org/apache/james/userrepository
> /package-summary.html
>
> It looks like it is useful but I can't find where to download it.
>
> I downloaded the mailets API, I thought it might be there, but it isn't.
>
>
> Thanks for your help.
>


---------------------------------------------------------------------
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: Where can I download the James API describing the userrepository package?

Posted by Eric MacAdie <er...@MacAdie.net>.
I have a page that describes how to add users via SQL:
http://www.MacAdie.net/opencms/opencms/sites/MacAdie.dot.Net/Java/James/006.managingUsersWithADatabase.html

If you are not storing user information in a database, then I think 
telnet is the only solution.

Regards,
Eric MacAdie


clay wrote:
> I'm looking for information on how to add/remove users with a program.
>
> I found this online:
>
> http://james.apache.org/server/2.3.1/apidocs/org/apache/james/userrepository
> /package-summary.html
>
> It looks like it is useful but I can't find where to download it.
>
> I downloaded the mailets API, I thought it might be there, but it isn't.
>
>
> Thanks for your help.
>   


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


Where can I download the James API describing the userrepository package?

Posted by clay <cl...@grabafact.com>.
I'm looking for information on how to add/remove users with a program.

I found this online:

http://james.apache.org/server/2.3.1/apidocs/org/apache/james/userrepository
/package-summary.html

It looks like it is useful but I can't find where to download it.

I downloaded the mailets API, I thought it might be there, but it isn't.


Thanks for your help.


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