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 James User <ja...@athletechs.com> on 2008/01/10 17:19:02 UTC

Multiple domains on JAMES (sales(@)xyz.com and sales(@)abc.com )

I originally tried submitting this question with actual email addresses 
but it got kicked back with:  552 spam score (6.1) exceeded threshold.  
I am assuming this was due to the use of email addresses in the subject 
and body so I changed the syntax of the email addresses.

It is pretty easy to get JAMES to accept email for both addresses:  
sales(@)xyz.com and sales(@)abc.com, but how do I configure JAMES to put 
the emails to sales(@)xyz.com into one mailbox and emails to 
sales(@)abc.com in a different mailbox/user account?

On other SMTP servers I could create accounts such as abc_sales and 
xyz_sales and then create a forward rule to forward mail to 
sales(@)abc.com > abc_sales and mail to sales(@)xys.com > xyz_sales.

I am able to create the user accounts but I cannot figure out how to do 
the forwarding logic.  Would this be done in a mailet/matcher or via 
JAMES Administrative command such as setalias and setforwarding?

Thanks in advance for your help!
---------------------------------------------------------------------
Powered by athletechs, a service of ViableIT, LLC
Copyright(c) 2007 ViableIT, LLC, 3432 Denmark Ave. Suite 101, Eagan MN 55123

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


Re: Multiple domains on JAMES (sales(@)xyz.com and sales(@)abc.com )

Posted by Kim Albee <mt...@gmail.com>.
Where can I find the examples on forwarding and setting up the VUT?

On Fri, Jan 11, 2008 at 3:46 PM, Noel J. Bergman <no...@devtech.com> wrote:

> > It is pretty easy to get JAMES to accept email for both addresses:
> > sales(@)xyz.com and sales(@)abc.com, but how do I configure JAMES
> > to put the emails to sales(@)xyz.com into one mailbox and emails to
> > sales(@)abc.com in a different mailbox/user account?
>
> Just like you did with the other servers: create two mailboxes and use a
> virtual user table (VUT) to map each SMTP address to a local mailbox.
>
> > On other SMTP servers I could create accounts such as abc_sales and
> > xyz_sales and then create a forward rule to forward mail to
> > sales(@)abc.com > abc_sales and mail to sales(@)xys.com > xyz_sales.
>
> Right, so create abc_sales and xyz_sales, and use a VUT to send
> sales@abc.com to abc_sales, and sales@xyz.com to xyz_sales.  You could
> even
> get clever with regex patterns if you have a consistent naming convention.
> See the examples that come with JAMES.
>
>        --- Noel
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

RE: Multiple domains on JAMES (sales(@)xyz.com and sales(@)abc.com )

Posted by "Noel J. Bergman" <no...@devtech.com>.
> It is pretty easy to get JAMES to accept email for both addresses:
> sales(@)xyz.com and sales(@)abc.com, but how do I configure JAMES
> to put the emails to sales(@)xyz.com into one mailbox and emails to
> sales(@)abc.com in a different mailbox/user account?

Just like you did with the other servers: create two mailboxes and use a
virtual user table (VUT) to map each SMTP address to a local mailbox.

> On other SMTP servers I could create accounts such as abc_sales and
> xyz_sales and then create a forward rule to forward mail to
> sales(@)abc.com > abc_sales and mail to sales(@)xys.com > xyz_sales.

Right, so create abc_sales and xyz_sales, and use a VUT to send
sales@abc.com to abc_sales, and sales@xyz.com to xyz_sales.  You could even
get clever with regex patterns if you have a consistent naming convention.
See the examples that come with JAMES.

	--- Noel



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