[Mailman-Users] Creating reports

2002-07-14 Thread Heather J. Lubinsky

I was wondering if anyone has had any luck creating reports - either
web-based or through the command line..

Here is what I am looking for -- I noticed that in the roster you can see
how many digest and non digests you have -- is there a way to create a
script or something that can add the numbers together or go through the
lists.

We have about 60 lists and 10,000 people -- Every month I need to report how
many on each list.

Anyway thanks.

Heather



--
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: Creating reports

2002-07-14 Thread David Gibbs

Heather J. Lubinsky [EMAIL PROTECTED] wrote in message
0b8a01c22b14$27267fd0$[EMAIL PROTECTED]">news:0b8a01c22b14$27267fd0$[EMAIL PROTECTED]...
 We have about 60 lists and 10,000 people -- Every month I need to report
how
 many on each list.

I've got a couple of scripts I hacked together to do just that... it isn't
the most elegent solution, but it works.

It requires a modification to the list_lists script and a new list-summary
shell script...

Here's a patch for the list_lists script...

--
--- list_lists_old  Wed Aug 29 22:29:11 2001
+++ list_lists  Fri Jul 12 06:11:35 2002
@@ -26,6 +26,10 @@
 -a
 List only those mailing lists that are publically advertised

+--bare
+-b
+Displays only the list name, no description
+
 --virtual-host-overview=domain
 -V domain
 List only those mailing lists that are homed to the given virtual
@@ -60,13 +64,14 @@


 def main():
 try:
-opts, args = getopt.getopt(sys.argv[1:], 'aV:h',
+opts, args = getopt.getopt(sys.argv[1:], 'abV:h',
['advertised', 'virtual-host-overview=',
-'help'])
+'bare', 'help'])
 except getopt.error, msg:
 usage(1, msg)

 advertised = 0
+bare = 0
 vhost = None

 for opt, arg in opts:
@@ -74,6 +79,8 @@
 usage(0)
 elif opt in ('-a', '--advertised'):
 advertised = 1
+elif opt in ('-b', '--bare'):
+bare = 1
 elif opt in ('-V', '--virtual-host-overview'):
 vhost = arg

@@ -93,15 +100,21 @@
 mlists.append(mlist)
 longest = max(len(mlist.real_name), longest)

-if not mlists:
+if not mlists and not bare:
 print 'No matching mailing lists found'
 return

-print len(mlists), 'matching mailing lists found:'
+if not bare:
+   print len(mlists), 'matching mailing lists found:'
+
 format = '%%%ds - %%.%ds' % (longest, 77 - longest)
+
 for mlist in mlists:
 description = mlist.description or '[no description available]'
-print '   ', format % (mlist.real_name, description)
+if bare:
+print mlist.real_name
+else:
+print '   ', format % (mlist.real_name, description)


 if __name__ == '__main__':

--

And here's the main script to build a summary html page ...

--
#! /bin/sh

MAILMAN=/usr/local/home/mailman/bin
BASEURL=http://lists.midrange.com/cgi-bin;
TITLE=MIDRANGE dot COM Public Mailing List Statistics

TMPNAME=`basename $0`

TMPFILE=`mktemp /tmp/$TMPNAME.XX` || exit 1

for LIST in `$MAILMAN/list_lists --advertised --bare`
do
$MAILMAN/list_members $LIST  $TMPFILE
done

COUNT=`sort --ignore-case $TMPFILE|uniq --ignore-case|wc --lines`

cat EOF1
html

head
title$TITLE/title
meta name=robots content=noindex,follow,noarchive
/head

body
pcenterbigbig$TITLE/big/big/center/p
div align=centercenter

  table border=1
tr
  th/th
  th colspan=3Membership/th
/tr
tr
  thList Name/th
  th align=centerTotal/th
  th align=centerRegular/th
  th align=centerDigest/th
/tr
EOF1

TOTAL_BOTH=0
TOTAL_REGULAR=0
TOTAL_DIGEST=0

for LIST in `$MAILMAN/list_lists --advertised --bare`
do
BOTH=`$MAILMAN/list_members $LIST|wc -l`
REGULAR=`$MAILMAN/list_members --regular $LIST|wc -l`
DIGEST=`$MAILMAN/list_members --digest $LIST|wc -l`
let TOTAL_BOTH=$(($TOTAL_BOTH+$BOTH))
let TOTAL_REGULAR=$(($TOTAL_REGULAR+$REGULAR))
let TOTAL_DIGEST=$(($TOTAL_DIGEST+$DIGEST))
cat EOF2
tr
  tda href=$BASEURL/listinfo/$LIST$LIST/a/td
  td align=center$BOTH/td
  td align=center$REGULAR/td
  td align=center$DIGEST/td
/tr
EOF2

done

cat EOF3
tr bgcolor=#C0C0C0
  tdbGrand Total/b/td
  td align=center$TOTAL_BOTH/td
  td align=center$TOTAL_REGULAR/td
  td align=center$TOTAL_DIGEST/td
/tr

  /table
p
hr
Total unique mailing list subscribers (all lists): $COUNT
hr
EOF3

TODAY=`date`

cat EOF4
p align=centersmallemLast updated $TODAY/em/small/p
/center/div
/body
/html
EOF4

--







--
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] newbie question: email addreses for the virtusertable

2002-07-14 Thread Venkatesh Madurai Subramanian





_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.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] newbie question: email addreses for the virtusertable

2002-07-14 Thread Venkatesh Madurai Subramanian


Dear All,

I am quite new to Mailman and was wondering where could i find the list of 
email addresses that Mailman users.

I am trying to set it up for virtual host domains on my server.

For example, i need to find out the list of email addresses like 
listname[EMAIL PROTECTED], etc., that Mailman needs so that i can 
add these to the virtusertable entries.

Thanks in advance and best regards

Venky

_
Send and receive Hotmail on your mobile device: http://mobile.msn.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] SMART_ADDRESS_MATCH isn't very

2002-07-14 Thread Bob Weissman

Defaults.py says:

# When true, Mailman will consider [EMAIL PROTECTED] to be the same address as
# user@domain.  If set to 0, Mailman will consider [EMAIL PROTECTED] to be the
# same address as [EMAIL PROTECTED], but different than user@domain.  Usernames
# will always be case preserved, and host parts of addresses will all be
# lowercased.
SMART_ADDRESS_MATCH = 1

but this really doesn't work.

I have a user subscribed as [EMAIL PROTECTED] who just posted to a members-only list as 
[EMAIL PROTECTED] (Because of Sun's email setup, this is out of the user's control.) The 
posting failed to go through even though SMART_ADDRESS_MATCH was set to 1.

Has anyone else hit this problem and found a fix? It seems like it must be a logic 
error in Utils.FindMatchingAddresses(), but it's not obvious to me where the problem 
is.

Thanks,
- Bob



--
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] Archives and spammers

2002-07-14 Thread Eddie Shipman

Is there a way to shield the email addresses of posters in the
archives to prent spammers from harvesting them?



--
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] Double Opt-In?

2002-07-14 Thread Michael Keukert

Hi,

I'm using Smartlist at the moment, but I need a mailing list manager
which provides double opt-in features.

Does Mailman has it?

-- 
Michael Keukert * SCP Software GmbH * http://www.scp.de
Auf der Huels 120 * D-52068 Aachen * Tel: 0241-96830-0 * Fax: -50
PGP Fingerprint: A4A8 EA96 166D 736D  14E8 7D86 2784 CA16



--
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] Lists show in admin but not listinfo

2002-07-14 Thread Greg Westin

For some reason, my publicly-advertised lists are showing up on the 
admin page, but not on the listinfo page.  Does anyone know why this 
could be?

Thanks,

Greg Westin
[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] Administrator web page

2002-07-14 Thread admin

After installing a list, and pressing the EDIT button on the control panel,
the admin web page does not appear. Error 404

Posts sent to the list are answered by a message stating that they are being
held for moderation by the list administrator, so the list basically appears
to work - but I have no way of admin'ing or moderating the list without the
web page.

If there is no way to get the admin web page to fly, are there manual
commands that can be used to set up and administer the list?

Any help would be appreciated.

charlesb




--
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] Additional information

2002-07-14 Thread G. Armour Van Horn

I left out a little information in the last message that might be useful
with that last message:

This server does almost nothing other than Mailman, I think there is one
very quiet website other than the mailman pages.

The OS is RedHat Linux, probably 6.1.

Python is at 1.5.2

Mailserver is Postfix, /usr/src suggest that it's 20001212.

CPU is AMD K6/233 - it's one of the first half-dozen demonstration
systems that AMD sent to reviewers when they released the K6. 64MB RAM.

No partition is more than 30% full, so I'm not running out of disk.

Van


--
--
Sign up now for Quotes of the Day, a handful of quotations
on a theme delivered every morning.
Enlightenment! Daily, for free!
mailto:[EMAIL PROTECTED]?subject=Subscribe_QOTD

For web hosting and maintenance,
visit Van's home page: http://www.domainvanhorn.com/van/
--




--
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] Crontab problem?

2002-07-14 Thread Philip White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello, all.

I installed Mailman 2.0.12 onto a Linux machine (RedHat 7.3, custom
2.4.18 kernel).  I followed all the instructions (at least as far as I
know).  I set up a list and can successfully access its administrative
options, list info, etc.  I set my membership list to be manually approved.
However, when anyone tries to subscribe, here's what happens: the
server sends them a confirmation e-mail and they correctly reply to it.
~ The server does not send them anything else, nor does it send me (the
mailing list owner) anything.  There is nothing in my administration
queue and the membership management list is empty.  The only change that
I can see is a new entry is made in /logs/subscribe.  /logs/error is empty.
Here's my uneducated prognosis: the cron jobs that are supposed to run
don't run, even though I followed the procedure for adding the
appropriate script to crontab.  The only reason I think that this is the
case is because I cannot think of any other reason why /logs/subscribe
is populated but nothing triggers a mailing to the admin.
What do you think?  Thanks in advance for any help.

-- Philip.
- --
Philip M. White
Houston, TX; U.S.A.
GPG key: 0xC2A34385
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9MSZ62SDcoMKjQ4URAhVuAJsEfUDvZ7iu7gRUuo8y1X82JU8ISACgtmPY
zByiqX1SvTDR49+um5k7+bU=
=9qy7
-END PGP SIGNATURE-



--
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] Everything stopped after upgrade

2002-07-14 Thread G. Armour Van Horn

Greetings:

I was on something of a maintenance tear this week, so when I got
Barry's announcement of 2.0.12 I decided it was time to catch up. I've
been running Mailman since 2.0.1, and had been running 2.0.8 from the
week it was released until this morning. I fetched the four patch files,
all of them patched without error. the reconfig and make install both
ran without any indication of problem.

So what could I have been missing? Not a single message has been sent
out by the server since the upgrade, as far as I can tell. My largest
list, with 450 members, had seven messages due for digesting this noon,
and the digest log indicates that they were properly handled. I don't
think it was shipped.

Every one minute I am now getting the following in
/home/mailman/logs/error:
Jul 12 23:41:21 2002 qrunner(1355): Traceback (innermost last):
Jul 12 23:41:21 2002 qrunner(1355):   File /home/mailman/cron/qrunner,
line 283, in ?
Jul 12 23:41:21 2002 qrunner(1355):  kids = main(lock)
Jul 12 23:41:21 2002 qrunner(1355):   File /home/mailman/cron/qrunner,
line 253, in main
Jul 12 23:41:21 2002 qrunner(1355):  keepqueued =
dispose_message(mlist, msg, msgdata)
Jul 12 23:41:21 2002 qrunner(1355):   File /home/mailman/cron/qrunner,
line 157, in dispose_message
Jul 12 23:41:21 2002 qrunner(1355):  mlist.ParseMailCommands(msg)
Jul 12 23:41:21 2002 qrunner(1355):   File
/home/mailman/Mailman/MailCommandHandler.py, line 123, in
ParseMailCommands
Jul 12 23:41:21 2002 qrunner(1355):  precedence =
msg.get('precedence', '').lower()
Jul 12 23:41:21 2002 qrunner(1355): AttributeError :  'string' object
has no attribute 'lower'

Interestingly, this started at 08:52 in the morning, a time that I
guarantee does not coincide with the upgrade, which would have been
closer to noon. My error log is now 750KB in size, I doubt if more than
10KB of that is from before today. The first entry is from Jan 15 2001,
and it only takes a couple of screens to get down to this morning.

I have 17 lists running, all happily for a year and a half. Any
suggestions?

Van

--
--
Sign up now for Quotes of the Day, a handful of quotations
on a theme delivered every morning.
Enlightenment! Daily, for free!
mailto:[EMAIL PROTECTED]?subject=Subscribe_QOTD

For web hosting and maintenance,
visit Van's home page: http://www.domainvanhorn.com/van/
--




--
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: Double Opt-In?

2002-07-14 Thread David Gibbs

Michael Keukert [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I'm using Smartlist at the moment, but I need a mailing list manager
 which provides double opt-in features.

What is Double opt-in?

david







--
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: Everything stopped after upgrade

2002-07-14 Thread David Gibbs

G. Armour Van Horn [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Interestingly, this started at 08:52 in the morning, a time that I
 guarantee does not coincide with the upgrade, which would have been
 closer to noon. My error log is now 750KB in size, I doubt if more than
 10KB of that is from before today. The first entry is from Jan 15 2001,
 and it only takes a couple of screens to get down to this morning.

I ran into the same problem ... I had to reverse out the patch and wait for
a resolution.

david







--
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: Double Opt-In?

2002-07-14 Thread David Gibbs

Michael Keukert [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I'm using Smartlist at the moment, but I need a mailing list manager
 which provides double opt-in features.
 Does Mailman has it?

Based on the definition of double opt-in that someone pointed me to, I would
say the answer is yes.

david







--
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: Double Opt-In?

2002-07-14 Thread Will Yardley

David Gibbs wrote:
 Michael Keukert [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

  I'm using Smartlist at the moment, but I need a mailing list manager
  which provides double opt-in features.
  Does Mailman has it?
 
 Based on the definition of double opt-in that someone pointed me to, I would
 say the answer is yes.

Note that double opt-in is a loaded term, used mostly by spammers.
ALL opt-in that's actually opt-in is confirmed 'confirmed opt-in'
is also a good term.

I can't connect to it right now, but there is a more detailed
explanation of the term (and the anti-spam community's objections to it)
at:
http://www.spamfaq.net/

-- 
Will Yardley
input: william  @ hq . newdream . net . 



--
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 Exim 4.05

2002-07-14 Thread Mike Gifford

Hello,

I'm trying to set up mailman-2.0.12 on a RH 7.2 system using exim 4.05.

The main problem that I am having is that I believe your instructions
for setting up mailman  exim are 3.x specific.

If this isn't the case, please let me know, but I could not find a
Directors config file section in 4.05, but could find one prominently in
3.33.

I have tried to just 'stuff' the config info that didn't fit neatly into
the file into the exim config file, but that definitely didn't work.

Any suggestions would be appreciated.

Mike
-- 
Mike Gifford, OpenConcept Consulting, http://www.openconcept.ca
Open Source Web Applications for Social Change.
Featured Client - NDP Leadership Candidate - http://www.billblaikie.org
An unjust law is no law at all. - Saint Augustine



--
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