10-01-2009 10:42 AM
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'); }
10-30-2009 10:15 PM
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
11-02-2009 06:30 AM
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");
}
}
.
02-23-2010 08:35 AM
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
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