My company supports different outside customers.
With one customer some of users have otrs account and other not.
If the ticket comes from named customer user it's no problem, but when comes from not named user I would like add for him CustomerNO and CustomerUser by PostmasterFilter. I will filter by Customer mail domain and CustomerUser wil be set to general customer account (e.g. Office.ACME - I must connect this account to services)
When I add only CustomerNo it is simple. When I add CustomerNo and CustomerUser I have problem because all tickets are linked to general account Office.ACME CustomerUser even ones sent from named accounts.
Do you have any idea for solve this problem ?
specific postmaster filtering of incoming e-mail
Moderator: crythias
specific postmaster filtering of incoming e-mail
Last edited by KepTom on 11 Mar 2016, 11:33, edited 1 time in total.
OTRS 5.x.x
Ubuntu 12.4 server
MySQL DB
Ubuntu 12.4 server
MySQL DB
Re: specific filtering of incoming e-mail
Any idea ?
crythias ?
crythias ?
OTRS 5.x.x
Ubuntu 12.4 server
MySQL DB
Ubuntu 12.4 server
MySQL DB
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: specific postmaster filtering of incoming e-mail
Can you post sample emails (replace real names with pseudo names) and describe what should happen for each mail...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: specific postmaster filtering of incoming e-mail
Helo
For example:
I have company ACME and company named users
ACME.Office - with mail office@acme.com
Tom Kep - with mail tom.kep@acme.com.
ACME mail domain is acme.com
When Tom Kep sends mail to OTRS mail, then is automaticaly linked to ACME company and Tom Kep user.
But when mail will be send by other not named user from acme.com domain I can linked them only to ACME company (by mail domain).
I would like linked all not named user from ACME to ACME company and ACME.office user.
When I create postmaster filter for domain acme.com - all mail form acme.com are linked to ACME and ACME.Office. With Tom Kep too, and this is my problem.
I hope this is understandable with my English
Thank you for your understanding.
For example:
I have company ACME and company named users
ACME.Office - with mail office@acme.com
Tom Kep - with mail tom.kep@acme.com.
ACME mail domain is acme.com
When Tom Kep sends mail to OTRS mail, then is automaticaly linked to ACME company and Tom Kep user.
But when mail will be send by other not named user from acme.com domain I can linked them only to ACME company (by mail domain).
I would like linked all not named user from ACME to ACME company and ACME.office user.
When I create postmaster filter for domain acme.com - all mail form acme.com are linked to ACME and ACME.Office. With Tom Kep too, and this is my problem.
I hope this is understandable with my English
Thank you for your understanding.
OTRS 5.x.x
Ubuntu 12.4 server
MySQL DB
Ubuntu 12.4 server
MySQL DB
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: specific postmaster filtering of incoming e-mail
Then you have to write your own PostmasterFilter::Post module... A sample postmaster post filter is available at https://gist.github.com/reneeb/7308b1cb390a26c1bfe5
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de