Re: [exim] Filter with special characters (!?)

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jasen Betts
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Filter with special characters (!?)
On 2018-08-23, Emanuel Gonzalez via Exim-users <exim-users@???> wrote:
> Hello, I need to use the following symbols exclamation mark and question mark (! ?) as characters in a filter but using HEX does not work.
>
>
> discard    condition = ${if match{$header_subject:}{^\277Eres el del video?\$}}
> logwrite = Rejected By SPAM - $header_subject - FROM: "$sender_address"

>
>
> I understand that using the standard ISO-8859-1 should be work, but no.


Do you have the main configuration setting "headers_charset = ISO-8859-1"?

If your configuration file editor also uses ISO-8859-1 you could just
enter the character. (or you use use utf-8 both places, that would
work too)

Your regex should probably say "video\\?" instead of "video?"
that's probably why it's not matching.

-- 
     ت