10-27-2009 12:11 PM
Hey,
following problem:
there are several disclaimers in several languages. I check the mails whether a disclaimer is already added with a message filter.
But there are some additional characters like ß, ñ, ž, á etc.
I don't know how to type in theses characters on the CLI.
I already changed the character-set at putty, but it doesn't helped.
Any ideas?
Greetz,
Sven
10-27-2009 04:49 PM
I haven't tested this myself, but you could try creating a custom disctionary from the web GUI and then create a message filter to check against that dictionary. This should allow you to check against the special characters that can't be added in the CLI.
10-28-2009 07:38 AM
thx....sounds good....i will try and advise my experience to you
10-29-2009 09:57 AM
Ok, im confused: i tried the following filters with dictionary-match('DE_Disclaimer'). Strangely my disclaimer was added every time.
Because of this i replaced the dictionarymatch with a body-contains("Text of Disclaimer",1) without special characters or something like that. Same effect like before...the disclaimere was added every time.
Because of this i tried to modify the construction of my filter (see below).
Can somebody tell me, why the following filters do not work?
de_disclaimer:
if(header-dictionary-match ('Dictionary_German_Disclaimer', 'From') AND NOT dictionary-match('De_Disclaimer'))
{
add-footer("DE_Disclaimer_HTML");
}
.
de_disclaimer:
if header-dictionary-match ('Dictionary_German_Disclaimer', 'From'){
if NOT dictionary-match('De_Disclaimer'){
add-footer("De_Disclaimer_HTML");
}
}
.
10-29-2009 02:14 PM
Can somebody tell me, why the following filters do not work?
de_disclaimer:
if(header-dictionary-match ('Dictionary_German_Disclaimer', 'From') AND NOT dictionary-match('De_Disclaimer'))
{
add-footer("DE_Disclaimer_HTML");
}
.
de_disclaimer:
if header-dictionary-match ('Dictionary_German_Disclaimer', 'From'){
if NOT dictionary-match('De_Disclaimer'){
add-footer("De_Disclaimer_HTML");
}
}
.
10-29-2009 02:21 PM
thx. for your reply. i also thought they're equal. but i was not sure...now i am ;)
The Disclaimer contains just a single phrase.
A few seconds after your reply i found out why it didn't worked.
The disclaimer starts with our company name. And the name contains a plus (+) After a lot of search i found out that the + also is used in regular expressions.
The solution: Typing a backslash in front of the +
Thank you for your help
10-29-2009 02:27 PM
thx. for your reply. i also thought they're equal. but i was not sure...now i am ;)
The Disclaimer contains just a single phrase.
A few seconds after your reply i found out why it didn't worked.
The disclaimer starts with our company name. And the name contains a plus (+) After a lot of search i found out that the + also is used in regular expressions.
The solution: Typing a backslash in front of the +
Thank you for your help
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide