And when you have it all worked out, you might like to add an 'HOWTO' to the James Wiki at http://wiki.apache.org/james/JamesDocumentationNotes, as might others that use this functionality. Then the next time someone asks, we can point them there, saving them the hassle of trawling the list archives.
-- Steve Daniel Perry wrote: > > not that i know of. (other than list archives) > > It's pretty straight forward: > > create the database table (assuming you already have a db > repository, then > use that) > > stick the mailet in - quite early on in root processor. If you have a > hostisnotlocal matcher designed to stop relaying then it must > be before the > jdbccirtualusertable mailet. > > enter data into table. > > Works a treat. > > Have a go and experiment a bit. Any probs, just ask the list! > > Daniel. > > > > -----Original Message----- > > From: Ivan Jouikov [mailto:[EMAIL PROTECTED] > > Sent: 06 July 2005 09:52 > > To: 'James Users List' > > Subject: RE: Can JAMES do mail forwarding? > > > > > > Is there any good docs on that virutalusertable? There's a brief > > description on the james website, but that definitely > doesn't explain > > how to set it up or nothing like that.. > > > > >-----Original Message----- > > >From: Daniel Perry [mailto:[EMAIL PROTECTED] > > >Sent: Wednesday, July 06, 2005 2:32 AM > > >To: James Users List > > >Subject: RE: Can JAMES do mail forwarding? > > > > > >You might also be interested in JDBC/XML VirtualUserTable. > > > > > >That way one mailet can map as many addresses as you like. You can > > specify > > >forwarders for single addresses: > > >user:admin domain woo.com targetaddress:[EMAIL PROTECTED] > > > > > >or all addresses: > > >user:% domain:woo.com targetaddress:[EMAIL PROTECTED] > > > > > >or both - if it doesnt match single, it uses the default. > > > > > >Daniel. > > > > > > > > > > > >> -----Original Message----- > > >> From: Ivan Jouikov [mailto:[EMAIL PROTECTED] > > >> Sent: 06 July 2005 09:27 > > >> To: 'James Users List' > > >> Subject: RE: Can JAMES do mail forwarding? > > >> > > >> > > >> Heh thanks, you're like my personal jesus Christ! > > >> > > >> I guess I should apologize as I could have probably found those > > things > > >> in the doc, but thanks a lot! > > >> > > >> >-----Original Message----- > > >> >From: Vincenzo Gianferrari Pini > > >> [mailto:[EMAIL PROTECTED] > > >> >Sent: Wednesday, July 06, 2005 2:19 AM > > >> >To: James Users List > > >> >Subject: Re: Can JAMES do mail forwarding? > > >> > > > >> >Ivan Jouikov wrote: > > >> > > > >> >>Wow thanks! > > >> >> > > >> >>Wouldn't that be a big excessive if I have many > clients who want > > this? > > >> >> > > >> >> > > >> >Absolutely no problem. > > >> > > > >> >>Also, can I make it not host-specific, but > address-specific? Like > > >> >>[EMAIL PROTECTED], not just [EMAIL PROTECTED] ? > > >> >> > > >> >> > > >> > <mailet match="[EMAIL PROTECTED]" class="Forward"> > > >> > <forwardto> [EMAIL PROTECTED] </forwardto> > > >> > </mailet> > > >> > > > >> >> > > >> >> > > >> >>>-----Original Message----- > > >> >>>From: Vincenzo Gianferrari Pini > > >> >>> > > >> >>> > > >> >>[mailto:[EMAIL PROTECTED] > > >> >> > > >> >> > > >> >>>Sent: Wednesday, July 06, 2005 2:09 AM > > >> >>>To: James Users List > > >> >>>Subject: Re: Can JAMES do mail forwarding? > > >> >>> > > >> >>>Yes, put the following in config.xml: > > >> >>> > > >> >>> <mailet match="SenderHostIs=woo.com" class="Forward"> > > >> >>> <forwardto> [EMAIL PROTECTED] </forwardto> > > >> >>> </mailet> > > >> >>> > > >> >>>Ivan Jouikov wrote: > > >> >>> > > >> >>> > > >> >>> > > >> >>>>Here's the scenario: > > >> >>>> > > >> >>>>An email domain "woo.com" has its MX pointing to my server > > which's > > >> >>>>running james as a mail server > > >> >>>> > > >> >>>>My client who owns woo.com wants so that all the > mail that hits > > >> >>>>[EMAIL PROTECTED] is forwarded to her @hotmail.com email. > > >> >>>> > > >> >>>>Is there a way to accomplish that? > > >> >>>> > > >> >>>> > > >> >>>> > > >> >>>> > > >> >>>> > > >> > > > >>>----------------------------------------------------------- > ---------- > > >> >>>To unsubscribe, e-mail: > [EMAIL PROTECTED] > > >> >>>For additional commands, e-mail: > [EMAIL PROTECTED] > > >> >>> > > >> >>> > > >> >>> > > >> >>>-- > > >> >>>No virus found in this incoming message. > > >> >>>Checked by AVG Anti-Virus. > > >> >>>Version: 7.0.323 / Virus Database: 267.8.9/41 - Release Date: > > >> 7/5/2005 > > >> >>> > > >> >>> > > >> >> > > >> >> > > >> >> > > >> > > > >>------------------------------------------------------------ > --------- > > >> >>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] > > >> > > > >> > > > >> > > > >> >-- > > >> >No virus found in this incoming message. > > >> >Checked by AVG Anti-Virus. > > >> >Version: 7.0.323 / Virus Database: 267.8.9/41 - Release Date: > > 7/5/2005 > > >> > > >> > > >> > > >> > --------------------------------------------------------------------- > > >> 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] > > > > > > > > > > > >-- > > >No virus found in this incoming message. > > >Checked by AVG Anti-Virus. > > >Version: 7.0.323 / Virus Database: 267.8.9/41 - Release > Date: 7/5/2005 > > > > > > > > > --------------------------------------------------------------------- > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]