[Reference:<_A3206@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en
[DeleGate-En] Re: add disclaimer
In message <_A3206@delegate-en.ML_> on 04/29/06(18:04:22)
you <pqygabdyi-qghxypkajja6.ml@delegate.org> wrote:
|Is it possible to use delegate to add a disclaimer to every outgoing
|smtp-email, how would i set this up ?
I have no experience about it but it should work like follows:
//// run DeleGate with the following parameters
delegated -P25 SERVER=smtp FTOSV=disclaimer.cfi
//// the content of DGROOT/lib/disclaimer.cfi
#!cfi
Content-Type: text
Output-Postfix: xxxxx DISCLAIMER xxxxx
This configuration has at least following shortcommings:
- cannot insert multi-line postfix
- does not insert the postfix to the text part in a multipart messsage
You can write your own filter program to insert arbitrary data at
the appropriate place in the message, then call it as follows:
#!cfi
Content-Type: text
Filter: your-own-filter-program
See <URL:http://www.delegate.org/delegate/Manual.htm?CFIscript> for
more details.
Cheers,
Yutaka
--
D G Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
( - ) National Institute of Advanced Industrial Science and Technology
_< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller
|