Re: [EXIM] Adding Disclaimer

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Georg von Zezschwitz
Ημερομηνία:  
Προς: Lee Cashmore
Υ/ο: Jim Knoble, exim-users
Αντικείμενο: Re: [EXIM] Adding Disclaimer

If the dark side of the power has decided so, I suggest:

- add a transport-option for remote_smtp:

transport_filter="/usr/local/bin/disclaimer.sh"

With disclaimer.sh:

#!/bin/sh
# First copy the normal message
cat
# Now let the power speak:
echo "----------------------------------"
echo "My footer, line 1"
echo "My footer, line 2"

Be aware that this might break Multipart-MIME-Messages, am I wrong?


Greetings,


Georg

--
*** Exim information can be found at http://www.exim.org/ ***