[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Raq3: Adding footer to mailinglists



From: "NetHut: Support" <support@xxxxxxxxx>


Does anyone know if, and how, one can add footers to posts on the majordomo
mailinglists on the Raq3?


Sure. But you have to do it through Telnet.

Log in as root and do

cd /usr/local/majordomo

If you do

ls -l

You'll see that all your web sites have directories in there (for future majordomo activity).

Just cd to the directory of the site where your list is and then to the sub-directory that says "lists".

Summing up, if you list is a www.per.com, you could cd to

cd /usr/local/majordomo/www.per.com/lists

There's you'll see your list's configuration file. For a list called "perlist", it would be perlist.config. Open that in some Unix text editor (vi, pico, etc.) and you just scroll down the configuration to the line that says

message_footer

Now, what you'll see there is

message_footer      <<  END
END

You put your footer material BETWEEN the END words (they are there to tell Majordomo that this is text to be included) with no blank lines in between text lines. Like this.

message_footer      <<  END
Here's our footer

END

You can include a carriage return or black line between the end of your text and the LAST ("closing") END. BUT no other blank lines anywhere. If you need to have a blank line show up in your footer text, just type one dash:
-
and it will make a blank line. Majordomo stops returning the text the moment it sees an actual blank line.

By the way, this stuff is very well covered on the Majordomo faq and documentation materials so you might want to check there for better and fuller instructions. Best place to start is at their site: www.greatcircle.com/majordomo/

Hope this helps though.

Alfredo


--
People-Link/Institute for Mass Communications
www.people-link.org
Communications for a Better World...and for the People Who are Building One!
Members, Local 1180, Communications Workers of America, AFL-CIO