I tried to use the POP filter mechanism like this:
Match: Header1: Subject; Field: *snom190* Header2: Body; Field: *snom190*
This won't work. The match fields accept regular expressions, not wildcards. Try something like:
Header1: Subject; Field: .*snom190.* Header2: Body; Field: .*snom190.*
But with this filter set, the pop is failing at all, so no mail is coming in,
but the log says something like:
[EMAIL PROTECTED]:/opt/otrs > $HOME/bin/PostMasterPOP3.pl Message 1/5 ([EMAIL PROTECTED]@post.xxx.de) /(*media*server*)/: ?+*{} follows nothing in regexp at /opt/otrs/Kernel/System/PostMaster/Filter/MatchDBSource.pm line 67.
How can I achieve to match the filter to anything in i.e. the subject, if at
least snom190 is somewhere in it ?
This is what the above regex will match. (.* = zero or more of "any character")
Are the different header lines like an "OR" and the first line is tried first
and so on ?
I don't understand this question, but you can create an OR as follows:
Header1: Subject; Field: (some subject|someother subject|subject ending in a number[0-9]+$)
HTH Greg
_______________________________________________ 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 oder Consulting für Ihr OTRS System? => http://www.otrs.de/