I have been following this thread with interest, as it is something I want to do also, and have ran into a snag trying it out. Using a MySQL database, I added the VirtualUserTable and populated the three fields for an entry as follows:
user = "myName" domain = "myVirtualDomain.com" target_address = "[EMAIL PROTECTED]" I added the mailet to use the JDBCVirtualUserTable class, as described. If I send an email from [EMAIL PROTECTED] to [EMAIL PROTECTED] it works as expected and the mail gets delivered to [EMAIL PROTECTED] (My James server is handling mail for myDomain.com and myVirtualDomain.com.) However, the snag seems to be caused because I am requiring SMTP authorization to send an email through James. If I send a test email from [EMAIL PROTECTED] to [EMAIL PROTECTED] I am getting a 530 Authentication Required error. This error is not coming from the server at someOtherDomain.com (someOtherDomain.com is actually for my account at my ISP that I am using to test this with. My email handler, works fine for me, in sending out emails to other places, when I use either my ISP's server, or my James server to send an email from.) If I were to make a guess, I'd guess James is picking up the incoming email to the virtual domain address OK, then attempting to resend it to the target_address??? If so, could the attempt to resend the email to the target_address run afoul of the SMTP authorization requirement? If so, is there a way to tell the mailet the password needed to authorize the resending of the email? I admit I don't fully understand the model for virtual domains and the James email server ;-) but I have a follow on question. Will this allow a user to send and email FROM his virtual domain address also? If so, how do I set up James and an email application such as Outlook Express for this scenario? Thanks.. Marc... ----- Original Message ----- From: "Noel J. Bergman" <[EMAIL PROTECTED]> To: "James Users List" <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 10:48 AM Subject: RE: multidomain > If you look again at what I told you to look at, you'll find that with the > JDBCVirtualUserTable mailet, you can setup [EMAIL PROTECTED] and > [EMAIL PROTECTED] to go to separate local users (or to the same, depending > upon what you want), e.g., > > info wise-lab.it lab-info@localhost > info wisemodel.com model-info@localhost > > If you don't want to setup JDBCVirtualUserTable, you can use the UserIs > matcher for each such address before local delivery is attempted. > > --- Noel > > -----Original Message----- > From: Davide Frigerio [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 02, 2003 9:35 > To: James Users List > Subject: R: multidomain > > > Perhaps you need to define "it" more precisely. I took your inquiry to be > > asking how to support, for example, "wise-lab.it" and "wisemodel.com" on > the > > same server. > You are right, and I want to know what I can do to support in James multiple > domains with same username; e.g. [EMAIL PROTECTED] and [EMAIL PROTECTED] . > > Thanks a lot. > > Davide. > > -----Messaggio originale----- > Da: Noel J. Bergman [mailto:[EMAIL PROTECTED]] > Inviato: giovedi 2 gennaio 2003 14.50 > A: James Users List > Oggetto: RE: multidomain > > > > I need something(mailet) that help me about the user > > and domain relation. > > What about the user and domain relation do you need help with, other than a > mapping from a user and domain to an address? > > > I have "some" mail domain that are handled with the same > > mail server. > > I currently support over a dozen different domains on my server, using the > mailet mentioned in that FAQ. > > > Does James support it or I need to write a special mailet? > > Perhaps you need to define "it" more precisely. I took your inquiry to be > asking how to support, for example, "wise-lab.it" and "wisemodel.com" on the > same server. > > --- Noel > > -----Original Message----- > From: Davide Frigerio [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 02, 2003 8:16 > To: James Users List > Subject: R: multidomain > > > Not at all. I need something(mailet) that help me about the user and domain > relation. I mean, I have "some" mail domain that are handled with the same > mail server. > Does James support it or I need to write a special mailet? > > Thanks a lot. > Davide. > > -----Messaggio originale----- > Da: Noel J. Bergman [mailto:[EMAIL PROTECTED]] > Inviato: giovedi 2 gennaio 2003 13.39 > A: James Users List > Oggetto: RE: multidomain > > > > With the latest release wich is the best way to support > > multidomain in James? > > Does this help? http://jakarta.apache.org/james/FAQ.html#7 > > --- Noel > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
