PDA

View Full Version : Adding footer to ezmlm messages


Storm Shadow
01-31-2001, 12:08 AM
I looked through the aota tutorial and while it had a way to add text to the bottom of an administrative message, I couldn't see a way to add a standard footer to regular mailing list messages.

I'd like to tack on the unsubscribe info to each mailing--any quick way to do so other than manually typing it in every time?

Thanks,
SS

John Kennett
01-31-2001, 04:57 AM
You can edit all of the text files that are sent by ezmlm -- you just need to know where they are hidden!

Look in this directory:

/big/dom/xyourdomain/yourusername/yourlist/text

Replacing xyourdomain, yourusername, yourlist as appropriate.

The file you want is called "bottom"

John

Storm Shadow
01-31-2001, 11:55 AM
John, thanks for your response.[nbsp][nbsp]I looked at my "bottom" file and here is what it currently contains:

--- Here are the ezmlm command addresses.

I can handle administrative requests automatically.
Just send an empty note to any of these addresses:

[nbsp][nbsp] <test-subscribe@mlm.moreview.org>:
[nbsp][nbsp] Receive future messages sent to the mailing list.

[nbsp][nbsp] <test-unsubscribe@mlm.moreview.org>:
[nbsp][nbsp] Stop receiving messages.

[nbsp][nbsp] <test-get.12345@mlm.moreview.org>:
[nbsp][nbsp] Retrieve a copy of message 12345 from the archive.

DO NOT SEND ADMINISTRATIVE REQUESTS TO THE MAILING LIST!
If you do, I won't see them, and subscribers will yell at you.

To specify God@heaven.af.mil as your subscription address, send mail
to <test-subscribe-God=heaven.af.mil@mlm.moreview.org>.
I'll send a confirmation message to that address; when you receive that
message, simply reply to it to complete your subscription.

--- Below this line is a copy of the request I received.


Now this text shows up when a user signs up for the mailing list, but it is not appended to each message sent out in a regular mailing.[nbsp][nbsp]What I'd like to do is find the footer file which is appended to every message sent out (if it exists) and edit that.[nbsp][nbsp]Does such a file exist or is there a workaround?

Thanks,
SS

John Kennett
02-01-2001, 04:44 AM
My mistake! It is just the admin messages that can be customised this way.

What you are looking for would be useful!

While we are on the subject, does anyone know if it's possible to have the mailing list address as the &quot;reply to&quot; rather than the individual sender's address?

John

Arthur
02-01-2001, 05:45 AM
With the current setup of ezmlm it is not possible to add footers/trailers to messages. It would be possible with the addition of ezmlm-idx (addition/patch for ezmlm). Maybe if you ask Terra nicely, he'll consider it?

--
Arthur

-- Terra, have you ever thanked Dan Bernstein?

Terra
02-01-2001, 06:01 PM
It would be possible with the addition of ezmlm-idx (addition/patch for ezmlm). It is under consideration, but no further details at this time as there are several other supporting (VisionQuest) projects that must be completed first...

Terra, have you ever thanked Dan Bernstein? Not directly, however FutureQuest will pay it's dues soon enough once we are in a better position to do so...[nbsp][nbsp]Dan Bernstein writes some of the most compact (and correct) code I have ever seen, and he error checks *everything*...[nbsp][nbsp]It takes a special kind of programmer to do that...[nbsp][nbsp]The only thing I wish he would do more of is comment his code as some of his constructs have left me scratching my head for hours wondering what was he thinking![nbsp][nbsp]Then it hits me, and is usually poetry in sheer logic and finesse...

--
Terra
--In a way, he helps me to sleep better at whenever--
FutureQuest

Maynard
02-04-2001, 07:14 PM
Hi. Rather than start a new Topic, I'll tag onto this one.

I notice that ezmlm will accept posts from unsubscribed members which seems like a bad thing.

I'd be interested in learning either how to plug this hole, or why it isn't worth the trouble.

Thanks!,

sheila
02-15-2001, 09:13 PM
I have a form, that I wrote using cgiemail, where subscribers to my mailing list can post messages to my list. (By the way, my list is not run with ezmlm or on FQ servers, but I imagine this would work for FQ ezmlm as well.) I have set it up so that the To: field is always set to my list, and after the subscriber enters their e-mail addy in the From: field and the subject line and the body, the cgiemail automatically puts a message footer on each message for me, before sending it to my mailing list.

I don't know if you get anything out of seeing the form, but it is here:
http://www.thinkspot.net/sheila/computers/ListSubmission.html

Kind of ugly and plain, but does the job.

I don't think that people want to be required to participate in a mailing list by filling out web forms, though. I certainly wouldn't want to.

Another option, that I hesitated to mention earlier in this discussion (because it could be a bit complicated, depending on your skills), is to use the .qmail files to invoke a script that adds such a tag to every mail sent to the mailing list.

I've written such a script (not for a mailing list, though), here:
http://www.thinkspot.net/sheila/computers/perlscripts.html#addmailtag

The reason I didn't mention it before, is that the .qmail files for the ezmlm lists don't appear to behave quite the same way as the .qmail files for a regular e-mail address. (At least, it seemed that way to me?) So, this would possibly be a bit more complicated than what I did.

SneakyDave
02-16-2001, 01:02 AM
I have a moderated message list where only a couple of people can send messages out to the &quot;list&quot;.

I created a PHP script with a FORM that defaults a subject, header, and footer of the email, and the administrator just types the body of the message, and clicks a button, to send it to the list.

I didn't know if it would work or not, because of the way PHP's mail function doesn't work well with ezmlm, but it seems to be working fine for the last 6 months or so.

Quixote
09-07-2001, 04:43 PM
:o
I want to edit the response sent to new subscribers, unsubscribers, and the welcome message.
I work for a social service agency, and know that some of our participants will be upset at the example provided....which begins "To specify God@heaven.af.mil as your subscription address..." I need to replace that line in order to use the ezmlm service.
I saw in the string that there is a way to find the ezmlm text files. I have two questions in that regard:
1. I assume this file is in my folder, and that changing it won't affect other websites...correct?
2. The string I'm referring to says:
<<Look in this directory:

/big/dom/xyourdomain/yourusername/yourlist/text

Replacing xyourdomain, yourusername, yourlist as appropriate.

The file you want is called "bottom">>

How do I look in that directory? I don't see it in Dreamweaver's view of the remote site, which is what I am used to doing. Do I need to access that file using telnet? Is it too much to ask to request someone help me walk through that process? (I know nothing about telnet, yet.) Anything past that first $, and I was confused...but I'm looking for tutorials now.
Thanks

Evoir
11-27-2001, 03:09 PM
Any updates?

I would very much like to include a "footer" at the bottom of every email that is sent to one of my smaller lists. Also, I would love to add a subject line item like : [staff list]

That would be inserted at the begining of the subject line for all emails to the staff email list.

Is this possible? Perhaps if we use another third party script?