Shawn Beasley wrote:
> 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 "+" "." "*"

This not work for me.
I added Content-Type into PostmasterX-Header, create PostMaster rule
(named DSN-Content-Type), write when header "Content-Type" match value
"disposition-notification" then set header "X-OTRS-Queue" to DSN .
But when i recive mail with line in header:

Content-Type: multipart/report; report-type=disposition-notification; 
boundary="----=_NextPart_000_013B_01C8DC64.89C24630"

this mail not affect on this rule

> PS: Why would you filter Content-Type? Just out of curiosity :)

I want to detect delovery status notifications and assign it no
different queue

-- 
Mykola Dzham, LEFT-(UANIC|RIPE)
JID: [EMAIL PROTECTED]
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to