Customer users based on email domain

Hi all, I'd like to know if it's possible, and if so, how would I do the following: We're setting up OTRS for our internal use and to provide IT support to a few customers. All communication will be done via email, both creating and replying to tickets and therefore, we have no real need of customers accessing the customer portal. I would however like to associate each new user email with a customer id. So, users that create a ticket from me@acme.co are assigned to Acme Co. Users from me@evil.corp are assigned to Evil Copr. etc. Is this possible of to I have to manually create a customer user and associate it with a customer ID for Acme and Evil Corp.? Cheers, Pedro

Hi *, Do you want to create the new customer users or do you just want assign the customer id to the ticket? Cheers, Renée Am 11.07.2017 um 11:40 schrieb Pedro Lobo:
Hi all,
I'd like to know if it's possible, and if so, how would I do the following:
We're setting up OTRS for our internal use and to provide IT support to a few customers. All communication will be done via email, both creating and replying to tickets and therefore, we have no real need of customers accessing the customer portal. I would however like to associate each new user email with a customer id. So, users that create a ticket from me@acme.co are assigned to Acme Co. Users from me@evil.corp are assigned to Evil Copr. etc.
Is this possible of to I have to manually create a customer user and associate it with a customer ID for Acme and Evil Corp.?
Cheers, Pedro
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
-- Perl / OTRS development: http://perl-services.de OTRS AddOn repository: http://opar.perl-services.de

Hi Renee, I'd like to create a new user and assign it to the Customer ID (Company). That way I retain historical data. Currently I'm doing this by hand but would prefer to automate this if possible. So steps would be: 1. Receive an email from a user that doesn't yet have a customer user account 2. Create a new customer user account and associate it with a company (customer id) 3. Associate services with the newly create user (could be all or possibly use the domain to determine that too.) Thanks for any help with this matter, Pedro On 11 Jul 2017, at 10:53, Renee B wrote:
Hi *,
Do you want to create the new customer users or do you just want assign the customer id to the ticket?
Cheers, Renée
Am 11.07.2017 um 11:40 schrieb Pedro Lobo:
Hi all,
I'd like to know if it's possible, and if so, how would I do the following:
We're setting up OTRS for our internal use and to provide IT support to a few customers. All communication will be done via email, both creating and replying to tickets and therefore, we have no real need of customers accessing the customer portal. I would however like to associate each new user email with a customer id. So, users that create a ticket from me@acme.co are assigned to Acme Co. Users from me@evil.corp are assigned to Evil Copr. etc.
Is this possible of to I have to manually create a customer user and associate it with a customer ID for Acme and Evil Corp.?
Cheers, Pedro
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
-- Perl / OTRS development: http://perl-services.de OTRS AddOn repository: http://opar.perl-services.de
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs

On 11/07/2017 11:40, Pedro Lobo wrote:
Hi all,
I'd like to know if it's possible, and if so, how would I do the following:
We're setting up OTRS for our internal use and to provide IT support to a few customers. All communication will be done via email, both creating and replying to tickets and therefore, we have no real need of customers accessing the customer portal. I would however like to associate each new user email with a customer id. So, users that create a ticket from me@acme.co are assigned to Acme Co. Users from me@evil.corp are assigned to Evil Copr. etc.
Is this possible of to I have to manually create a customer user and associate it with a customer ID for Acme and Evil Corp.?
Cheers, Pedro
Hi, to set the customer based on the domain of the e-mail, you need to set-up an e-mail filter. Go to Admin, Postmaster filters, create a new filter. To take you example of evil.corp: Fill in the name and wether you want to stop after the match. Filter condition: Check e-mail header: From As a value you could add for instance: (.*@evil.corp) Set e-mail headers: Set e-mail header: X-OTRS-CustomerNo, Set value: "Evil Corp" Evil Corp should exist as customer company. Regards, Benedict

That’s nice and a perfect explanation, and I think I can do that. But would be much easier if I can set the internet domain in customer data, and then everything else gets “magically”. What if I need to configure 50.000 customers (which I don’t have, but I can dream right?). Having 50.000 rules to setup is higly error prone, and it seems to me a kind of huge effort for something relatively simple to implement other way (by having this “internet domain” – or could “internet domains” – as a field in the standard OTRS). I know, I can change the sources, and add everything I want – but I really don’t know how to do that. And futhermore, this would benefit all OTRS customers. Regards, Edson Enviado do Emailhttps://go.microsoft.com/fwlink/?LinkId=550986 para Windows 10 De: Benemailto:linux4bene@telenet.be Enviado:terça-feira, 25 de julho de 2017 04:22 Para: otrs@lists.otrs.orgmailto:otrs@lists.otrs.org Assunto: Re: [otrs] Customer users based on email domain On 11/07/2017 11:40, Pedro Lobo wrote:
Hi all,
I'd like to know if it's possible, and if so, how would I do the following:
We're setting up OTRS for our internal use and to provide IT support to a few customers. All communication will be done via email, both creating and replying to tickets and therefore, we have no real need of customers accessing the customer portal. I would however like to associate each new user email with a customer id. So, users that create a ticket from me@acme.co are assigned to Acme Co. Users from me@evil.corp are assigned to Evil Copr. etc.
Is this possible of to I have to manually create a customer user and associate it with a customer ID for Acme and Evil Corp.?
Cheers, Pedro
Hi, to set the customer based on the domain of the e-mail, you need to set-up an e-mail filter. Go to Admin, Postmaster filters, create a new filter. To take you example of evil.corp: Fill in the name and wether you want to stop after the match. Filter condition: Check e-mail header: From As a value you could add for instance: (.*@evil.corp) Set e-mail headers: Set e-mail header: X-OTRS-CustomerNo, Set value: "Evil Corp" Evil Corp should exist as customer company. Regards, Benedict --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
participants (4)
-
Bene
-
Edson Richter
-
Pedro Lobo
-
Renee B