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 Email para Windows 10
De: Bene
Enviado:terça-feira, 25 de julho de 2017 04:22
Para: 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