Re: [Mailman-Users] Announce-only lists?

2002-11-27 Thread Dan Richter


 Because faking the 'From' header is easy.


You could write a program that reads standard input, removes the From 
address and the Received lines, then forwards the mail to the list 
addresses using the list From address. Hook the program up to a secret 
e-mail address. It should be just as secure as an approval password.

By the way, this interests me, too. I'm not worried about spam; I'm worried 
about jerks sending e-mail to the announce list just because they can (to 
show how smart they are, etc.). There are a lot of people like that, you know.

== Dan Richter == mailto:[EMAIL PROTECTED] ===
People say I am ruthless. I am not ruthless. And if I find
the man who is calling me ruthless, I shall destroy him.
 - Robert Kenedy, campaigning for Senate in 1964


--
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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Mailman htdig integration patches

2002-11-27 Thread Richard Barrett
If anyone wants them, I have just posted MM 2.1b5 compatibility updates to 
the Mailman htdig integration patches

http://sourceforge.net/tracker/index.php?func=detailaid=444879group_id=103atid=300103

http://sourceforge.net/tracker/index.php?func=detailaid=444884group_id=103atid=300103


--
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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Searching arhives

2002-11-27 Thread Richard Barrett
At 01:30 27/11/2002, Jon Carnes wrote:

Adding HtDig to the installation is very, very easy.  Apply the patches from
Sourceforge and then follow the step by step directions and it will be done
in about 2 hours.

BTW: HtDig is a search engine, so it will index any of your local web
pages - not just the archives!


Htdig can be configured to provide search of material other than the MM 
list archives. However, the patches posted on sourceforge deliberately:

1. generate per list htdig config files so that each list has its own, 
separate search indexes. That is separate from other lists archives and any 
Htdig indexes for other material

2. a cron script which runs re-indexing for each list independently

3. makes Htdig searches of list archive indexes deliver search results 
returning URLs which invoke a cgi script (installed by the patch) to 
preserve list privacy.

If you want to index other stuff on the same server with Htdig then you 
have to add your own htdig config file to cover that material and provide 
your own serach form to get thoses indexes searched.

Good Luck - Jon Carnes
===
- Original Message -
From: Chris [EMAIL PROTECTED]
To: Mailman User List [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 11:54 PM
Subject: [Mailman-Users] Searching arhives



Don't want to sound like I'm beating a dead horse, but does anyone have any
idea if/when there are plans to add archive searching capabilities to a new
version anytime in the near future?

I am with a hosting company that implements Mailman via CPanel control
panel, so I'm not sure how much customizing I can do (ie: adding external
searching capabilities, etc).

Chris



--
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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



[Mailman-Users] Problems with the archive

2002-11-27 Thread Ørjan Olsen



Hi

I have installed Mailman2.0.13 and everything seem 
to be working great except the archive. All mail sent to the list get sent to 
the members, and logged to the raw archive right away, but not the "real 
archive".
I have been trying to run the command that is in 
the crontab manualy, but it dont create the archive or give any error message 
output or in the logs.

I got a little compile error too, posted it 
here:
http://home.no/knut3/mailman-error.txt

Some system info:
Linux 2.4 (Slackware)
qmail with a own virtual host for the list(using 
contrib/qmail-to-mailman.py)
mail-gid=mailman's group id
prefix= /home/system/mailman
compiled in /home/system/mailman/mailman-2.0.13 as 
user mailman with the "mailhost" and "wwwhost" options set.

Any suggestion of what i can try to fix this 
problem? And does that compile error mean anything or is it normal?



--
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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



RE: [Mailman-Users] Cleaning out messages and archives

2002-11-27 Thread Dennis Black
= Original Message From [EMAIL PROTECTED] =
I am trying to learn how to maintain the message archives in Mailman.  How 
can I remove a specific message, range of messages, or all messages?  Is there 
a web interface to do this (would be very nice) or how does one maintain the 
amount of messages saved, etc.

Thanks,
Capn.

Capn, the way I clean up one year old archives at my site is with
two scripts. The first warns the list owner about the deletion, the
second deletes any archive over a year. Unfortunately, these scripts 
only look after the 'monthly-named' ones - not the yearly, quarterly, 
(2002q4) or daily ones. I haven't had/taken the time to put the name 
variations into the scripts. Watch the linewraps. Others may do it
better, YMMV.

#!/bin/sh
# /usr/local/bin/mboxwarn
# This script finds one year old archives and sends a warning message
# to the list owner. Runs on the 15th of each month. Directory names 
# are like 2001-October. Crontab: 24 0 15 * * /usr/local/bin/mboxwarn

# constants - 
BASEDIR=/usr/local/mail/archives/private
FULLMNTH=`/usr/bin/date +%B`
TYEAR=`/usr/bin/date +%Y`
LYEAR=`expr $TYEAR - 1`

cd /usr/local/mail/lists
for LYST in `ls -1`;
do
 if [ -d ${BASEDIR}/${LYST}/${LYEAR}-${FULLMNTH} ]; then

TOBEMAILED=
The following YEAR-OLD archive will be deleted on the
first of next month. Please either retrieve it and save
it to a personal web space to make it available to your
audience, or simply do nothing and let it expire.
\n\t Mailing List:\t\t ${LYST}
\n\t Archive for:\t\t ${LYEAR}-${FULLMNTH}
\n


 echo ${TOBEMAILED} | /usr/bin/mailx -s ${LYST} archive 
${LYST}-owne
[EMAIL PROTECTED]
 fi
  #  sleep 3
done
exit



### delete script



#!/bin/sh
# /usr/local/bin/mboxdel
# This script trims the 13th month off the *.mbox files for each list
# then deletes the list archive directory, and re-creates it all with
# bin/arch. Runs on the first of the month.
# Directory names are /usr/local/mail/archives/private/listname.mbox.
# Crontab: 24 0 1 * * /usr/local/bin/mboxdel

#constants
BASEDIR=/usr/local/mail/archives/private
MNTH=`/usr/bin/date +%m`
FULLMNTH=`/usr/bin/date +%B`
DAYE=`/usr/bin/date +%d`
TYEAR=`/usr/bin/date +%Y`
LYEAR=`expr $TYEAR - 1`
LMNTH=`expr $MNTH - 1`

##start in /usr/local/mail/archives/private
cd ${BASEDIR}
  # list of /u/l/m/archives/private/*.mbox
for DUR in `ls -d -1 *.mbox`
do
cd ${DUR} # cd to ./private/*.mbox/*.mbox
ELES=`ls *.mbox`  # should give one *.mbox file in DUR
if [ -r ${ELES} ]; then
echo${BASEDIR}/${DUR}/${ELES}.tmp
LYST=`basename ${ELES} .mbox`
/opt/freeware/bin/grepmail -h -M -d after ${MNTH}/${DAYE}/${LYEAR} 
${E
LES}  ${BASEDIR}/${DUR}/${ELES}.tmp
rm ${BASEDIR}/${DUR}/${ELES}
mv ${BASEDIR}/${DUR}/${ELES}.tmp ${BASEDIR}/${DUR}/${ELES}
mv ${BASEDIR}/${LYST} ${BASEDIR}/${LYST}.sav
/home/mailman/bin/arch ${LYST}
rm -r ${BASEDIR}/${LYST}.sav
TOBEMAILED=
The following YEAR-OLD archive has been deleted.
\n\t Mailing List:\t\t ${LYST}
\n\t Archive for:\t\t ${LYEAR} ${LMNTH}
\n

echo ${TOBEMAILED} | /usr/bin/mailx -s ${LYST} archive 
${LYST}-owner
@mailman.srv.ualberta.ca
fi
cd ${BASEDIR}
sleep 3
done
exit

[EMAIL PROTECTED]
Internet Applications, Computing and Network Services
352 General Services Building, U of A, Edmonton T6G 2H1
Ph: (780-)492-9329  Fx: (780-)492-1729
news.srv, majordomo.srv, mailman.srv


--
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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] unknown mailer error 2

2002-11-27 Thread Richard Barrett
At 11:51 27/11/2002, stefano danovaro wrote:

 Hi
 I have installed Mailman2.1b1 and when I send email at the list I 
receved this
message:


   - The following addresses had permanent fatal errors -
 |/home/mailman/mail/mailman post sbn-liguria
(reason: 2)
(expanded from: [EMAIL PROTECTED])

   - Transcript of session follows -
Failure to exec script. WANTED gid 1, GOT gid 8.  (Reconfigure to take 8?) 
554
5.3.0 unknown mailer error 2

Hve idea?

rtff, see: 
http://www.python.org/cgi-bin/faqw-mm.py?query=got+gidquerytype=simplecasefold=yesreq=search

Thanks,
Stefano



--
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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] No Subject

2002-11-27 Thread Danny Terweij
From: David Gordon [EMAIL PROTECTED]

 I've got no idea what this means... Anyone want to give me a clue?

 IOError: [Errno 13] Permission denied: '/home/mailman/locks/
 qrunner.lock.epuk.thenexus.co.uk.4399'

 ***

Check your permissions. Try to run ~/bin/check_perms -f  (as root) ( Mailman
version 2.1bx)

Danny.




--
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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] Permissions error

2002-11-27 Thread David Gordon
Danny Terweij [EMAIL PROTECTED] wrote on Wed 27 Nov 2002 at 20:31 +0100

Try to run check_perms -f serveral times

Done that

[mailman@epuk bin]$ /home/mailman/bin/check_perms -f
directory permissions must be at least 02775: /home/mailman/cgi-bin (fixing)
/home/mailman/cgi-bin/admin must be set-gid (fixing)
/home/mailman/cgi-bin/admindb must be set-gid (fixing)
/home/mailman/cgi-bin/edithtml must be set-gid (fixing)
/home/mailman/cgi-bin/options must be set-gid (fixing)
/home/mailman/cgi-bin/listinfo must be set-gid (fixing)
/home/mailman/cgi-bin/subscribe must be set-gid (fixing)
/home/mailman/cgi-bin/roster must be set-gid (fixing)
/home/mailman/cgi-bin/handle_opts must be set-gid (fixing)
/home/mailman/cgi-bin/private must be set-gid (fixing)
Problems found: 10
Re-run as mailman (or root) with -f flag to fix
You have mail in /var/spool/mail/admin
[mailman@epuk bin]$ /home/mailman/bin/check_perms -f
No problems found
[mailman@epuk bin]$ 

but still getting this

Traceback (innermost last):
  File /home/mailman/cron/gate_news, line 222, in ?
main()
  File /home/mailman/cron/gate_news, line 198, in main
lock.lock(timeout=0.5)
  File /home/mailman/Mailman/LockFile.py, line 219, in lock
self.__write()
  File /home/mailman/Mailman/LockFile.py, line 350, in __write
fp = open(self.__tmpfname, 'w')
IOError: [Errno 13] Permission denied: '/home/mailman/locks/
gate_news.lock.epuk.thenexus.co.uk.6655'

--
DG



--
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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



[Mailman-Users] Mailmain 2.1b5 archive link is wrong

2002-11-27 Thread Listmom
There seems to be a problem with the link to list archives in Mailman 2.1b5

When I go to http://lists.travellercentral.com/mailman/listinfo/listname

The lint to the archives on that page is
http://lists.travellercentral.com/pipermail

and not 

http://lists.travellercentral.com/pipermail/listname

Any idea?

I'm running 2.1b5 with the HTDIG patches.

Tod
-- 
[EMAIL PROTECTED]
for list information see
http://lists.travellercentral.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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



[Mailman-Users] qrunner problems

2002-11-27 Thread fish
I am still have the authentication problems with qrunner and, since nobody
seems to know what the problem is or how to fix it, thought that I would ask
what exactly does qrunner do? I can tell that the cron.d/mailman script is
calling /usr/lib/mailman/cron/qrunner, but what does this script do?

Since I only have a rudimentary programming knowledge, I would greatly
appreciate your help on this.

Robert Lydiate
[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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



[Mailman-Users] Re: ImportError: No module named Charset

2002-11-27 Thread Daniel Figucio
* From: Carlos Barcenilla
* Subject: [Mailman-Users] ImportError: No module named Charset
* Date: Mon, 11 Nov 2002 04:37:26 -0800

Hi!

When I call checkdbs (either manually or from cron) i get the 
following error:

[root@cox cron]# ./checkdbs
Traceback (most recent call last):
  File ./checkdbs, line 26, in ?
from email.Charset import Charset
ImportError: No module named Charset
I solved this way, but I think it's a bug.

[root@cox cron]# export PYTHONPATH=/usr/local/mailman/pythonlib
[root@cox cron]# ./checkdbs
Versions:
-OS: Red Hat 8.0
-Python: 2.2.1
-mailman: 2.1b4

Regards.
Carlos

This is fixed in 2.1b5.

If you don't want to download 2.1b5, open bin/checkdbs, and move the 
line:

from email.Charset import Charset

to just after the line:

import paths

This ensures that we are using the mailman email package...

Sorry if this has been answered before, its just that I didn't find 
this solution in the archives, but it was in the archives for mailman 
developer.

I checked the 2.1b5 version of checkdbs and it had been fixed there, 
too...

daniel.
--
Daniel Figucio
Computer Graphics and Internet Specialist
CRC for Catchment Hydrology
GPO Box 1666
CANBERRA CITY ACT 2601

t: +61 2 6246 5822
f: + 61 2 6246 5845

http://www.catchment.crc.org.au
http://www.clw.csiro.au/research/catchment/modelling/

AWAY NEXT: December 21 2002 - January 19 2003 (All Dates Inclusive)


--
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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org