Re: Appending a footer?
Dennis Skinner <[email protected]>
| Newsgroups | gmane.mail.exim.exiscan.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2004-06-16 at 12:52, Mike Grice wrote: > Hi list, > > I'm currently banging my head against the desk trying to figure out how > to insert a few lines of text as a footer to all mail passing through an > exim installation. I have searched high and low and can't seem to find > a way how to do this. I was playing with it for a while. It does not require exiscan, so if you need more info, we should probably take it offlist or move to the Exim list. I was doing something like this: ### exim.conf # This transport adds a footer to the email before sending footer_smtp: driver = smtp transport_filter = /export/exim/scripts/footer.sh ### footer.sh #!/bin/sh TEMP=`/bin/date "+%s.%N"` /bin/cat >/tmp/altermime.$TEMP /bin/altermime --input=/tmp/altermime.$TEMP --disclaimer=/export/exim/etc/footer.txt --disclaimer-html=/export/exim/etc/footer.html --log-syslog /bin/cat /tmp/altermime.$TEMP /bin/rm -f /tmp/altermime.$TEMP I had some problems that I don't recall the specifics of, but maybe this will get you started. -- Dennis Skinner Systems Administrator BlueFrog Internet http://www.bluefrog.com
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQBA0Ig6y9iYXMzyPbYRAqHFAJ0VrVDxjaO/41mc1aOzCECSZtn4pwCeNAZJ lnxygeV0fWiTmL3IAg+SCCU= =bWed -----END PGP SIGNATURE-----