
Mykola Dzham wrote:
Hi! I want to filter incoming mails and check 'Content-Type' header. 'Content-Type' header not found in standart headers list PostMaster Filter create/edit page. I added this field into 'PostmasterX-Header' config option and in file Kernel/Config/Files/Ticket.xml into section <ConfigItem Name="PostmasterX-Header" Required="1" Valid="1"> After this changed header 'Content-Type' found now on Filter create/edit page, but filter not working. How to correctly add new header int PostMaster Filter?
Try it overt the Sysconfig Config Options: Ticket -> Core::PostMaster PostmasterX-Header: Then work on your filter expression. Not all regular expresion delimiters are working but definitly "+" "." "*" PS: Why would you filter Content-Type? Just out of curiosity :) ((enjoy)) -- Shawn Beasley ((otrs)) :: OTRS AG :: Norsk-Data-Straße 1 :: 61352 Bad Homburg Fon: +49 (0) 9421 56818 0 :: Fax: +49 (0) 9421 56818 18 http://www.otrs.com/ :: Communication with success! Geschäftssitz: Bad Homburg Amtsgericht Bad Homburg, HRB 10751 Steuernummer: 003/240/97521 Aufsichtsratsvorsitzender: Burchard Steinbild Vorstandsvorsitzender: André Mindermann