[Mailman-Users] Bug encountered after archive private/public option change

2006-01-04 Thread Simon ALEXANDRE

Hi,

Sorry for bugging you with this problem again but my sys admin is ill for
two weeks and our mailman server used for an important project is down since
I tried to change in the archive menu the option of archive visibility from
public to private.

I have the following message on the web interface:  Bug in Mailman version
2.1.5 we're sorry, we hit a bug!  

And in the error log file:

Jan 04 10:05:21 2006 admin(14840):
 
admin(14840): [- Mailman Version: 2.1.5 -] 
admin(14840): [- Traceback --] 
admin(14840): Traceback (most recent call last):
admin(14840):   File /var/lib/mailman/scripts/driver, line 110, in
run_main
admin(14840): main()
admin(14840):   File /usr/lib/mailman/Mailman/Cgi/admin.py, line 200, in
main
admin(14840): mlist.Save()
admin(14840):   File /usr/lib/mailman/Mailman/MailList.py, line 529, in
Save
admin(14840): self.CheckHTMLArchiveDir()
admin(14840):   File /usr/lib/mailman/Mailman/Archiver/Archiver.py, line
235, in CheckHTMLArchiveDir
admin(14840): breaklink(pubdir)
admin(14840):   File /usr/lib/mailman/Mailman/Archiver/Archiver.py, line
55, in breaklink
admin(14840): os.unlink(link)
admin(14840): OSError: [Errno 21] Is a directory:
'/var/lib/mailman/archives/public/members'

How may I fix this problem to be able to log in  manage again this list?

Thanks ins advance

Simon


--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] permission denied error on sending mails to mailinglist

2006-01-04 Thread dylan lim
Mayb this will make it clearer. Postfix is installed using yum install
postfix.
While mailman is compiled from source with the following options:

./configure --with-mail-gid=postfix --with-cgi-gid=apache

However, I keep encountering errors where postfix is unable to execute the
wrapper for /usr/local/mailman/mail/mailman

The errors on my maillog are here:

fatal: execvp /usr/local/mailman/mail/mailman : Permission denied

Can anyone point me in the right direction? Posting to postfix doesnt seem
to yield any remedies. Thanks


On 1/4/06, Mark Sapiro [EMAIL PROTECTED] wrote:

 dylan lim wrote:
 
 This is what I have done:
 
 I cd into my /usr/local/mailman directory.
 Did a
 
 chown mailman.mailman scripts
 chown mailman.mailman /usr/local/mailman/mail/mailman
 chmod 2755 scripts


 Actually, the scripts directory should be 2775. The wrappers that
 should be 2755 are /usr/local/mailman/mail/mailman and
 /usr/local/mailman/cgi-bin/*, but the cgi-bin/* wrappers are probably
 OK if the web interface works.


 chmod 2755 /usr/local/mailman/mail/mailman
 
 But I still got the same error.


 At this point, run

 bin/check_perms -f

 as root until you get no errors. That should fix most permissions. Then
 if Postfix still can't execute the /usr/local/mailman/mail/mailman
 wrapper for no permission (with status 1), and you can't figure out
 why, you might try asking on a Postfix group or list.

 --
 Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
 San Francisco Bay Area, Californiabetter use your sense - B. Dylan


--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] FIX - RE: Bug encountered after archive private/public optionchange

2006-01-04 Thread Simon ALEXANDRE
Hi again

I found the problem and a workaround:

Problem: in /archive/public normally I should only found symb link to
directories located in /private. But on our system (and I don't know why)
there was no symb link but directories with archives files. 

Fix: I deleted the directory of the list in /public and replaced it by a
correct symb link pointing to ../private/myList (containing all archives
files)

And it works again

S.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On
Behalf Of
 Simon ALEXANDRE
 Sent: mercredi 4 janvier 2006 10:46
 To: mailman-users@python.org
 Subject: [Mailman-Users] Bug encountered after archive private/public
optionchange
 
 
 Hi,
 
 Sorry for bugging you with this problem again but my sys admin is ill for
 two weeks and our mailman server used for an important project is down
since
 I tried to change in the archive menu the option of archive visibility
from
 public to private.
 
 I have the following message on the web interface:  Bug in Mailman
version
 2.1.5 we're sorry, we hit a bug! 
 
 And in the error log file:
 
 Jan 04 10:05:21 2006 admin(14840):
 @@@
 @
 admin(14840): [- Mailman Version: 2.1.5 -]
 admin(14840): [- Traceback --]
 admin(14840): Traceback (most recent call last):
 admin(14840):   File /var/lib/mailman/scripts/driver, line 110, in
 run_main
 admin(14840): main()
 admin(14840):   File /usr/lib/mailman/Mailman/Cgi/admin.py, line 200, in
 main
 admin(14840): mlist.Save()
 admin(14840):   File /usr/lib/mailman/Mailman/MailList.py, line 529, in
 Save
 admin(14840): self.CheckHTMLArchiveDir()
 admin(14840):   File /usr/lib/mailman/Mailman/Archiver/Archiver.py, line
 235, in CheckHTMLArchiveDir
 admin(14840): breaklink(pubdir)
 admin(14840):   File /usr/lib/mailman/Mailman/Archiver/Archiver.py, line
 55, in breaklink
 admin(14840): os.unlink(link)
 admin(14840): OSError: [Errno 21] Is a directory:
 '/var/lib/mailman/archives/public/members'
 
 How may I fix this problem to be able to log in  manage again this list?
 
 Thanks ins advance
 
 Simon
 
 
 --
 Mailman-Users mailing list
 Mailman-Users@python.org
 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/
 Unsubscribe: http://mail.python.org/mailman/options/mailman-
 users/simon.alexandre%40cetic.be
 
 Security Policy: http://www.python.org/cgi-bin/faqw-
 mm.py?req=showamp;file=faq01.027.htp

--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Getting my mailing list

2006-01-04 Thread William F. Hill, Jr.
Okay...

I have asked this question in the past and still cannot find a simple,
layman's way of getting my membership list downloaded.   Some of you have
been very kind and told me some ways using cron jobs and stuff like that
but to be honest that is over my head unless you tell me point by point the
exact things to do.  My goal is to get my list downloaded and then create a
NEW list on another server but I do not want to manually type all the email
addresses again (though there are only 62 addresses).  

Also, why doesn't mailman have this feature built in?  It seems that this
would be a normal thing to want to do from time to time for backup purposes.
Other than that I think the program is wonderful.

Thanks for your help... 

Coram Deo,

William F. Hill, Jr.
Member, Calvary Reformed Presbyterian Church, PCA
Hampton, VA. USA
http://www.rtrc.net
http://www.theparchment.org 


The Parchment 




--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Two questions

2006-01-04 Thread Bob Tourkow
Hello everyone,

 

My organization makes extensive use of multiple Mailman lists, and I am
involved in the administration of a couple “easy” lists.  But there are two
things I would like to do that I can’t seem to find out how to do.  Maybe
one of you can tell me what to do.

 

1.  (Seemingly simple question)  How can I print out a complete list of the
names and email addresses of all members of the list?

 

2. I have a list that was once used for a one-time mailing, and I now need
to remove all of the subscribers from it, without them receiving
un-subscribed messages.  Unfortunately, I don’t have the original list I
mass-subscribed (which I know if I had, I could simply do a
mass-unsubscribe).  Is there an easy way to do this?

 

Thanks, in advance for your help (assuming someone has the answers.

 

Bob Tourkow


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.12/220 - Release Date: 1/3/2006
 
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp

Re: [Mailman-Users] Getting my mailing list

2006-01-04 Thread Brad Knowles
At 6:05 AM -0500 2006-01-04, William F. Hill, Jr. wrote:

  Some of you have
  been very kind and told me some ways using cron jobs and stuff like that
  but to be honest that is over my head unless you tell me point by point the
  exact things to do.  My goal is to get my list downloaded and then create a
  NEW list on another server but I do not want to manually type all the email
  addresses again (though there are only 62 addresses).

The e-mail interface is probably the simplest method, but the 
problem is that some (or all) of the addresses may be hidden from you 
via this method.  The other methods are going to be more complete, 
but as you point out they are also more complex.

You may want to go ahead and try the e-mail method and see what 
that gives you, as compared to what you can see via the web interface.

  Also, why doesn't mailman have this feature built in?  It seems that this
  would be a normal thing to want to do from time to time for backup purposes.

It's kind of like asking why a pen doesn't work like a pencil. 
It just wasn't designed that way.  It was designed to do other things 
that a pencil can't do.

-- 
Brad Knowles, [EMAIL PROTECTED]

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.

 -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
 Assembly to the Governor, November 11, 1755

  LOPSA member since December 2005.  See http://www.lopsa.org/.
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Two questions

2006-01-04 Thread Thomas von Hassel

On Jan 4, 2006, at 12:37, Bob Tourkow wrote:

 Hello everyone,



 My organization makes extensive use of multiple Mailman lists, and  
 I am
 involved in the administration of a couple “easy” lists.  But there  
 are two
 things I would like to do that I can’t seem to find out how to do.   
 Maybe
 one of you can tell me what to do.



 1.  (Seemingly simple question)  How can I print out a complete  
 list of the
 names and email addresses of all members of the list?



in your mailman/bin directory type:

./list_members --fullnames listname


 2. I have a list that was once used for a one-time mailing, and I  
 now need
 to remove all of the subscribers from it, without them receiving
 un-subscribed messages.


in your mailman/bin directory type:

./remove_members --all --nouserack listname


/thomas




--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Getting my mailing list

2006-01-04 Thread Stephen J. Turnbull
 William == William F Hill, [EMAIL PROTECTED] writes:

William I have asked this question in the past and still cannot
William find a simple, layman's way of getting my membership list
William downloaded.

One way: Go to the list information page using your web browser.  It
usually has a URL like

http://SERVER.DOM/lists/listinfo/LIST

or

http://SERVER.DOM/mailman/lists/listinfo/LIST

where SERVER.DOM is the name of the server and list is the name of
your list.  (My listserver is heavily customized, so it probably is
not anything like yours; maybe somebody else can fill you in on the
usual setup.)  Somewhere on that page there should be a box to log in
as the administrator, next to a button that says Visit Subscriber
List.  The necessary address is probably printed at the bottom of the
page where it says XXX list run by YYY at .COM.  Don't use the
word at, use the at-sign to get the admin address [EMAIL PROTECTED].
The password should the one you use to manage your list.

The page you get will have the member roster you want.  (However, if
you have well-informed users, some may have turned off display of
their addresses.  For those users you will have to go to the
membership management page.  This page should have almost everybody,
though.)  You can copy and paste the list from there into another
browser window with the membership management page for the new
list/new server.  You may need to enter carriage returns by hand so
that there is one address per line.  The rest you pick up by hand from
the membership management page.

Another way: save the membership management pages to files, and edit
them into the format that mass subscribe expects.  Depending on your
skill with the editor and the features of your editor this may be
prohibitively tedious, or surprisingly easy.

William Also, why doesn't mailman have this feature built in?  It
William seems that this would be a normal thing to want to do
William from time to time for backup purposes.

Mailman was written by and for people who run mailing list servers.
They have direct access to the files, so no problem in getting those
lists.

It was quite unexpected that Mailman would be so successful in
simplifying administrative tasks that mass-market Internet providers
would be using it to allow just about anybody to run their own lists.
That history, combined with the fact that most list administrators
either do have access or don't need a copy of the list, has meant that
a straightforward way to do this task hasn't been implemented yet.

As for backup, in most cases the server host provides regular on-line
and offsite back up; a backup by the list admin should not be
necessary.


-- 
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of TsukubaTennodai 1-1-1 Tsukuba 305-8573 JAPAN
   Ask not how you can do free software business;
  ask what your business can do for free software.
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] merge archives

2006-01-04 Thread ArteryPlanet.Net :: Manuel Kissoyan
Thank you Mark!



- Original Message - 
From: Mark Sapiro [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: mailman-users@python.org
Sent: Wednesday, January 04, 2006 1:56 AM
Subject: Re: [Mailman-Users] merge archives


 Manuel Kissoyan wrote:

We saved one of the accounts archives and then deleted and re-created the
mailing list, were running for a week, now we need merge the saved 
archives
with the existing one after the list re-creation. If were another month is
easy but how you merge same month archives?


 If you saved the old archives/private/listname.mbox/listname.mbox file,
 just concatenate the old and new files to make a
 archives/private/listname.mbox/listname.mbox that contains all the
 messages, and then rebuild the archives with

 bin/arch --wipe listname

 If you didn't save the old archives/private/listname.mbox/listname.mbox
 file, you can make an approximate reconstruction by editing the old
 archives/private/listname/-m.txt file to unobscure the email
 addresses.

 -- 
 Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
 San Francisco Bay Area, Californiabetter use your sense - B. Dylan



 


--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Question about ban_list...

2006-01-04 Thread Glenn Sieb
Bryan Carbonnell wrote:

I applied the ht://dig patches to 2.1.7 on my test box with no 
problems. IIRC there were just a few ofsets for a few hunks.

So it appears to apply cleanly.

  

Agreed... the upgrade seemed to go very smoothly last night.

Best,
--Glenn
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Mailman or postfix problem?

2006-01-04 Thread Thomas Waters
[EMAIL PROTECTED]: Command died with status 2:
 /usr/share/mailman/mail/mailman post rxtesttuesday. Command  
output: Group
 mismatch error.  Mailman expected the mail wrapper script to be  
executed as
 group mailman, but the system's mail server executed the mail  
script as
 group tcwaters.  Try tweaking the mail server to run the  
script as group
 mailman, or re-run configure,  providing the command line option
 `--with-mail-gid=tcwaters'.


I ask if this is mailman or postfix because I was trying to move the  
mail lists to a new server, so I have handled the mailman files,  
but never touched the Postfix files.  Is this a file permissions issue?



Thx
--
Thomas Waters
Director of Information and Communication Services
University of Pittsburgh School of Pharmacy
412-383-7471
[EMAIL PROTECTED]
http://www.pharmacy.pitt.edu


--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] permission denied error on sending mails to mailinglist

2006-01-04 Thread Mark Sapiro
dylan lim wrote:

Mayb this will make it clearer. Postfix is installed using yum install
postfix.
While mailman is compiled from source with the following options:

./configure --with-mail-gid=postfix --with-cgi-gid=apache


The --with-mail-gid=postfix doesn't come into play yet, because you
aren't getting that far. This causes the
/usr/local/mailman/mail/mailman wrapper to check that it was invoked
from the postfix group to prevent just anyone from running it. In your
case it isn't being executed because the OS is saying postfix doesn't
have permission to run it.


However, I keep encountering errors where postfix is unable to execute the
wrapper for /usr/local/mailman/mail/mailman

The errors on my maillog are here:

fatal: execvp /usr/local/mailman/mail/mailman : Permission denied

Can anyone point me in the right direction? Posting to postfix doesnt seem
to yield any remedies. Thanks


What happens if you log in as the postfix user/group (or su to the
postfix user/group) and try to run the wrapper?

/usr/local/mailman/mail/mailman

should produce

Usage: /usr/local/mailman/mail/mailman program [args...]

or something similar? If you get permission denied, you have to solve
that. If you don't, you have to figure out what is different between
your doing it and Postfix's doing it.


BTW, I believe that Postfix will try to execute the wrapper as the
user/group that owns the aliases.db file that contains the mailman
aliases. This may not be consistent with your --with-mail-gid=postfix
configure option.

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Spamassassin/Mailman - filter messages to list-owners

2006-01-04 Thread Michael Berkowski
Greetings All, 

I have just joined this list and I hope that I am not cluttering it up with
an easy or common question.  I have spent quite a bit of time searching
Google, the list archive, and FAQ without success for the answer.

I work for a library organization which runs ~100 different lists for
various library and reference resources.  These lists are moderated by a few
dozen individuals.  I have recently implemented SpamAssassin with Mailman on
our server, using the spamd.py and spamassassin.py handlers described here:
http://www.jamesh.id.au/articles/mailman-spamassassin/
The spamd/spamassassin handlers are called with GLOBAL_PIPELINE.insert(1,
'SpamAssassin') in mm_cfg.py.

This method has far exceeded our expectations for reducing the amount of
spam held for moderation, but it does not seem to have any effect on spam
messages sent to the *-owner@ or *-request@ addresses.  It would appear that
all messages to those addresses pass straight through without being scanned
by the handlers, leaving phishing scams in our moderators' inboxes by the
hundreds.  I never see anything related to these in the mailman logs.

We have configured /etc/postfix/aliases for each list as:
## test mailing list
test:  |/usr/lib/mailman/mail/mailman post test
test-admin:|/usr/lib/mailman/mail/mailman admin test
test-owner:|/usr/lib/mailman/mail/mailman owner test
etc...

I had assumed that since a similar process is used to resolve the correct
address when posting to the list or sending to the owner that the spam
handler would respond similarly to each.  Could anyone recommend a fix or a
how-to for this?  It does seem like a question which would have been asked
and answered many times over but I have not been able to find the info and
apologize if I missed it in a FAQ.

Using Mailman 2.1.2
Spamassassin 3.1.0

Thanks very much,
Michael Berkowski
---
MINITEX Library Information Network / MnLINK
University of Minnesota


--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Two questions

2006-01-04 Thread Mark Sapiro
Bob Tourkow wrote:

1.  (Seemingly simple question)  How can I print out a complete list of the
names and email addresses of all members of the list?


The command line tool

bin/list_members

Run it with the --help option for instructions.

If you don't have access to this and there is no one else in your
organization that does, see the thread at
http://mail.python.org/pipermail/mailman-users/2006-January/048473.html


2. I have a list that was once used for a one-time mailing, and I now need
to remove all of the subscribers from it, without them receiving
un-subscribed messages.  Unfortunately, I don’t have the original list I
mass-subscribed (which I know if I had, I could simply do a
mass-unsubscribe).  Is there an easy way to do this?

bin/remove_members

Run it with the --help option for instructions.

If you don't have access to this and there is no one else in your
organization that does, see the above thread for ways to make a list
you can use in a mass unsub.

Or just delete the list if you can.

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Spamassassin/Mailman - filter messages tolist-owners

2006-01-04 Thread Mark Sapiro
Michael Berkowski wrote:

I have recently implemented SpamAssassin with Mailman on
our server, using the spamd.py and spamassassin.py handlers described here:
http://www.jamesh.id.au/articles/mailman-spamassassin/
The spamd/spamassassin handlers are called with GLOBAL_PIPELINE.insert(1,
'SpamAssassin') in mm_cfg.py.

This method has far exceeded our expectations for reducing the amount of
spam held for moderation, but it does not seem to have any effect on spam
messages sent to the *-owner@ or *-request@ addresses.  It would appear that
all messages to those addresses pass straight through without being scanned
by the handlers, leaving phishing scams in our moderators' inboxes by the
hundreds.  I never see anything related to these in the mailman logs.

There is a separate pipeline for messages to the owner, so if you want
to filter these, you need to add

OWNER_PIPELINE.insert(1, 'SpamAssassin')

in mm_cfg.py. Also note that this and the

GLOBAL_PIPELINE.insert(1, 'SpamAssassin')

insert SpamAssassin after Mailman's own SpamDetect module. It doesn't
really matter, but if you want to put it first, use

xxx_PIPELINE.insert(0, 'SpamAssassin').

OWNER_PIPELINE will directly take care of messages to -owner addresses.
Messages to the -admin and -bounces (admin is a synonym for bounces)
address will not be filtered, but if they are unrecognized and
forwarded to the owner, they will be processed through the
OWNER_PIPELINE at that point.

Messages to the -request address will not be filtered, but spam to this
address is normally just returned to the sender with an error message,
not forwarded to an owner/moderator.

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Spamassassin/Mailman - filter messages tolist-owners

2006-01-04 Thread Christopher X. Candreva
On Wed, 4 Jan 2006, Mark Sapiro wrote:

 Messages to the -request address will not be filtered, but spam to this
 address is normally just returned to the sender with an error message,
 not forwarded to an owner/moderator.

Except spam often has a forged sender address, so sending an error to this 
address is usless at best, at worst part of a DDOS attack on the poor guy 
who's address is forged.

I would be interested in this as a way of preventing mailman from replying 
to anything that might be spam, so the ability to filter the -request 
addresses would be a good idea.

==
Chris Candreva  -- [EMAIL PROTECTED] -- (914) 967-7816
WestNet Internet Services of Westchester
http://www.westnet.com/
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Spamassassin/Mailman - filter messages tolist-owners

2006-01-04 Thread Michael Berkowski
Thanks for the response, Mark.

I set this up and threw a few dozen messages at it with a VB test spamming
macro.  It works perfectly. 

Will messages discarded from OWNER_PIPELINE appear in any log as those
discarded from GLOBAL_PIPELINE appear in vette?

Thanks again,
Michael
---
MINITEX Library Information Network / MnLINK
University of Minnesota

 There is a separate pipeline for messages to the owner, so if you want
 to filter these, you need to add
 
 OWNER_PIPELINE.insert(1, 'SpamAssassin')
 
 in mm_cfg.py. Also note that this and the
 
 GLOBAL_PIPELINE.insert(1, 'SpamAssassin')
 
 insert SpamAssassin after Mailman's own SpamDetect module. It doesn't
 really matter, but if you want to put it first, use
 
 xxx_PIPELINE.insert(0, 'SpamAssassin').
 
 OWNER_PIPELINE will directly take care of messages to -owner addresses.
 Messages to the -admin and -bounces (admin is a synonym for bounces)
 address will not be filtered, but if they are unrecognized and
 forwarded to the owner, they will be processed through the
 OWNER_PIPELINE at that point.


--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Spamassassin/Mailman - filter messages tolist-owners

2006-01-04 Thread Mark Sapiro
Michael Berkowski wrote:

Will messages discarded from OWNER_PIPELINE appear in any log as those
discarded from GLOBAL_PIPELINE appear in vette?

Yes. They are processed by IncomingRunner just like normal posts. Only
the pipeline is different. Anything that results in a discarded
message will be logged to vette by IncomingRunner just as for normal
posts..

--
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Spamassassin/Mailman - filter messages tolist-owners

2006-01-04 Thread Michael Berkowski
I see now why they didn't first appear in the log.  They never passed to the
SpamAssassin handler at all because I had a typo in my
OWNER_PIPELINE.insert() line.  My test spams were just being dropped
altogether. I've corrected it and the owner messages are now being properly
scored and logged in vette.

Thanks, you've been really helpful.
-Michael
---
MINITEX Library Information Network / MnLINK
University of Minnesota

 -Original Message-
 From: Mark Sapiro [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 04, 2006 2:04 PM
 To: Michael Berkowski; mailman-users@python.org
 Subject: RE: [Mailman-Users] Spamassassin/Mailman - filter messages
tolist-
 owners
 
 Michael Berkowski wrote:
 
 Will messages discarded from OWNER_PIPELINE appear in any log as those
 discarded from GLOBAL_PIPELINE appear in vette?
 
 Yes. They are processed by IncomingRunner just like normal posts. Only
 the pipeline is different. Anything that results in a discarded
 message will be logged to vette by IncomingRunner just as for normal
 posts..
 
 --
 Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
 San Francisco Bay Area, Californiabetter use your sense - B. Dylan


--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Spamassassin/Mailman - filter messages tolist-owners

2006-01-04 Thread Brad Knowles
At 10:35 AM -0800 2006-01-04, Mark Sapiro wrote:

  OWNER_PIPELINE will directly take care of messages to -owner addresses.
  Messages to the -admin and -bounces (admin is a synonym for bounces)
  address will not be filtered, but if they are unrecognized and
  forwarded to the owner, they will be processed through the
  OWNER_PIPELINE at that point.

Also keep in mind that SpamAssassin can be integrated into the 
MTA instead of Mailman, which would give everyone on the server (and 
everything passing through) the same anti-spam benefits.  Combined 
with Mailman 2.1.6 (or later), and you can use the anti-spam features 
within Mailman to automatically throw away messages that have been 
marked by SpamAssassin.

More information on these methods can be found in the Mailman FAQ 
Wizard.

-- 
Brad Knowles, [EMAIL PROTECTED]

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.

 -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
 Assembly to the Governor, November 11, 1755

  LOPSA member since December 2005.  See http://www.lopsa.org/.
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] problem running Mailman on 2.6.11.7

2006-01-04 Thread Igor Gueths
Hi all. I'm attempting to get Mailman running on a Slackware-10.0 machine with 
2.6.11.7 and Grsecurity installed. After running check_perms_grsecurity.py and 
then running ./mailmanctl start, I 
received several errors such as this:
Traceback (most recent call last):
  File /usr/local/mailman/bin/qrunner, line 76, in ?
import CheckFixUid
  File /usr/local/mailman/bin/CheckFixUid.py, line 6, in ?
class CheckFixUid:
  File /usr/local/mailman/bin/CheckFixUid.py, line 12, in CheckFixUid
if os.geteuid() != uid:
NameError: name 'uid' is not defined
I googled for checkfixuid, and the closest I came to a fix is 
http://www.mail-archive.com/cooker@linux-mandrake.com/msg126675.html
Unfortunately, I can't test that patch since its been packaged within an RPM. 
Any other ideas on how to fix this are appreciated. Thanks.
-- 
Any society that would give up a little liberty to gain a little
   security will deserve neither and lose both.
-- Benjamin Franklin


pgpCYaRjsfufp.pgp
Description: PGP signature
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp

Re: [Mailman-Users] problem running Mailman on 2.6.11.7

2006-01-04 Thread Mark Sapiro
Igor Gueths wrote:

Hi all. I'm attempting to get Mailman running on a Slackware-10.0 machine with 
2.6.11.7 and Grsecurity installed. After running check_perms_grsecurity.py and 
then running ./mailmanctl start, I
received several errors such as this:
Traceback (most recent call last):
  File /usr/local/mailman/bin/qrunner, line 76, in ?
import CheckFixUid
  File /usr/local/mailman/bin/CheckFixUid.py, line 6, in ?
class CheckFixUid:
  File /usr/local/mailman/bin/CheckFixUid.py, line 12, in CheckFixUid
if os.geteuid() != uid:
NameError: name 'uid' is not defined
I googled for checkfixuid, and the closest I came to a fix is 
http://www.mail-archive.com/cooker@linux-mandrake.com/msg126675.html
Unfortunately, I can't test that patch since its been packaged within an RPM. 
Any other ideas on how to fix this are appreciated. Thanks.

check_perms_grsecurity.py and its 'child' CheckFixUid.py are user
contributed software. I suggest you follow up with the contributor.

--
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] problems running genaliases

2006-01-04 Thread dylan lim
Hi all,

While trying to generate the data/aliases.db files using genaliases, I have
encountered a problem:

Traceback (most recent call last):
  File ./genaliases, line 116, in ?
main()
  File ./genaliases, line 106, in main
MTA.create(mlist, nolock=True, quiet=quiet)
  File /usr/local/mailman/Mailman/MTA/Postfix.py, line 232, in create
_update_maps()
  File /usr/local/mailman/Mailman/MTA/Postfix.py, line 53, in _update_maps
raise RuntimeError, msg % (acmd, status, errstr)
RuntimeError: command failed: /usr/sbin/postalias
/usr/local/mailman/data/aliases (status: 1, Operation not permitted)


I am not sure how to resolve this. Can anyone point me in the right
direction? Thanks.
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] sorting out bounces

2006-01-04 Thread Mark Sapiro
 Eric == Eric S Johansson [EMAIL PROTECTED] writes:

Eric and obviously something is broken with my environment and
Eric has been for years with various distributions.  When the
Eric monthly notices go out, the human associated with the
Eric mailman address gets all of the bounces.


I'm coming in very late on this thread, but I just want to point out
one thing.

Monthly password reminders are sent from the site list because they
contain the passwords for ALL the user's list memberships at that site
(or virtual domain), and thus don't come from a single list.

Thus when a password reminder bounces, the bounce goes to the site
list. I don't know why this is a problem in general, since if the
bounce is recognizable, it is usually for an address that isn't a
member of the list and is just ignored. Meanwhile, if the address is
truly bouncing, posts from the list(s) it is a member of should be
bouncing and processed as normal bounces for the list(s).

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Help sending to multiple lists

2006-01-04 Thread Mark Sapiro
Andy Bardwell wrote:

I am working with a community radio station which has multiple lists in
Mailman that are used to contact volunteers.  A volunteer can be on
several of the lists.  We frequently want to send to all volunteers.  Is
there a way to send to all the lists, with out duplicates?  One way this
could happen would be to merge all the lists, eliminate duplicates, and
send to the resulting list.  Is there a script that will do this or some
other way of accomplishing sending an email to multiple lists without
duplicates?  Any suggestions welcome.

As noted in the reply at
http://mail.python.org/pipermail/mailman-users/2006-January/048458.html
to your previous post, See
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.005.htp

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Help !!! Having Subgroups/Subsets a group

2006-01-04 Thread Mark Sapiro
Kabilan L wrote:

I have Centos sever having mailman-2.1.5-33.rhel4 installed and configured it
is working fine.I have LDAP running on my server.I have an doubt in the
creating new lists/groups.I want to have subgroups.For example
i have students suppose in 
ms group
phd group
btech group
Here all of them are students i don't want to add their ids to the group
students ratheri i want this 
 students
   |-||
   msphd  btech 
that is ms/phd/btech subgroups of students.
Is it possible?

It seems like you want an umbrella list. See
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.005.htp

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] problems running genaliases

2006-01-04 Thread Mark Sapiro
dylan lim wrote:

While trying to generate the data/aliases.db files using genaliases, I have
encountered a problem:

Traceback (most recent call last):
  File ./genaliases, line 116, in ?
main()
  File ./genaliases, line 106, in main
MTA.create(mlist, nolock=True, quiet=quiet)
  File /usr/local/mailman/Mailman/MTA/Postfix.py, line 232, in create
_update_maps()
  File /usr/local/mailman/Mailman/MTA/Postfix.py, line 53, in _update_maps
raise RuntimeError, msg % (acmd, status, errstr)
RuntimeError: command failed: /usr/sbin/postalias
/usr/local/mailman/data/aliases (status: 1, Operation not permitted)


See
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.009.htp

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] problems running genaliases

2006-01-04 Thread dylan lim
Hi,

Thanks for your help. I have read this faq before. However, my problem is
that I do not have aliases or aliases.db file at all after I have done my
compilation of mailman. Creating a newlist and running genaliases to
generate these files gave me the above errors.

Thank you for your time.

On 1/5/06, Mark Sapiro [EMAIL PROTECTED] wrote:

 dylan lim wrote:
 
 While trying to generate the data/aliases.db files using genaliases, I
 have
 encountered a problem:
 
 Traceback (most recent call last):
   File ./genaliases, line 116, in ?
 main()
   File ./genaliases, line 106, in main
 MTA.create(mlist, nolock=True, quiet=quiet)
   File /usr/local/mailman/Mailman/MTA/Postfix.py, line 232, in create
 _update_maps()
   File /usr/local/mailman/Mailman/MTA/Postfix.py, line 53, in
 _update_maps
 raise RuntimeError, msg % (acmd, status, errstr)
 RuntimeError: command failed: /usr/sbin/postalias
 /usr/local/mailman/data/aliases (status: 1, Operation not permitted)


 See
 http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.009.htp

 --
 Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
 San Francisco Bay Area, Californiabetter use your sense - B. Dylan


--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp