Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

Disclaimer for several languages / body-contains('DISCLAIMER

Hy,

i found out how to add disclaimers and check if there already added in further mail-transfer.
We habe more than 30 branches of which nearly everyone has its own disclaimer.

Now the question:
Is it possible to use add the body-contains-expression a form of variable like in the add-footer-expression?

For example:

if (recv-listener == 'OutboundMail' AND (body-contains(disclaimer_DE')) 

{ deliver();}

else

{add-footer('disclaimer_DE'); }


In more detail: I don't want to copy for each of the 30 branches the whole text into the body-contains-expression but only the disclaimer-name like in the add-footer-expression.
Is it possible to do it like that?

3 REPLIES
New Member

Re: Disclaimer for several languages / body-contains('DISCLAIMER

Hi Sven,

I think there is no function to map the contents of your disclaimer back to the name of it.
The only option I see is that you add the name of your disclaimer to the bottom of the message.

You can also try to abuse X-headers but you can never be sure what headers a remote party is removing from the message.

Steven

Re: Disclaimer for several languages / body-contains('DISCLAIMER

Hi Steven,

i think you're right. I tried a long time.

Now i have fixed the problem by the following:

de_disclaimer: 
if header-dictionary-match ('Dictionary_German_Disclaimer', 'From'){
if NOT dictionary-match('De_Disclaimer'){
add-footer("De_Disclaimer_HTML");
}
}
.

New Member

Re: Disclaimer for several languages / body-contains('DISCLAIMER

hi,

we have solved this with ldap groups...

so when sender in ldap group "germany" then stamp disclaimer "germany" when sender in group "italy" then ... etc.

works pretty well

but you have to combine this with the text / HTML decision an this is a bit tricky but okay.

regards,

Rob

155
Views
0
Helpful
3
Replies