Re: [Mailman-Users] Keeping HTML in pipermail

2002-04-09 Thread J C Lawrence

On Mon, 8 Apr 2002 15:15:51 -0700 (PDT) 
Allen Day [EMAIL PROTECTED] wrote:

 How can I prevent pipermail from escaping out the tags in HTML email?
 I want the archived messages to be in HTML form, as they were sent
 out.

Use an archiver that understands MIME (as per the FAQ).

 Is this in an FAQ somewhere?

As listed in the footer of every message to this list:
 
  http://www.python.org/cgi-bin/faqw-mm.py

-- 
J C Lawrence
-(*)Satan, oscillate my metallic sonatas. 
[EMAIL PROTECTED]   He lived as a devil, eh?  
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] Mail looping between two mailman lists' request addresses

2002-04-09 Thread Ian Jackson

It looks like a spammer sent a mail from
[EMAIL PROTECTED] to
[EMAIL PROTECTED]  In any case, the result
was each -request bot mailing the other repeatedly with error
messages.

How should I prevent this from recurring ?

(I posted a similar message yesterday but it got caught by the 40K
maximum message size limit and the moderator doesn't seem to have
approved it.  Last time I just deleted the offending messages but now
it's happened again, so for the moment I've installed an Exim system
filter to catch mails from -request to -request addresses.)

Ian.


---BeginMessage---

This is an automated response.

There were problems with the email commands you sent to Mailman via
the administrative address
[EMAIL PROTECTED].

To obtain instructions on valid Mailman email commands, send email to
[EMAIL PROTECTED] with the word help in
the subject line or in the body of the message.

If you want to reach the human being that manages this mailing list,
please send your message to
[EMAIL PROTECTED].

The following is a detailed description of the problems.

 Subject line ignored:
   Mailman results for adns-discuss
Command? This is an automated response.
Command? There were problems with the email commands you sent to Ma...
Command? the administrative address
Command? [EMAIL PROTECTED].
 
 Too many errors encountered; the rest of the message is ignored:
 
 To obtain instructions on valid Mailman email commands, send email to
 [EMAIL PROTECTED] with the word help in
 the subject line or in the body of the message.
 
 If you want to reach the human being that manages this mailing list,
 please send your message to
 [EMAIL PROTECTED].
 
 The following is a detailed description of the problems.
 
  Subject line ignored:
Mailman results for adns-announce
 Command? This is an automated response.
 Command? There were problems with the email commands you sent to Ma...
 Command? the administrative address
 Command? [EMAIL PROTECTED].
  
  Too many errors encountered; the rest of the message is ignored:
  
  To obtain instructions on valid Mailman email commands, send email to
  [EMAIL PROTECTED] with the word help in
  the subject line or in the body of the message.
  
  If you want to reach the human being that manages this mailing list,
  please send your message to
  [EMAIL PROTECTED].
  
  The following is a detailed description of the problems.
  
   Subject line ignored:
 Mailman results for adns-discuss
  Command? This is an automated response.
  Command? There were problems with the email commands you sent to Ma...
  Command? the administrative address
  Command? [EMAIL PROTECTED].
   
   Too many errors encountered; the rest of the message is ignored:
   
   To obtain instructions on valid Mailman email commands, send email to
   [EMAIL PROTECTED] with the word help in
   the subject line or in the body of the message.
   
   If you want to reach the human being that manages this mailing list,
   please send your message to
   [EMAIL PROTECTED].
   
   The following is a detailed description of the problems.
   
Subject line ignored:
  Mailman results for adns-announce
   Command? This is an automated response.
   Command? There were problems with the email commands you sent to Ma...
   Command? the administrative address
   Command? [EMAIL PROTECTED].

Too many errors encountered; the rest of the message is ignored:

To obtain instructions on valid Mailman email commands, send email to
[EMAIL PROTECTED] with the word help in
the subject line or in the body of the message.

If you want to reach the human being that manages this mailing list,
please send your message to
[EMAIL PROTECTED].

The following is a detailed description of the problems.

 Subject line ignored:
   Mailman results for adns-discuss
Command? This is an automated response.
Command? There were problems with the email commands you sent to Ma...
Command? the administrative address
Command? [EMAIL PROTECTED].
 
 Too many errors encountered; the rest of the message is ignored:
 
 To obtain instructions on valid Mailman email commands, send email to
 [EMAIL PROTECTED] with the word help in
 the subject line or in the body of the message.
 
 If you want to reach the human being that manages this mailing list,
 please send your message to
 [EMAIL PROTECTED].
 
 The following is a detailed description of the problems.
 
  Subject line ignored:
Mailman results for adns-announce
 Command? This is an automated response.
 Command? There were problems with the email commands you sent to Ma...
 Command? the administrative address
 Command? [EMAIL PROTECTED].
  
  Too many errors encountered; the rest of the message is ignored:
  
  To obtain instructions on valid Mailman email commands, send email to
  [EMAIL PROTECTED] with the word help in
  the subject line or in 

[Mailman-Users] editing pending messages

2002-04-09 Thread sean pambianco

Hi,

Is it possible to edit messages that are held for approval in the
administrative interface?  The header and the text?

Sean



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] Feature Query...

2002-04-09 Thread ajit k jena


Hi,

About a week back I had posted a query about configuring Mailman
to co-exist with QMAIL. I got a few answers and finally took the
easy option of setting up a virtualdomain under QMAIL. Now things
are working fine.

I have another issue:

We have a majordomo setup. There we have a list where most
of the list members can not post. The posting rights are
with a designated few (who may or may not be subscribing
to the list). All the rest are simply recipients.

How can I implement such a thing under Mailman scheme ?

Hoping to get some useful tips.

Regards.

-- ajit

|-|
| Ajit K. Jena  Phone : (Office) +91-22-5767751   |
| Computer Centre+91-22-5722545 x8750 |
| Indian Institute of Technology(Home)   +91-22-5722545 x8068 |
|   (Mobile) +91-9820-200112  |
| POWAI, Bombay Fax   :  +91-22-5723894   |
| PIN 400076, India Email :  [EMAIL PROTECTED]   |
|-|




--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



Re: [Mailman-Users] Getting Member listing

2002-04-09 Thread Tod and Deanna Mascle

Paul's method works just dandy except my e-mail program is slow and if your
list is large the e-mail is also.  What I've been doing to backup my lists
is view subscriber list with my admin signin from interface (making sure
that addresses are formatted to include the @, so I have to remember to make
that switch before hand) and just save the web page to my desk top. Then I
have a list of all subscribers.

Deanna

Deanna Mascle
http://www.deannamascle.com
A Trivia Break
http://atriviabreak.quizqueen.net
The QuizQueen
http://www.quizqueen.net
JustFolks
http://www.justfolks.net
- Original Message -
From: Paul Croft [EMAIL PROTECTED]
To: ksjones [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, April 08, 2002 5:37 PM
Subject: [Mailman-Users] Getting Member listing


 *** I added a subject line...which is a really nice thing for YOU to do so
 that people can follow the thread!

 Very easily

 Send a message to:

 [listname][EMAIL PROTECTED] with a subject line of who (no quotes)

 Change [listname] to the name of your list and change the domain name
also!

 This only works if you have the membership viewable by all...but what I do
 is make the switch...send the message and then switch it back really
quickly!

 Paul

 At 10:47 AM 07/04/02, ksjones wrote:
 Is there any way with mailman to get a list of all the subscribed email
 addresses in text form instead of just the web admin pages.  It is easier
 to review the list when I can have a couple of people look at the list
and
 confirm the addresses.
 
 Thanks much








--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] Re: customizing mailman V2.08

2002-04-09 Thread sunny

hello List,

I am running mailman ver 2.08 on Solaris 8 with
multiple listadmins the problem some listadmin's are
changing The list admin's email address and also
Maximum length in Kb of a message body to 0 which is
choking the servers. Can i customize the mailman so
that these fileds will not be available for the list
admin to change.


Thanks in advance,
Regs
Sunny

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] Re: customizing mailman V2.08

2002-04-09 Thread sunny

hello List,

I am running mailman ver 2.08 on Solaris 8 with
multiple listadmins the problem some listadmin's are
changing The list admin's email address and also
Maximum length in Kb of a message body to 0 which is
choking the servers. Can i customize the mailman so
that these fileds will not be available for the list
admin to change.


Thanks in advance,
Regs
Sunny

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



Re: [Mailman-Users] Getting Member listing

2002-04-09 Thread J C Lawrence

On Tue, 9 Apr 2002 08:58:20 -0400 
Tod and Deanna Mascle [EMAIL PROTECTED] wrote:

 Paul's method works just dandy except my e-mail program is slow and if
 your list is large the e-mail is also.  What I've been doing to backup
 my lists is view subscriber list with my admin signin from interface
 (making sure that addresses are formatted to include the @, so I have
 to remember to make that switch before hand) and just save the web
 page to my desk top. Then I have a list of all subscribers.

Please see the FAQ:

  http://www.python.org/cgi-bin/faqw-mm.py

-- 
J C Lawrence
-(*)Satan, oscillate my metallic sonatas. 
[EMAIL PROTECTED]   He lived as a devil, eh?  
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



Re: [Mailman-Users] editing pending messages

2002-04-09 Thread Marc MERLIN

On Tue, Apr 09, 2002 at 08:46:53AM -0700, J C Lawrence wrote:
 On Tue, 9 Apr 2002 07:05:27 -0400 (EDT) 
 sean pambianco [EMAIL PROTECTED] wrote:
 
  Hi, Is it possible to edit messages that are held for approval in the
  administrative interface?  The header and the text?
 
 Please see the FAQ:
 
   http://www.python.org/cgi-bin/faqw-mm.py

Talking about  this, it  seems that the  change to a  pickle files  for held
messages in 2.1  (I'm not sure why the change  BTW) unfortunately makes such
editing hard now, unless I missed something.

Marc
-- 
Microsoft is to operating systems  security 
   what McDonalds is to gourmet cooking
  
Home page: http://marc.merlins.org/   |   Finger [EMAIL PROTECTED] for PGP key


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



Re: [Mailman-Users] editing pending messages

2002-04-09 Thread J C Lawrence

On Tue, 9 Apr 2002 09:04:42 -0700 
Marc MERLIN [EMAIL PROTECTED] wrote:

 On Tue, Apr 09, 2002 at 08:46:53AM -0700, J C Lawrence wrote:
 On Tue, 9 Apr 2002 07:05:27 -0400 (EDT) sean pambianco
 [EMAIL PROTECTED] wrote:

 Hi, Is it possible to edit messages that are held for approval in
 the administrative interface?  The header and the text?
 
 Please see the FAQ:
 
 http://www.python.org/cgi-bin/faqw-mm.py

 Talking about this, it seems that the change to a pickle files for
 held messages in 2.1 (I'm not sure why the change BTW) unfortunately
 makes such editing hard now, unless I missed something.

curses

Damn, I thought that decision had gone the other way.  I hand edit every
message (the wonders of XEmacs) for my major lists, and thus currently
rely on the plain text qfiles being accessible to do that.

I thought v2.1 (don't have an installation to hand) also had a
moderate-by-email setup such that the edited message could be sent in to
be approved (and this removing the matching queue entry)?

-- 
J C Lawrence
-(*)Satan, oscillate my metallic sonatas. 
[EMAIL PROTECTED]   He lived as a devil, eh?  
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] transports not working

2002-04-09 Thread Rantanen, TC1

I am not able to build the lists via  email but I can build it with a the
add_member command.
Also the pipermail/test has an error when it comes up. Does mailman use
pipermail?

I copied the config section from the howto into the exim.conf file. 
Also copied the info from creating a list into /etc/aliases then did a
newaliases.

Anybody have an idea where to look for the error below?

delivering message 16uz3P-IV-00
LOG: 0 MAIN PANIC DIE
  Neither the system_aliases director nor the address_pipe transport set a 
uid for local delivery of |/var/mailman/mail/wrapper post test

Ed Rantanen


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] Postfix and Mailman 2.0.8

2002-04-09 Thread Galatoulas Emmanuel

Hi  all

I would like to set up a list server for our organisation
using Postfix as MTA and Mailman
I have experimented with Mailman 2.1b1 and found that it integrates
very well with Postfix. However I can't say the same for Mailman 2.0.x !!!
Any ideas or tips on how to ease the task of using Mailman 2.0.x  with 
Postfix ???

Thanks

Emmanuel



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] Re: editing pending messages

2002-04-09 Thread tneff

You can edit pending messages in Mailman 2.0.8 with the following patch.  I
have not tested it on 2.0.9 yet.  This method will probably never make the
official FAQ, but it will always be online in gzipped form at

http://www.panix.com/~tneff/mailman20_edit_patch.gz

First, increase ADMINDB_PAGE_TEXT_LIMIT in Mailman/Defaults.py from the
default of 4096 to something bigger like 32768 or -1 for unlimited (a huge
submission may render slowly in the browser!).  Then apply this two-part
patch.

*** Mailman/Cgi/admindb.py.orig Wed Oct 10 13:31:46 2001
--- Mailman/Cgi/admindb.py  Wed Oct 10 18:30:25 2001
***
*** 270,275 
--- 270,277 
  continue
  # get the action comment and reasons if present
  commentkey = 'comment-%d' % request_id
+ headerskey = 'headers-%d' % request_id
+ contentskey = 'fulltext-%d' % request_id
  preservekey = 'preserve-%d' % request_id
  forwardkey = 'forward-%d' % request_id
  forwardaddrkey = 'forward-addr-%d' % request_id
***
*** 278,285 
--- 280,293 
  preserve = 0
  forward = 0
  forwardaddr = ''
+ headers = ''
+ contents = ''
  if cgidata.has_key(commentkey):
  comment = cgidata[commentkey].value
+ if cgidata.has_key(headerskey):
+ headers = cgidata[headerskey].value
+ if cgidata.has_key(contentskey):
+ contents = cgidata[contentskey].value
  if cgidata.has_key(preservekey):
  preserve = cgidata[preservekey].value
  if cgidata.has_key(forwardkey):
***
*** 290,296 
  # handle the request id
  try:
  mlist.HandleRequest(request_id, v, comment,
! preserve, forward, forwardaddr)
  except (KeyError, Errors.LostHeldMessage):
  # that's okay, it just means someone else has already updated 
the
  # database, so just ignore this id
--- 298,304 
  # handle the request id
  try:
  mlist.HandleRequest(request_id, v, comment,
! preserve, forward, forwardaddr, headers, 
contents)
  except (KeyError, Errors.LostHeldMessage):
  # that's okay, it just means someone else has already updated 
the
  # database, so just ignore this id

*** Mailman/ListAdmin.py.orig   Wed Oct 10 13:31:46 2001
--- Mailman/ListAdmin.pyWed Oct 10 18:40:27 2001
***
*** 122,133 
  return type

  def HandleRequest(self, id, value, comment=None, preserve=None,
!   forward=None, addr=None):
  self.__opendb()
  rtype, data = self.__db[id]
  if rtype == HELDMSG:
  status = self.__handlepost(data, value, comment, preserve,
!forward, addr)
  else:
  assert rtype == SUBSCRIPTION
  status = self.__handlesubscription(data, value, comment)
--- 122,133 
  return type

  def HandleRequest(self, id, value, comment=None, preserve=None,
!   forward=None, addr=None, headers=None, 
contents=None):
  self.__opendb()
  rtype, data = self.__db[id]
  if rtype == HELDMSG:
  status = self.__handlepost(data, value, comment, preserve,
!forward, addr, headers, contents)
  else:
  assert rtype == SUBSCRIPTION
  status = self.__handlesubscription(data, value, comment)
***
*** 172,178 
  data = time.time(), sender, msgsubject, reason, filename, msgdata
  self.__db[id] = (HELDMSG, data)

! def __handlepost(self, record, value, comment, preserve, forward, 
addr):
  # For backwards compatibility with pre 2.0beta3
  if len(record) == 5:
  ptime, sender, subject, reason, filename = record
--- 172,178 
  data = time.time(), sender, msgsubject, reason, filename, msgdata
  self.__db[id] = (HELDMSG, data)

! def __handlepost(self, record, value, comment, preserve, forward, 
addr, headers, contents):
  # For backwards compatibility with pre 2.0beta3
  if len(record) == 5:
  ptime, sender, subject, reason, filename = record
***
*** 181,186 
--- 181,202 
  # New format of record
  ptime, sender, subject, reason, filename, msgdata = record
  path = os.path.join(mm_cfg.DATA_DIR, filename)
+ # Handle editing
+ if len(headers)+len(contents):
+fp = open(path)
+unixfrom = fp.readline()
+rest = fp.read()
+# Parse headers and body
+parts = string.split(rest,'\n\n')
+if len(headers) == 0:
+headers = parts[0]
+if len(contents) == 0:
+

Re: [Mailman-Users] Re: Removing those extra List-* headers

2002-04-09 Thread John W Baxter

At 20:51 -0700 4/8/2002, Chuq Von Rospach wrote:
On 4/8/02 6:19 PM, John W Baxter [EMAIL PROTECTED] wrote:


 One can't, if one uses the Mailman installation managed as a service by
 someone else.  Suitable bribes to that person might help, though.  I think
 I remember the OP saying that he was in the using-a-service camp.

Of course, maybe, just maybe, the people who spend their time designing,
building, maintaining and operating mailman and mailman-using systems know
something about this topic that people like OP don't.

Indeed.  But I didn't say anything about removing the headers being a good
thing, nor advise how to do it.


Nah. He's right. Let's nuke the headers.

Actually, I want to keep the headers (and I elected to read a virtual
sarcasm smiley above).  But now and then I do read a list with a Windows
Eudora which is not set to suppress them, and I see the counter argument.
(I suppress them in the Mac Eudora I usually use.)

But I think that advice to comment out a line of code should be qualified
by if you have access to the Mailman installation and want to [do xx] ...
or something like that.  Whether xx is nuking the List-* headers or
anything else that requires a code change.  Because of the archives, I
think that's true even if it is known that the immediate recipient of the
advice indeed has the needed access to make the change (alternate form:
Because you have access to the Mailman installation, you can [xx]).

  --John

-- 
John Baxter   [EMAIL PROTECTED]  Port Ludlow, WA, USA


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



Re: [Mailman-Users] list statistics

2002-04-09 Thread Jon Carnes

I'll have to add size to it, but how's this for a start:

Weekly
===
LISTNAM=your list name
echo -n Total post to the list $LISTNAM:
grep -i post to $LISTNAME  ~mailman/logs/post |wc -l
echo  
echo Top 10 posters to the list:
grep -i post to $LISTNAM  ~mailman/logs/post |cut -f 10 -d  | \
   sort |uniq -c |sort -r |head -10
===
This assumes that there are a weeks worth of logs in ~mailman/logs/post
I actually run the script on the file ~mailman/logs/post.1 - after the files
have been rotated.
You can, however, run it weekly before you rotate your logs.

If you want monthly stats then you will need to keep 5 weeks of logs.  I
rotate my logs weekly and number the logs as such:
  post - current log for postings
  post.1 - last weeks log for postings
  post.2 - postings from 2 weeks ago
  post.3 - postings from 3 weeks ago
  post.4 - postings from 4 weeks ago
  post.5 - postings from 5 weeks ago

Monthly (run on 1st of the month)
===
LISTNAM=your list name
MONTH=`date -d last month +%b`
echo -n Total post to the list $LISTNAM:
grep -i post to $LISTNAME  ~mailman/logs/post* |wc -l
echo  
grep -i post to $LISTNAM  ~mailman/logs/post* |grep :$MONTH  | \
   cut -f 10 -d  |sort |uniq -c |sort -r |head -10
===

Jon Carnes
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 09, 2002 11:20 AM
Subject: [Mailman-Users] list statistics


 all,

 does anyone know of a plug-in or a hack to get statistics from a list? i
am
 looking for something that will generate a monthly / weekly report with
 things like: top 10 users, average daily message count, average message
size
 etc?

 anyone know of a feature to do this?

 thanks

 p.s. great software!!

 **


 Internet communications are not secure and therefore the Barclays Group
 does not accept legal responsibility for the contents of this message.
 Although the Barclays Group operates anti-virus programmes, it does not
 accept responsibility for any damage whatsoever that is caused by
 viruses being passed.  Any views or opinions presented are solely those
 of the author and do not necessarily represent those of the Barclays
 Group.  Replies to this email may be monitored by the Barclays Group
 for operational or business reasons.



 --
 Mailman-Users mailing list
 [EMAIL PROTECTED]
 http://mail.python.org/mailman/listinfo/mailman-users
 Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



Re: [Mailman-Users] list statistics

2002-04-09 Thread Jon Carnes

Okay, here is the addition of size to the scripts.  I also filter on
success, as some lists reject mail that is too large.

SIZ=`grep -i post to $LISTNAM ~mailman/logs/post |grep success | \
   cut -f2 -d= |cut -f1 -d,`
j=0; for i in $SIZ; do j=$(( i + j )); done; echo Total bytes = $j

I'll tweak these and put them in the FAQ - though it's not really a
frequently asked question...

Jon Carnes
- Original Message -
From: Jon Carnes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, April 09, 2002 3:26 PM
Subject: Re: [Mailman-Users] list statistics


 I'll have to add size to it, but how's this for a start:

 Weekly
 ===
 LISTNAM=your list name
 echo -n Total post to the list $LISTNAM:
 grep -i post to $LISTNAME  ~mailman/logs/post |wc -l
 echo  
 echo Top 10 posters to the list:
 grep -i post to $LISTNAM  ~mailman/logs/post |cut -f 10 -d  | \
sort |uniq -c |sort -r |head -10
 ===
 This assumes that there are a weeks worth of logs in ~mailman/logs/post
 I actually run the script on the file ~mailman/logs/post.1 - after the
files
 have been rotated.
 You can, however, run it weekly before you rotate your logs.

 If you want monthly stats then you will need to keep 5 weeks of logs.  I
 rotate my logs weekly and number the logs as such:
   post - current log for postings
   post.1 - last weeks log for postings
   post.2 - postings from 2 weeks ago
   post.3 - postings from 3 weeks ago
   post.4 - postings from 4 weeks ago
   post.5 - postings from 5 weeks ago

 Monthly (run on 1st of the month)
 ===
 LISTNAM=your list name
 MONTH=`date -d last month +%b`
 echo -n Total post to the list $LISTNAM:
 grep -i post to $LISTNAME  ~mailman/logs/post* |wc -l
 echo  
 grep -i post to $LISTNAM  ~mailman/logs/post* |grep :$MONTH  | \
cut -f 10 -d  |sort |uniq -c |sort -r |head -10
 ===

 Jon Carnes
 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, April 09, 2002 11:20 AM
 Subject: [Mailman-Users] list statistics


  all,
 
  does anyone know of a plug-in or a hack to get statistics from a list? i
 am
  looking for something that will generate a monthly / weekly report with
  things like: top 10 users, average daily message count, average message
 size
  etc?
 
  anyone know of a feature to do this?
 
  thanks
 
  p.s. great software!!
 
  **
 
 
  Internet communications are not secure and therefore the Barclays Group
  does not accept legal responsibility for the contents of this message.
  Although the Barclays Group operates anti-virus programmes, it does not
  accept responsibility for any damage whatsoever that is caused by
  viruses being passed.  Any views or opinions presented are solely those
  of the author and do not necessarily represent those of the Barclays
  Group.  Replies to this email may be monitored by the Barclays Group
  for operational or business reasons.
 
 
 
  --
  Mailman-Users mailing list
  [EMAIL PROTECTED]
  http://mail.python.org/mailman/listinfo/mailman-users
  Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



 --
 Mailman-Users mailing list
 [EMAIL PROTECTED]
 http://mail.python.org/mailman/listinfo/mailman-users
 Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] Re: Removing those extra List-* headers

2002-04-09 Thread tneff

Sorry, I missed this when it first appeared.

John W Baxter [EMAIL PROTECTED] wrote:
 One can patch the installation, if one manages the Mailman installation
 and has or develops the skills.

 One can't, if one uses the Mailman installation managed as a service by
 someone else.  Suitable bribes to that person might help, though.  I think
 I remember the OP saying that he was in the using-a-service camp.

Right, if the ISP is offering Mailman as a 'canned' service *AND* you're 
not allowed to install your own copy and use that instead, then you can't 
install any patches.  The good news is that even if the Mailman authors 
were to decide to make the List-* headers a per-list option in 2.1 (which 
they won't), you'd probably have no luck convincing the ISP to upgrade 
anyway.

Sometimes an ISP will offer Mailman as an installable software option via 
checkbox on your web-based server configurator etc... but actually you 
could install your own copy if you wanted to.  In that case, install it 
yourself and patch away.

Personally, I wouldn't run Mailman somewhere I hadn't installed it.

Still on my todo list is a per-list config patch for the headers.


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] Setting up an announce only list

2002-04-09 Thread Eric Sisler

Greetings!

I'm new to Mailman and I've read the various documentation, FAQ's and 
scanned the archives, but I don't see a definitive answer to setting up an 
announce only type list.  I can't quite come up with the solution I want, 
and perhaps there isn't with this version.  Ideally what I'd like is this:

When members (or anyone) try to send to the list, they receive the message 
back in the autoresponse_postings_text variable but *NOT* the short 
message indicating that the post is being held pending administrative 
approval (as it won't ever get approved).  In this case, the list 
administrator would only need select discard from the tend to pending 
administrative tasks page instead of having to word a reply for each posting.

Unfortunately setting Send mail to poster when their posting is held for 
approval? to no also seems to disable the autorespond text.  Setting the 
above to yes then sends *both* messages - the short one indicating the 
message is being held for approval and the autorespond text.  The problem 
is the messages conflict - one says the message is being held for approval 
and the other says no posts to this list are allowed.

Another possible solution would be to change the short message to indicate 
no posts are allowed, but I don't see any method of doing so from the web 
interface.  Is there a way?

I'd also like to change the Welcome to the list e-mail text, is there a 
way to do this - other than just adding additional text?

If anyone has a better method for setting up an announce only list, I'm all 
eyes.

Any suggestions are appreciated.  Thanks!

-Eric


Eric Sisler [EMAIL PROTECTED]
Applications Specialist
Westminster Public Library
Westminster, CO USA

Linux - Don't fear the Penguin.
Want to know what we use Linux for?
Visit http://gromit.westminster.lib.co.us/linux



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



Re: [Mailman-Users] Setting up an announce only list

2002-04-09 Thread Jon Carnes

All that you ask is easily done with a little scripting...

You'll need to turn off Send mail to poster when posting is held.  Then 
write a script that looks at the held messages for the specified list in 
~mailman/data/..

grep for the first occurence of From: and isolate the senders email address

Send back a canned message:
  mail -s You are not authorized to post to [EMAIL PROTECTED] $FROM  
~mailman/lists/listname/canned_message.txt

Put the script in your mailman crontab and let it execute hourly (at 59 
minutes past the hour).

Make sure the list is setup so that only an elite few can automagically post 
to it... Voila!  Exactly what you want.

Oh, BTW, delete the held message after you respond to it, and (look in the 
FAQ for more details) copy a saved/empty request.db over the current one for 
the list - so that you won't get annoying messages about a pending request.

Work on it for awhile, and let me know if you have any problems.  I'm happy 
to help.

Jon Carnes

 --- Original Message: Tuesday 09 April 2002 06:29 pm ---
 Greetings!

 I'm new to Mailman and I've read the various documentation, FAQ's and
 scanned the archives, but I don't see a definitive answer to setting up an
 announce only type list.  I can't quite come up with the solution I want,
 and perhaps there isn't with this version.  Ideally what I'd like is this:

 When members (or anyone) try to send to the list, they receive the message
 back in the autoresponse_postings_text variable but *NOT* the short
 message indicating that the post is being held pending administrative
 approval (as it won't ever get approved).  In this case, the list
 administrator would only need select discard from the tend to pending
 administrative tasks page instead of having to word a reply for each
 posting.

 Unfortunately setting Send mail to poster when their posting is held for
 approval? to no also seems to disable the autorespond text.  Setting the
 above to yes then sends *both* messages - the short one indicating the
 message is being held for approval and the autorespond text.  The problem
 is the messages conflict - one says the message is being held for approval
 and the other says no posts to this list are allowed.

 Another possible solution would be to change the short message to indicate
 no posts are allowed, but I don't see any method of doing so from the web
 interface.  Is there a way?

 I'd also like to change the Welcome to the list e-mail text, is there a
 way to do this - other than just adding additional text?

 If anyone has a better method for setting up an announce only list, I'm all
 eyes.

 Any suggestions are appreciated.  Thanks!

 -Eric


 Eric Sisler [EMAIL PROTECTED]
 Applications Specialist
 Westminster Public Library
 Westminster, CO USA

 Linux - Don't fear the Penguin.
 Want to know what we use Linux for?
 Visit http://gromit.westminster.lib.co.us/linux



 --
 Mailman-Users mailing list
 [EMAIL PROTECTED]
 http://mail.python.org/mailman/listinfo/mailman-users
 Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] problems with cgi-gid and mail-gid

2002-04-09 Thread Shlomit Afgin

 
We downloaded and compiled mailman-2.0.8 on solaris 2.7 .
The installation was done on mail server running solaris2.7.
We tried to configure our web server (also solaris 2.7) to get the gui
interface for mailman , using nfs mount disk from mail server onto web
server.
We have the cgi-gid on our web server different from gid of the daemon
that runs mail on mail server.
So , we recompiled all the soft with

--with-cgi-gid=88891 and --with-mail-gid=88891.
Everything looked OK and we got giu interface of the first mailing list.

But when we try to post a message to the mailing lits we get the
following error:

.The following address had permanent fatal errors 
|/export/mailman/mail/wrapper post wicclist

.Transcript of session follows ...

Failure to exec script   WANTED gid 88891 GOT gid 1.(reconfigure to take
1?)
554 5.3.0 |/export/mailman/mail/wrapper post wicclist
... unknown mailer error 2.
 

How can we compile mailman to use wrapper in both gid's.
 

Thank you
 

Please send answers to
 

[EMAIL PROTECTED]
 
 
 
 
 
 
 



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] Mailman: gid problem

2002-04-09 Thread Ricky YUEN




i have install mailman 2.0.9 on my redhat 7.2.
now i have the following problem:
am i set gid correctly?

#
Problem:
cann't access :
http://domain.name/mailman/listinfo/listname 
and

http://domain.name/mailman/admin/listname
error:
= err begin =
Internal Server ErrorThe server encountered an internal 
error or misconfiguration and was unable to complete your request.Please 
contact the server administrator, [EMAIL PROTECTED]and inform them of 
the time the error occurred, and anything you might have done that may have 
caused the error.
More information about this error may be available in the 
server error log.
= errend =

#
My config:
Apache:

= apache begin =
User rickyGroup userScriptAlias /cgi-bin/ 
/home/mailman/cgi-bin/ScriptAlias /mailman/ 
/home/mailman/cgi-bin/ServerAdmin [EMAIL PROTECTED]

= apache end =

Mailman

= mailman start 
=

./configure --with-python=/usr/bin/python2 --with-cgi-gid=user
= mailman end =



[Mailman-Users] Reading email attachments

2002-04-09 Thread WOLFE,KEITH A (HP-FtCollins,ex1)

Thank you for your assistance.  I have two questions I was hoping you could
answer:

1) The Mailman features listed at http://www.list.org/features.html indicate
that it supports Automatic web-based Hypermail-style archiving.  However
our Mailman doesn't allow attachments such as .pdf and .doc files to be
readable because the raw hex is embedded into the email message, whereas our
hypermail archive does.  Is there a way to make the attachments readable in
the Mailman archive?  Without them readable, the archiving value is
diminished.

2) Our archive displays the following at the bottom:
This archive was generated by Pipermail 0.05 (Mailman edition).  Is this
the true Mailman, or a variation?  Is this why the attachments aren't
readable?

Thanks,
Keith


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] Multiple email addresses

2002-04-09 Thread Neal D. Becker

I want to subscribe using my home email address, but also want to be
able to post messages from work.  If the list is restricted to
subscribed addresses, how can I do this (or can I do this)?  If not,
can mailman support an option for email aliases?


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] mailman

2002-04-09 Thread Michal Marek Stefanczak

Hi!
I have o small problem, and I hope you could help with it. Some days ago
I installed mailman (version 2.0.9), all things work well, besides one.
I have problemmes sending mail to users outside our network. (it has
nothing to do with our firewall). It seems that SMTP is parsing all
emails. It takes the part left to @ (username), and adds it to our
domain.
It looks like this:
my email is:
[EMAIL PROTECTED]
If I register to one of the maillinglists, them this happens to my
email.
[EMAIL PROTECTED] , a 'localdomain.com' is added insted off my
original. I think that there is something wrong with the sendmail
configuration, but I haven't yet found it.
Do you know what i shall do??

-Michal



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] Need help: Deleting post approvals from admindb

2002-04-09 Thread sztamas

I'd like to remove about 1000 approvals from a list.

I've read the FAQ, and I bet the lines below won't solve my problem.

remove $prefix/archives/private/listname 
edit $prefix/archives/private/listname.mbox/listname.mbox [optional] 
run $prefix/bin/arch listname 

I've seen the user list archives for the last month, and I was not able to
find a solution.
Thanks for the help.
Tamas
ps: Please, Carbon Copy to me



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] a few questions

2002-04-09 Thread Rama Kesava BVTS

Hi,

I'm considering switching a list of around 9,000 subscribers to Mailman.
Currently we are using eMerge and it's rather bad.

I had a few questions, that I hoped you could answer:

1) How large can the mailing list be? Is 9,000 too large? If not, is there a
way to tell Mailman not to send all the message all at once -- I am thinking
about this so that it all doesn't get bounced back saying too many
recipients.

2) Do the subscribers have to always confirm their subscription or can the
list owner do this on their behalf? (I am thinking here about
data-convertion, and also circumstances where people ask us to subscribe
them for us because they can't.)

3) If so, can we do a bulk-add then? Does the web-interface allow this?

3) Lastly can it be made so that the subscribers cannot reply to the list? I
believe this is called a closed list? (Our current list is one-way, so to
speak, and we wanted it to remain this way.)

I'd really appreciate it if you would be able to answer these questions for
me. Thanks in advance.

Regards,
Rama Kesava


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] Posting from a web form

2002-04-09 Thread Ed Greenberg

Is there a way to implement posting from a web form (for list members 
authenticated with their passwords)?

Some of my members are asking for this.

The list is an Recreational Vehicles list, and they want to read archives, 
and post message, from public Internet stations in cafes and libraries.

Has anybody done this?

Thanks,
/edg



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



Re: [Mailman-Users] Reading email attachments

2002-04-09 Thread J C Lawrence

On Tue, 9 Apr 2002 14:09:30 -0400 
KEITH A WOLFE WOLFE wrote:

 1) The Mailman features listed at http://www.list.org/features.html
 indicate that it supports Automatic web-based Hypermail-style
 archiving.  However our Mailman doesn't allow attachments such as
 .pdf and .doc files to be readable because the raw hex is embedded
 into the email message, whereas our hypermail archive does.  Is there
 a way to make the attachments readable in the Mailman archive?
 Without them readable, the archiving value is diminished.

Please see the FAQ:

  http://www.python.org/cgi-bin/faqw-mm.py

 2) Our archive displays the following at the bottom: This archive was
 generated by Pipermail 0.05 (Mailman edition).  Is this the true
 Mailman, or a variation?  Is this why the attachments aren't readable?

Pipermail is a mail archiving tool that has been mostly abandoned
(outside of Mailman).  It used to be external to Mailman, but is now
only found within Mailman.

-- 
J C Lawrence
-(*)Satan, oscillate my metallic sonatas. 
[EMAIL PROTECTED]   He lived as a devil, eh?  
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



Re: [Mailman-Users] Multiple email addresses

2002-04-09 Thread J C Lawrence

On 09 Apr 2002 10:03:07 -0400 
Neal D Becker [EMAIL PROTECTED] wrote:

 I want to subscribe using my home email address, but also want to be
 able to post messages from work.  If the list is restricted to
 subscribed addresses, how can I do this (or can I do this)?  If not,
 can mailman support an option for email aliases?

Please see the FAQ:

  http://www.python.org/cgi-bin/faqw-mm.py

-- 
J C Lawrence
-(*)Satan, oscillate my metallic sonatas. 
[EMAIL PROTECTED]   He lived as a devil, eh?  
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



Re: [Mailman-Users] a few questions

2002-04-09 Thread J C Lawrence

On Tue, 9 Apr 2002 12:37 +0100 
Rama Kesava BVTS [EMAIL PROTECTED] wrote:

 1) How large can the mailing list be? Is 9,000 too large? If not, is
 there a way to tell Mailman not to send all the message all at once --
 I am thinking about this so that it all doesn't get bounced back
 saying too many recipients.

Please see the FAQ:

  http://www.python.org/cgi-bin/faqw-mm.py

 2) Do the subscribers have to always confirm their subscription or can
 the list owner do this on their behalf? (I am thinking here about
 data-convertion, and also circumstances where people ask us to
 subscribe them for us because they can't.)

List-owners can subscribe addresses manually via the web interface or
CLI.

 3) If so, can we do a bulk-add then? Does the web-interface allow
 this?

Yes.  The CLI is more suited however.

 3) Lastly can it be made so that the subscribers cannot reply to the
 list? I believe this is called a closed list? (Our current list is
 one-way, so to speak, and we wanted it to remain this way.)

Yes, tho 2.1 (currently in beta) handles this better than 2.0.

-- 
J C Lawrence
-(*)Satan, oscillate my metallic sonatas. 
[EMAIL PROTECTED]   He lived as a devil, eh?  
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



Re: [Mailman-Users] Posting from a web form

2002-04-09 Thread J C Lawrence

On Tue, 09 Apr 2002 21:13:38 -0700 
Ed Greenberg [EMAIL PROTECTED] wrote:

 Is there a way to implement posting from a web form (for list members
 authenticated with their passwords)?

Yes, see the FAQ:

  http://www.python.org/cgi-bin/faqw-mm.py

 Has anybody done this?

Yup.  I've detailed the bits and where to get them in the above FAQ
(under MIME archiving)

-- 
J C Lawrence
-(*)Satan, oscillate my metallic sonatas. 
[EMAIL PROTECTED]   He lived as a devil, eh?  
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] Blocking few features for listadmin

2002-04-09 Thread sunny


 I am running mailman ver 2.08 on Solaris 8 with
 multiple listadmins the problem some listadmin's are
 changing The list admin's email address and also
 Maximum length in Kb of a message body to 0 which
 is
 choking the servers. Can i customize the mailman so
 that these fileds will not be available for the list
 admin to change.

Regards
DK 


__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py