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:[EMAIL PROTECTED] > 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, > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > Currently any mail to [EMAIL PROTECTED] would also be > received from [EMAIL PROTECTED] 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]