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 Cuevas Tony <tc...@sbcglobal.net> on 2005/02/26 04:10:33 UTC

Any workaround for virtual domains/users

Hi-

I am trying to create a user with various aliases
within a domain. But the same user may exist in
another domain. For example,
tony@foo.com
tony@bar.com

Currently any mail to tony@foo.com would also be
received from tony@bar.com. The documentation specfies
that you cannot use a fully qualified email address to
define your user. 
How can I define 2 tony users with different domains
w/o running james smtp on diff ports? 

Thanks in advance,

tony

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


RE: Any workaround for virtual domains/users

Posted by Daniel Perry <d....@netcase.co.uk>.
Use a JDBCVirtualUserTable mailet. (or xml equivilent)

Set up users like tony%foo.com and tony%bar.com, and map the addresses to
these in the table.

Due to the migration of other companies mail services onto our server, i had
to modify james so that it would handle @ chars in pop/smtp usernames. i did
this by adding strategicly placed code to convert @ into ..at.. which worked
a treat.

Another problem you may have is that you have to define all the domains in
the servernames block.  I got round this with a bodge that uses the virtual
users table as well as the servernames in config.xml.

Daniel.

> -----Original Message-----
> From: Cuevas Tony [mailto:tc_blue@sbcglobal.net]
> Sent: 26 February 2005 03:11
> To: server-user@james.apache.org
> Subject: Any workaround for virtual domains/users
>
>
> Hi-
>
> I am trying to create a user with various aliases
> within a domain. But the same user may exist in
> another domain. For example,
> tony@foo.com
> tony@bar.com
>
> Currently any mail to tony@foo.com would also be
> received from tony@bar.com. The documentation specfies
> that you cannot use a fully qualified email address to
> define your user.
> How can I define 2 tony users with different domains
> w/o running james smtp on diff ports?
>
> Thanks in advance,
>
> tony
>
> ---------------------------------------------------------------------
> 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: Any workaround for virtual domains/users

Posted by "Noel J. Bergman" <no...@devtech.com>.
See the VirtualUserTable mailets.

	--- Noel

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