Re: [exim] Append an HTML to outgoing Email

Pàgina inicial
Delete this message
Reply to this message
Autor: Matt
Data:  
A: exim
Assumpte: Re: [exim] Append an HTML to outgoing Email
Matt wrote:

> #!/bin/sh
> #
> disclaimer=/path/to/disclaimer.txt
> #
> ed -s tmpfile << disclaimer
> $
> r ${disclaimer}
> .
> wq
> disclaimer



Just for the sake of correctness, that should be:

#
#
disclaimer=/path/to/disclaimer.txt
#
ed -s tmpfile << disclaim
$
r ${disclaimer}
wq
disclaim
#
#

The dot on the line before wq is not required. The #!/bin/sh line isn't
required either, as it is being read into the first shell script.

Also, another thing to consider is that appending disclaimers will break
digital signatures, which is another reason for it preferably to be done
within the MUA itself.

Matt