Hi,
I can't find the way to change defualt type for receiving requests from email for example to incident. Ticket::Type is enabled. I'v added some new types (incident, change, task) and made 'default' type to invalid. The priority, the queue can be set, but not the type.
Thanks and best regards
Tomo
Change default type for requests received by email
Moderator: crythias
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Change default type for requests received by email
You might choose a postmasterfilter to set the X-OTRS-Type
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Change default type for requests received by email
Thanks for help. Your proposal solved the issue. I've set the following postmasterfilter:
Match:
Header 1: "To:" Value: "(mail1|mail2|...|maiN)@example.com
Set:
Hedare 1: "X-OTRS-Type" Value: "incident"
Is any more convenient way to set filter for all incoming mails?
Match:
Header 1: "To:" Value: "(mail1|mail2|...|maiN)@example.com
Set:
Hedare 1: "X-OTRS-Type" Value: "incident"
Is any more convenient way to set filter for all incoming mails?
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Change default type for requests received by email
that looks good to me - you can make full use of regular expressions or create more than one postmaster filter
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Change default type for requests received by email
I suppose you could use a more generic Match criteria than attempting to match specific emails. Considering you're applying this to every inbound email, why not simply use
Match To: *
??
Match To: *
??
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Change default type for requests received by email
Because "*" is invalid entry.
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Change default type for requests received by email
right. ok. but maybe ([a-zA-Z0-9_\-\.]+)@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3}) forinstance.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Change default type for requests received by email
I've changed your regexp a little bit. Yours doesn't work.
([a-zA-Z0-9_\-\.]+)@example.com is totaly fine, beacuse it is universal for my case. It works.
Thanks for help.
([a-zA-Z0-9_\-\.]+)@example.com is totaly fine, beacuse it is universal for my case. It works.
Thanks for help.