This is a similar, but different issue to the one below. I've looked through the FAQ, and the archives of the list that I've still got around (400+ messages), but don't see an answer: Is there a way of interpolating variables within the header.txt or footer.txt files, so that I could use a generic footer.txt for numerous lists? So the file may say: To unsubscribe, mail to '$list@$domain' with subject 'unsubscribe' And I'd like $list and $domain to be expanded out per list. (I run about 2 dozen lists, so it'd be nice to just use one file.) Has anyone done this? FAQ #2.11 seems like something in the right direction. Would I have to build the file out of rc.local.s20 every time there was a submission, though? That seems wasteful. Pat On Tue, Apr 11, 2000 at 08:45:54PM +0300, Dan Craioveanu wrote:
I have tried the Solution in the SmartList FAQ. But, still, there's no message appearing eather as a header or footer.
I have created a file called header.txt and one called footer.txt with the text to add to the message.
I've uncommented the line "RC_LOCAL_SUBMIT_20 = rc.local.s20" from my rc.custom file, and added the following to my rc.local.s20 file:
# # Adding a disclaimer in front of every mail: #
:0 fhw | cat - header.txt
# # Appending a footer to every outgoing mail: #
:0 fbw | cat - footer.txt
I have even tried all the other solutions in the Smart List mailing list archive, but with no result.
Please help,
Thanks
-- Pat ___________________Think For Yourself____________________ Patrick G. Salsbury - http://reality.sculptors.com/~salsbury/ Fuel Cells: Electricity for home, car, or business. 0% emmissions, 0% charge-time. - http://reality.sculptors.com/~salsbury/Fuel-Cells/ --------------------------------------------------------- Do you value your privacy? If so, take note of what's coming down the pipe: The United States Government should encourage the development of those products that would provide a capability allowing law enforcement (Federal, State, and local), with a court order only, to gain timely access to the plaintext of either stored data or data in transit. Unless law enforcement has the benefit of such market encouragement, drug traffickers, spies, child pornographers, pedophiles, kidnappers, terrorists, mobsters, weapons proliferators, fraud schemers, and other criminals will be able to use encryption software to protect their criminal activity and hinder the criminal justice system. 106th CONGRESS - 1st Session HR2616 - Section 3 (Para. 14-15) July 27, 1999 - http://thomas.loc.gov/