Automatically assigning people to a queue by their mail address domain

Hi, According to the OTRS doc (http://doc.otrs.org/2.2/en/html/x846.html#adminarea-customer-user-groups), you have to manually assign customers to a group (and therefor to a queue), or use the CustomerAlwaysGroup option to assign every new customer to a single group. My problem is that I have several queues, each assigned to a customer's company with some customers which I don't wan't to see/post any other queue than their company's queue. So : 1) Is there a way to configure OTRS so that every new customer is automatically assigned to a queue, according to the domain of his mail address? 2) If first answer is yes, is there a way to do the same with the customers that are already registered? Thx for the answers B. _____________________________________________________________________________ Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail

Hi, I have no answer about your question, sorry. but I would just mention a thing : I think it's a bad idea to implement an automatic "queue affecting system" based on source domains like you want to do. Imagine this simple case : - Customer 1 from Company A with email toto@linux.fr sends you a mail, this one will be directed to Queue A based on your established rules of domain email address. - Customer 2 from Company B with email titi@linux.fr.org sends you another mail, this one could be badly directed to the wrong Queue A rather than Queue Other based on a malformed rule ... Just consider the problem and all the situations you will have to face ... and also consider that source email address can easily be forged. Best regards, Laurent MINOST Boris Ratak a écrit :
Hi,
According to the OTRS doc (http://doc.otrs.org/2.2/en/html/x846.html#adminarea-customer-user-groups), you have to manually assign customers to a group (and therefor to a queue), or use the CustomerAlwaysGroup option to assign every new customer to a single group.
My problem is that I have several queues, each assigned to a customer's company with some customers which I don't wan't to see/post any other queue than their company's queue. So : 1) Is there a way to configure OTRS so that every new customer is automatically assigned to a queue, according to the domain of his mail address? 2) If first answer is yes, is there a way to do the same with the customers that are already registered?
Thx for the answers
B.
------------------------------------------------------------------------ Ne gardez plus qu'une seule adresse mail ! Copiez vos mails http://www.trueswitch.com/yahoo-fr/ vers Yahoo! Mail
participants (2)
-
Boris Ratak
-
Laurent Minost