Seems that when a message is sent from Outlook (HTML Mail format) the
default footer doesn't get attached.... Is there something special that I need to set?
Seems that when a message is sent from Outlook (HTML Mail format) the
default footer doesn't get attached.... Is there something special that I need to set?
It *does* get attached; the problem is that it's outside of the MIME subparts for the message body, so some mail clients can't see it.
I don't see this changing any time in the future -- it would be a real pain to implement (actually, nearly impossible). The problem is figuring out which MIME subpart is actually the text part of the message and appending the footer to that.
But how do you determine which subpart is the one to change? If I send two text/plain attachments, one as an introduction and the second as a text version of a contract, I surely don't want the footer on the contract.
This is one reason why many lists don't allow or like MIME attachments.
(I suppose that Mailman could figure out what the boundary is for the MIME subparts in a message, then add another whole attachment that consisted entirely of the footer. But that's ugly).
Chris
I want to change our majordomo lists to Mailman, but there is one little issue that is still holding me up.
When your user looks at the listinfo page, at the bottom is the data generated by the <MM-Mailman-Footer>, which includes the email address of the list admin.
We have some lists where the admin needs to be anonymous, and this little thing keeps it from happening. (Right now well tell folks to send a message to owner-whateverlist to contact the owner.)
I would like to modify the footer to change the info to owner-whateverlist, or just remove the info. I don't know much Python yet, so I haven't been able to find where this <MM-Mailman-Footer> is created.
(This footer is not the footer included with the mail messages, it is the one for the html pages from the server.)
Could someone help me with how to change this?
Thank You,
=========================== Arthur J. Byrnes Unix System Administrator Center for Information Technology Stetson University, DeLand, Florida
On Thu, 24 Feb 2000, Arthur J. Byrnes wrote:
We have some lists where the admin needs to be anonymous, and this little thing keeps it from happening. (Right now well tell folks to send a message to owner-whateverlist to contact the owner.)
I wouldn't suggest removing the notice entirely as this can lead to
accountability issues, especially if the pages are publically accessible. Also, modifying the Mailman code may not be a good idea as your changes would be overwritten when installing newer releases.
One possible option would be to just set
"owner-whateverlist@wherever.com" as the list owner address. Then that address would show up as that at the bottom of the pages. The only downfall I can see is that you'd have to maintain the list of these "aliased" owners by hand instead of letting them change it when/if they ever change. Would that work?
~ Rick Niess ~
-- .oooO "Man with closed Oooo. Rick C. Niess ( ) mouth gathers ( ) University of Southern Miss. \ ( no foot!" ) / resnet@usm.edu --\ )------------------(_/-------------------------------
This is absolutely perfect! Just what I was looking for...
It works good.
Thank you very much,
Arthur
At 06:06 PM 2/24/00 -0500, Scott Russell wrote:
Arthur -
I decided to play a bit and came up with this possible solution. Keep in mind I do not code python either. This is just what I could make out from the code. I did this against Mailman 1.2 from CVS but I susspect you can do the same:
- Backup the /home/mailman/Mailman/HTMLFormatter.py file
- Edit the file.
- Look for the section def GetMailmanFooter(self):
- Change it to look like: (beware of line wraps in this email!)
def GetMailmanFooter(self): owners_html = Container() owners_html.AddItem(Link('mailto:%s' % self.GetAdminEmail(), self.GetAdminEmail())) # Comment out existing code. SMR 02/24/00 # for i in range(len(self.owner)): # owner = self.owner[i] # owners_html.AddItem(Link('mailto:%s' % owner, owner)) # if i + 1 <> len(self.owner): # owners_html.AddItem(', ') # End comment
Sorry, no patch today. This is a hack to make each footer use 'test-admin@hostname.com' as the mailto. In Mailman 1.2 this is an alias setup in the /etc/aliases file. If you update from 1.x to 1.2 in the future you'll need to re-hack the HTMLFormatter.py file.
Try this with care and good luck.
-- Scott
On Thu, Feb 24, 2000 at 03:57:01PM -0500, Arthur J. Byrnes wrote:
I want to change our majordomo lists to Mailman, but there is one little issue that is still holding me up.
When your user looks at the listinfo page, at the bottom is the data generated by the <MM-Mailman-Footer>, which includes the email address of the list admin.
We have some lists where the admin needs to be anonymous, and this little thing keeps it from happening. (Right now well tell folks to send a message to owner-whateverlist to contact the owner.)
I would like to modify the footer to change the info to owner-whateverlist, or just remove the info. I don't know much Python yet, so I haven't been able to find where this <MM-Mailman-Footer> is created.
(This footer is not the footer included with the mail messages, it is the one for the html pages from the server.)
Could someone help me with how to change this?
Thank You,
=========================== Arthur J. Byrnes Unix System Administrator Center for Information Technology Stetson University, DeLand, Florida
Mailman-Users maillist - Mailman-Users@python.org http://www.python.org/mailman/listinfo/mailman-users
-- Regards, Scott Russell (scottrus@raleigh.ibm.com) Linux Technology Center, System Admin Red Hat Certified Engineer
=========================== Arthur J. Byrnes Unix System Administrator Center for Information Technology Stetson University, DeLand, Florida
Arthur -
I decided to play a bit and came up with this possible solution. Keep in mind I do not code python either. This is just what I could make out from the code. I did this against Mailman 1.2 from CVS but I susspect you can do the same:
- Backup the /home/mailman/Mailman/HTMLFormatter.py file
- Edit the file.
- Look for the section def GetMailmanFooter(self):
- Change it to look like: (beware of line wraps in this email!)
def GetMailmanFooter(self): owners_html = Container() owners_html.AddItem(Link('mailto:%s' % self.GetAdminEmail(), self.GetAdminEmail())) # Comment out existing code. SMR 02/24/00 # for i in range(len(self.owner)): # owner = self.owner[i] # owners_html.AddItem(Link('mailto:%s' % owner, owner)) # if i + 1 <> len(self.owner): # owners_html.AddItem(', ') # End comment
Sorry, no patch today. This is a hack to make each footer use 'test-admin@hostname.com' as the mailto. In Mailman 1.2 this is an alias setup in the /etc/aliases file. If you update from 1.x to 1.2 in the future you'll need to re-hack the HTMLFormatter.py file.
Try this with care and good luck.
-- Scott
On Thu, Feb 24, 2000 at 03:57:01PM -0500, Arthur J. Byrnes wrote:
I want to change our majordomo lists to Mailman, but there is one little issue that is still holding me up.
When your user looks at the listinfo page, at the bottom is the data generated by the <MM-Mailman-Footer>, which includes the email address of the list admin.
We have some lists where the admin needs to be anonymous, and this little thing keeps it from happening. (Right now well tell folks to send a message to owner-whateverlist to contact the owner.)
I would like to modify the footer to change the info to owner-whateverlist, or just remove the info. I don't know much Python yet, so I haven't been able to find where this <MM-Mailman-Footer> is created.
(This footer is not the footer included with the mail messages, it is the one for the html pages from the server.)
Could someone help me with how to change this?
Thank You,
=========================== Arthur J. Byrnes Unix System Administrator Center for Information Technology Stetson University, DeLand, Florida
Mailman-Users maillist - Mailman-Users@python.org http://www.python.org/mailman/listinfo/mailman-users
-- Regards, Scott Russell (scottrus@raleigh.ibm.com) Linux Technology Center, System Admin Red Hat Certified Engineer
participants (5)
-
Arthur J. Byrnes
-
Christopher P. Lindsey
-
Jeff Fiegel
-
Rick Niess
-
Scott Russell