473,322 Members | 1,719 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

mailman mailing list program

Greetings.

I've never seen a more complicated, verbose pile of hogwash than the
"deliverd by mailman" mailing list program.

Still I have to use it.

I'm trying to get a header to get attached tot he email. it gets stripped
from the email, whwere as the footer comes in as an attachment.

all this is buried under "no0-digest" options for some crazy reason.

How do I get the header to work?

Jul 18 '05 #1
10 1804
Carol Carrot wrote:
I've never seen a more complicated, verbose pile of hogwash than the
"deliverd by mailman" mailing list program.


+1 QOTW.
Jul 18 '05 #2
now what is +1 QOTW.supposed to mean?


Jul 18 '05 #3
Carol Carrot <Ca*********@sofsof.net> wrote:

[exhasperated Mailman rant cut]
Hi Carol,

Your question isn't really related to Python: Python's just the
implementation language for Mailman. A better bet is to ask your
question on "Mailman Users":

http://list.org/lists.html

where you can get help from dozens of other long-suffering Mailman
administrators.
: I'm trying to get a header to get attached tot he email. it gets stripped
: from the email, whwere as the footer comes in as an attachment.
: all this is buried under "non-digest" options for some crazy reason.

Having a header is dependent on how messages are delivered. In digest
mode, messages are bundled and delivered as a single message. Sending
the same header, over and over in the bulk-message, would not be a
good idea.

So that's why there is a separate variable option that describes the
header for non-digest messages (msg_header), and one for digest
messages (digest_header). I guess it might make sense to have a
separate "Header/Footer" configuration menu, but that's a user
interface issue.

: How do I get the header to work?

Did you update the 'msg_header' variable?
Please continue your questions on the 'Mailman Users' mailing list;
you should get better help from them.
Good luck to you!
Jul 18 '05 #4
Thank you !

How do I know if I won the QOTW?
Ah well I can keep trying.
"Daniel Yoo" <dy**@hkn.eecs.berkeley.edu> wrote in message
news:cf***********@agate.berkeley.edu...
Carol Carrot <Ca*********@sofsof.net> wrote:

[exhasperated Mailman rant cut]
Hi Carol,

Your question isn't really related to Python: Python's just the
implementation language for Mailman. A better bet is to ask your
question on "Mailman Users":

http://list.org/lists.html

where you can get help from dozens of other long-suffering Mailman
administrators.
: I'm trying to get a header to get attached tot he email. it gets stripped : from the email, whwere as the footer comes in as an attachment.
: all this is buried under "non-digest" options for some crazy reason.

Having a header is dependent on how messages are delivered. In digest
mode, messages are bundled and delivered as a single message. Sending
the same header, over and over in the bulk-message, would not be a
good idea.

So that's why there is a separate variable option that describes the
header for non-digest messages (msg_header), and one for digest
messages (digest_header). I guess it might make sense to have a
separate "Header/Footer" configuration menu, but that's a user
interface issue.

: How do I get the header to work?

Did you update the 'msg_header' variable?
Please continue your questions on the 'Mailman Users' mailing list;
you should get better help from them.
Good luck to you!

Jul 18 '05 #5
Hi all,
I wonder if it is possible to create an object of func, class or
method in the run time by it's name? To make it more clear, let me show you
an example: I parsed the python code and found a function with name 'len'. I
want to know if it is a build-in func(where can I look up?). If so, ignore
it otherwise I want to find out which module is it defined in. All I know is
the name (which is a string), and all the modules that this program have
imported. In the same way, I also need to process the class and methods
call. I wonder if it is possible? I will appreciate your help very much!!

-Ryan
Jul 18 '05 #6
> Hi all,
I wonder if it is possible to create an object of func, class or
method in the run time by it's name? To make it more clear, let me show you an example: I parsed the python code and found a function with name 'len'. I want to know if it is a build-in func(where can I look up?). If so, ignore
it otherwise I want to find out which module is it defined in. All I know is the name (which is a string), and all the modules that this program have
imported. In the same way, I also need to process the class and methods
call. I wonder if it is possible? I will appreciate your help very much!!

-Ryan
--
http://mail.python.org/mailman/listinfo/python-list


Jul 18 '05 #7
Hi all,
I wonder if it is possible to create an object of func, class or
method in the run time by it's name? To make it more clear, let me show
you an example: I parsed the python code and found a function with name
'len'.
I want to know if it is a build-in func(where can I look up?). If so,
ignore
it otherwise I want to find out which module is it defined in. All I know
is the name (which is a string), and all the modules that this program have
imported. In the same way, I also need to process the class and methods
call. I wonder if it is possible? I will appreciate your help very much!!

-Ryan
Jul 18 '05 #8
"Carol Carrot" <Ca*********@sofsof.net> writes:
now what is +1 QOTW.supposed to mean?


Someone just voted for (+1) your statement as a Quote of the Week,
which appears at the start of the weekly summary...

Nick

--
# sigmask || 0.2 || 20030107 || public domain || feed this to a python
print reduce(lambda x,y:x+chr(ord(y)-1),' Ojdl!Wbshjti!=obwAcboefstobudi/psh?')
Jul 18 '05 #9
On Tue, 17 Aug 2004, Yang Zhang wrote:
I want to know if it is a build-in func(where can I look up?). If so,
ignore it otherwise I want to find out which module is it defined in.
All functions and classes have a __module__ attribute which is set to the
name of the module in which they were defined.
All I know is the name (which is a string), and all the modules that
this program have imported.
If you first "import __main__", you can use getattr(__main__,"foo") to get
the object named "foo" in the global namespace.
In the same way, I also need to process the class and methods call. I
wonder if it is possible? I will appreciate your help very much!!


Here is a small snippet demonstrating the above:

import __main__
from types import FunctionType, ClassType

def which_module(name, where = __main__):
try:
obj = getattr(where, name)
except AttributeError:
obj = getattr(__builtins__, name)
try:
return obj.__module__
except AttributeError:
if not isinstance(obj, (FunctionType, ClassType)):
raise TypeError, "%s doesn't reference a function or class" % name
return None

print which_module('list') # --> '__builtin__'
from math import sin
print which_module('sin') # --> 'math'
a = 6
print which_module('a') # --> TypeError

Hope this helps.

Jul 18 '05 #10
weekly summary!
Wahoo!!!!

"Nick Vargish" <na*******@bandersnatch.org> wrote in message
news:m3************@tanelorn.bandersnatch.org...
"Carol Carrot" <Ca*********@sofsof.net> writes:
now what is +1 QOTW.supposed to mean?
Someone just voted for (+1) your statement as a Quote of the Week,
which appears at the start of the weekly summary...

Nick

--
# sigmask || 0.2 || 20030107 || public domain || feed this to a

python print reduce(lambda x,y:x+chr(ord(y)-1),'

Ojdl!Wbshjti!=obwAcboefstobudi/psh?')
Jul 18 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Barry A. Warsaw | last post by:
I've released version 2.1.3 of Mailman, the GNU Mailing List Manager. Mailman is released under the GNU General Public License (GPL). Version 2.1.3 is a bug fix release which also contains support...
0
by: John Roth | last post by:
The Mailman gateway seems to be picking posts up from the newsgroup and then reposting them to the newsgroup. As an example, see my post in the interminable PrePEP: Decimal Data Type thread dated...
2
by: Barry Warsaw | last post by:
Today I am releasing Mailman 2.1.5, a bug fix release that also contains new support for the Turkish language, and a few minor new features. Mailman is free software for managing email mailing...
1
by: Info VH | last post by:
I need to backup my list of subscribers on my Mailman mailing list. Any suggestions? Thanks, Chris Knudson Houston, TX ###
0
by: Brian van den Broek | last post by:
Hi all, There have been a few posts over the last month or so expressing a bit of exasperation with the "rising tide of newbie's". (Or, more accurately, the rising tide of questions from...
4
by: Andy M | last post by:
ALERT There is a person by the name of Mike Cox who's trying to turn this mailing list into a Big-8 newsgroup. Many of you know that this and most of the other postresql mailing lists are...
3
by: swangdb | last post by:
I have a Sun Server running Solaris 10 and Sendmail 8.13.7. I have Majordomo and Listproc installed on this server and they work. I have several production majordomo and listproc mailing lists...
0
by: kalin mintchev | last post by:
hi all.. i'm a bit confused by the bounces behavior of mailman. the idea is that each address from which a bounce comes back should be immediately removed from the list. right now they are not....
1
by: lg | last post by:
Hello, I'm pretty new to usenet and totally new to python, so.. hopefully i won't offend anyone with my naivete. I work at a non-profit organization where we use mailman for our email lists,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.