Re: [Mailman-Users] Finding subject text

2008-05-20 Thread Sven Schmidt

Mark Sapiro schrieb:


So there was a prior server involved. Are you sure the messages with
prefixed subject are not coming from that server, or if they are
coming from the new server, that the admin interface isn't going to
the old server.

yes. Two different addresses.



Note that the .pyc size difference could be the result of compilation
by a different Python version.

Both are CookHeaders.pyc: python 2.3 byte-compiled

--
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] Finding subject text / correction

2008-05-20 Thread Sven Schmidt

Mark Sapiro schrieb:



So there was a prior server involved. Are you sure the messages with
prefixed subject are not coming from that server, or if they are
coming from the new server, that the admin interface isn't going to
the old server.

Note that the .pyc size difference could be the result of compilation
by a different Python version.



oh wait, on new server its python 2.4 byte-compiled

old server:
 8 -rw-r--r--  1 root list  5776 2007-02-28 22:35 CalcRecips.py
 4 -rw-r--r--  1 root root  3238 2007-03-28 08:43 CalcRecips.pyc
 4 -rw-r--r--  1 root list  1370 2007-02-28 22:35 CleanseDKIM.py
 4 -rw-r--r--  1 root root   898 2007-03-28 08:43 CleanseDKIM.pyc
 4 -rw-r--r--  1 root list  2095 2007-02-28 22:35 Cleanse.py
 4 -rw-r--r--  1 root root  1273 2007-03-28 08:43 Cleanse.pyc
16 -rw-r--r--  1 root list 15315 2007-02-28 22:35 CookHeaders.py
12 -rw-r--r--  1 root root  8844 2007-03-28 08:43 CookHeaders.pyc

new server:
 8 -rw-r--r-- 1 root list  5776 2007-02-28 22:36 CalcRecips.py
 4 -rw-r--r-- 1 root root  2820 2007-10-26 09:16 CalcRecips.pyc
 4 -rw-r--r-- 1 root list  1370 2007-02-28 22:36 CleanseDKIM.py
 4 -rw-r--r-- 1 root root   833 2007-10-26 09:16 CleanseDKIM.pyc
 4 -rw-r--r-- 1 root list  2095 2007-02-28 22:36 Cleanse.py
 4 -rw-r--r-- 1 root root  1153 2007-10-26 09:16 Cleanse.pyc
16 -rw-r--r-- 1 root list 15315 2007-02-28 22:36 CookHeaders.py
 8 -rw-r--r-- 1 root root  7474 2007-10-26 09:16 CookHeaders.pyc

it seems,that nothing has been edited. only the size is diffent.

--
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] disable bounce

2008-05-20 Thread Ilin Tatabitovski
Hello,

I would like to configure Mailman only for forward ANY kind of email
to the subscribers. Often a mail with an attachment is being kept for
revision, and a bounce notification is being sent.

I would only like to forward a sent to a certain list to everybody. Is
this possible?

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] Finding subject text (solved)

2008-05-20 Thread Sven Schmidt

Mark Sapiro schrieb:

So there was a prior server involved. Are you sure the messages with
prefixed subject are not coming from that server, or if they are
coming from the new server, that the admin interface isn't going to
the old server.


Someone has put a script into the alias DB.

#!/usr/bin/perl

use Date::Format;

@lt = localtime(time);
$template=%Y-%m;
$datestr=time2str($template, time);

$pipe=|/var/lib/mailman/mail/wrapper post listname;
$counterfile=/var/local/MAInfocounter;
open(CF,+,$counterfile);
while (CF){
$mano=$_;
}
$mano++;
print $mano;
seek(CF,0,0);
print CF $mano;
close(CF);

open(PH,$pipe) || die cannot open Pipe;

while (STDIN) {
$_ =~ s/^Subject: /Subject: [Infolist $datestr Nr.$mano] /;
print PH $_;
}

close(PH);

--
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] Is it possible that a list loses its members?

2008-05-20 Thread Sebastian Hagedorn

Hi,

we're running Mailman 2.1.9. Today I encountered something that's a mystery 
to me. A few weeks ago we created a list using our custom list-creation 
script that we always use. The list was apparently created correctly, like 
they always are. There were three initial list members and I can see them 
being added in /var/log/mailman/subscribe. Our script adds members using 
the add_members tool.


Every Saturday we run a cronjob that looks for empty lists, i.e. lists with 
no members. The list in question popped up. So I wrote to the list owner to 
ask him why the list was empty. He was completely unaware of that. He had 
received the notifications about the new list members when the list was 
created and nothing since. That's corroborated by the fact that there are 
no unsubscribe lines in any of the log files. Still the list was empty.


I'm at a loss to explain what might have happened. Any ideas?
--
.:.Sebastian Hagedorn - RZKR-R1 (Gebäude 52), Zimmer 18.:.
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
.:.Universität zu Köln / Cologne University - ✆ +49-221-478-5587.:.
  .:.:.:.Skype: shagedorn.:.:.:.
--
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 Mail Queue

2008-05-20 Thread Jesse Storry
Hi there,
 
I am using Mailman 2.1.9 on CentOS with qmail. We are also using qmail
to run spamassassin spam filter.  We are also trying to route all mail
through our Exchange box, rather than directly through the machine that
Mailman is running on. This complicates things.
 
I have found a way to redirect mail from Exchange to the Mailman box,
but now I need to know where to redirect the mail after it goes through
the spam filtering process via spamassassin.
 
What I am looking for is a folder to drop the messages into such that
they get picked up and processed by Mailman, or is there a program to
invoke which takes an email message as an argument? I have been a little
unclear as to how Mailman finds and processes new mail.
 
Thanks,
Jesse
--
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] Mailman Mail Queue

2008-05-20 Thread Jaco Kroon
It's been a while since I set it up but 
http://www.kroon.co.za/howto.php?howto=qmail_mailman should still be 
applicable.


Regards,
Jaco

Jesse Storry wrote:

Hi there,
 
I am using Mailman 2.1.9 on CentOS with qmail. We are also using qmail

to run spamassassin spam filter.  We are also trying to route all mail
through our Exchange box, rather than directly through the machine that
Mailman is running on. This complicates things.
 
I have found a way to redirect mail from Exchange to the Mailman box,

but now I need to know where to redirect the mail after it goes through
the spam filtering process via spamassassin.
 
What I am looking for is a folder to drop the messages into such that

they get picked up and processed by Mailman, or is there a program to
invoke which takes an email message as an argument? I have been a little
unclear as to how Mailman finds and processes new mail.
 
Thanks,

Jesse
--
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/jaco%40kroon.co.za

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] virtual domains

2008-05-20 Thread Melinda Gilmore
I know this has been covered alot and I do see alot of talk in the 
archives, but I am new to the whole, mailman/postfix/apache/redhat 
world and the instructions are not clear to me because of that.  Is 
there anyone out there that has the actually settings and what files 
to change in postfix, apache, mta, and whatever to get virtual 
domains to work.  Am I to understand that if I had a list called 
[EMAIL PROTECTED] (our domain) and I want a virtual 
domain to go with it called [EMAIL PROTECTED] I can get this to work?


--
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] disable bounce

2008-05-20 Thread Mark Sapiro
Ilin Tatabitovskiwrote:

I would like to configure Mailman only for forward ANY kind of email
to the subscribers. Often a mail with an attachment is being kept for
revision, and a bounce notification is being sent.

I would only like to forward a sent to a certain list to everybody. Is
this possible?


There are many things that can cause a post to be held.

If you turn off (set to No) respond_to_post_requests on the list's
General Options page, the notice to the submitter will not be sent
when a post is held.

In order to not hold posts at all, you have to address the reason they
are held in the first place. If posts with attachments are held it is
likely because of max_message_size, also on the list's General Options
page. Set this to 0 for no limit.

Some other possible reasons are 'implicit destination' and 'too many
recipients'. You can address these on Privacy options...-Recipient
filters by setting require_explicit_destination to No and
max_num_recipients to 0.

There are other possible holds as well. If you encounter them, you can
address them. E.g., if you want to accept posts from non-subscribers,
set Privacy options...-Sender filters-generic_nonmember_action to
Accept.

-- 
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] Mailman Mail Queue

2008-05-20 Thread Brad Knowles

Jesse Storry wrote:


What I am looking for is a folder to drop the messages into such that
they get picked up and processed by Mailman, or is there a program to
invoke which takes an email message as an argument? I have been a little
unclear as to how Mailman finds and processes new mail.


Mailman gets the message from the MTA, which passes the contents of the 
message on the command-line to the appropriate Mailman program.


Different MTAs may handle this process in a different way, but with common 
MTAs like sendmail or postfix, this is controlled through the alias files, 
so that [EMAIL PROTECTED] gets redirected to the 
right invocation of the right program with the right command-line arguments.



Integration of Mailman with Exchange is a pretty black art, in my 
experience.  If you wanted to run a local MTA on the machine and have that 
machine push all outgoing mail through your Exchange server, you could do 
that.  But how you configure Exchange to recognize mail delivered to it as 
being something that should be delivered to the back-end Mailman server is 
something totally different.


In my experience, most people try to hide their Exchange servers behind Unix 
boxes, because the Exchange server can't deal with all the traffic and kinds 
of abuse that happens in the real world, and they set up the Unix server to 
filter all that out before it gets to Exchange.


--
Brad Knowles [EMAIL PROTECTED]
Member of the Python.org Postmaster Team,  Co-moderator of the
mailman-users and mailman-developers mailing lists
--
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] Is it possible that a list loses its members?

2008-05-20 Thread Brad Knowles

Sebastian Hagedorn wrote:


I'm at a loss to explain what might have happened. Any ideas?


What is in the bounce log?  The automatic bounce processing could have 
unsubscribed them, although I would have thought that the results of that 
would show up in the subscribe log.


--
Brad Knowles [EMAIL PROTECTED]
Member of the Python.org Postmaster Team,  Co-moderator of the
mailman-users and mailman-developers mailing lists
--
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] Is it possible that a list loses its members?

2008-05-20 Thread Mark Sapiro

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sebastian Hagedorn wrote:
|
| we're running Mailman 2.1.9. Today I encountered something that's a
| mystery to me. A few weeks ago we created a list using our custom
| list-creation script that we always use. The list was apparently created
| correctly, like they always are. There were three initial list members
| and I can see them being added in /var/log/mailman/subscribe. Our script
| adds members using the add_members tool.
|
| Every Saturday we run a cronjob that looks for empty lists, i.e. lists
| with no members. The list in question popped up. So I wrote to the list
| owner to ask him why the list was empty. He was completely unaware of
| that. He had received the notifications about the new list members when
| the list was created and nothing since. That's corroborated by the fact
| that there are no unsubscribe lines in any of the log files. Still the
| list was empty.
|
| I'm at a loss to explain what might have happened. Any ideas?


I can't explain what happened, but the only way I can see something like
this happening is if there was a failure in list locking. I.e. if some
other process was updating the list at the same time that add_members
was running and the other process locked the list first, then
add_members locked the list, added the members and saved and unlocked
the list, and finally the other process saved the list without the members.

I don't think this can result from a simple failure of some process to
lock the list since an unlocked list cannot be saved, and locking a list
refreshes the data. If there is an issue, it has to be in the locking
mechanism itself, but this seems sound and there are no known issues
with this, although coincidentally (and I'm sure it's just a rare and
strange coincidence) I saw an apparent locking failure last week. See
http://mail.python.org/pipermail/mailman-developers/2008-May/020190.html.

So now we have two reports of possible locking failures. We'll have to
keep watching.


Brad Knowles wrote:
| What is in the bounce log?  The automatic bounce processing could have
| unsubscribed them, although I would have thought that the results of that
| would show up in the subscribe log.

Yes - unsubscribes by bounce processing are logged in the subscribe
log as is every other removal of a member except for low level
manipulation by a withlist or other script.

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

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFIMw/iVVuXXpU7hpMRAgktAKCmQr16ny6TXLZGz49CcTSh4ci1UQCeIZ6J
bPhKdEIUlw1QEdhAY4Gn09c=
=x1g5
-END 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


[Mailman-Users] Obscuring Email Addresses In The Archive

2008-05-20 Thread Steve
Hi;

I'm running an email list that is on GNU Mailman 2.1.9..

In the distant past I have had trouble with disgruntled readers going
into the archives to harvest email addresses so that they could rant
to people off list.

I don't want to shut innocent people out of the benefits of the archive.

I was wondering if I could further obscure the email addresses in the
archives.  Perhaps removing everything after the @ symbol?

The GNU Mailman software is run for me on a server that I do not have
access to, so a solution that I could implement from the admin
interface would be preferable.

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


[Mailman-Users] GNU Mailmain 2.1.9: Filtering Messages based on words in the body of an email?

2008-05-20 Thread Steve
Hi;

My apologies if this message is redundant.  I looked through the
archives a few different search strings.  While I found some related
material most of it seemed to be from a long time ago.

I'm admiring a GNU Mailman email list that is running on version 2.1.9
on a server that I do not have access too.

Is it possible through the use of the admin interface to filter out
messages based on key words in the body of an email?

I have some banned ex-subscribers who periodically resubscribe under
new email addresses to post URLs to rant pages about my list.I
would rather not moderate all new incoming subscribers.   I don't want
to slow legitimate users down.  The trolls often bury the URLs at the
end of long messages making it easy to miss.

I would prefer not to use procmail or software other than GNU Mailman.
 As I wrote the list is made available to me freely on a server that I
do not have access to.  I don't want to bother my admin more than I
have to.

Is it possible to set up GNU Mailman 2.1.9 to filter on URLs or other
keywords in the body of an email?

If this issue has been covered for this version of Mailman please feel
free to RTFM me to the appropriate docs and I will read them.

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] Obscuring Email Addresses In The Archive

2008-05-20 Thread Mark Sapiro
Steve wrote:

I was wondering if I could further obscure the email addresses in the
archives.  Perhaps removing everything after the @ symbol?

The GNU Mailman software is run for me on a server that I do not have
access to, so a solution that I could implement from the admin
interface would be preferable.


Any such obfuscation of email addresses beyond what's currently done
would require source code modifications.

See http://www.openinfo.co.uk/mm/patches/850805/index.html for one
such example.

-- 
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] GNU Mailmain 2.1.9: Filtering Messages based onwords in the body of an email?

2008-05-20 Thread Mark Sapiro
Steve wrote:

Is it possible to set up GNU Mailman 2.1.9 to filter on URLs or other
keywords in the body of an email?


Not without implementing a custom handler
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.067.htp
or modifying source code.

-- 
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] Is it possible that a list loses its members?

2008-05-20 Thread Sebastian Hagedorn
-- Brad Knowles [EMAIL PROTECTED] is rumored to have mumbled on 20. Mai 
2008 12:32:50 -0500 regarding Re: [Mailman-Users] Is it possible that a 
list loses its members?:



I'm at a loss to explain what might have happened. Any ideas?


What is in the bounce log?


Nothing.


The automatic bounce processing could have
unsubscribed them, although I would have thought that the results of that
would show up in the subscribe log.


Yup. But see my next reply.
--
Sebastian Hagedorn - Listmaster - RZKR-R1 (Flachbau), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587
--
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] Obscuring Email Addresses In The Archive

2008-05-20 Thread Brad Knowles

Steve wrote:


I was wondering if I could further obscure the email addresses in the
archives.  Perhaps removing everything after the @ symbol?


That would require source level modification to the mailing list software.


The GNU Mailman software is run for me on a server that I do not have
access to, so a solution that I could implement from the admin
interface would be preferable.


Not so far as I know.  You need to be able to get full priviledged access to 
the server in order to make the source-code level changes.


--
Brad Knowles [EMAIL PROTECTED]
LinkedIn Profile: http://tinyurl.com/y8kpxu
--
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] Is it possible that a list loses its members?

2008-05-20 Thread Sebastian Hagedorn
-- Mark Sapiro [EMAIL PROTECTED] is rumored to have mumbled on 20. Mai 
2008 10:52:34 -0700 regarding Re: [Mailman-Users] Is it possible that a 
list loses its members?:



| I'm at a loss to explain what might have happened. Any ideas?


I can't explain what happened, but the only way I can see something like
this happening is if there was a failure in list locking.


Right, that's what we thought ourselves. The member adding is logged and we 
verifed that the notification mails got sent, but it appears that both 
those actions occur *before* the members are actually added.



I.e. if some
other process was updating the list at the same time that add_members
was running and the other process locked the list first, then
add_members locked the list, added the members and saved and unlocked
the list, and finally the other process saved the list without the
members.


The other process would probably(?) be the config_list command. Some more 
detail. We found the following just before the list was created:


May 09 14:54:25 2008 (10586) admin.py access for non-existent list: listname
May 09 14:54:25 2008 (11122) admin.py access for non-existent list: listname

The member adding happened just two minutes later:

May 09 14:56:29 2008 (13495) listname: new [EMAIL PROTECTED],

Now the script we use to create new lists does this:

new_list();
write_config_file();
config_list();
add_members();
demod_members();
send_mail();

new_list() calls newlist, config_list() calls config_list, and 
add_members() calls add_members - not much of a surprise, I guess.



I don't think this can result from a simple failure of some process to
lock the list since an unlocked list cannot be saved, and locking a list
refreshes the data. If there is an issue, it has to be in the locking
mechanism itself, but this seems sound and there are no known issues
with this, although coincidentally (and I'm sure it's just a rare and
strange coincidence) I saw an apparent locking failure last week. See
http://mail.python.org/pipermail/mailman-developers/2008-May/020190.html
.

So now we have two reports of possible locking failures. We'll have to
keep watching.


There were instances before where listowner talked of strange phenomena, 
but there never was any proof. I admit I never believed them ...

--
Sebastian Hagedorn - Listmaster - RZKR-R1 (Flachbau), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587
--
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] Is it possible that a list loses its members?

2008-05-20 Thread Mark Sapiro

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sebastian Hagedorn wrote:
| -- Mark Sapiro [EMAIL PROTECTED] is rumored to have mumbled on 20. Mai
| 2008 10:52:34 -0700 regarding Re: [Mailman-Users] Is it possible that a
| list loses its members?:
|
| | I'm at a loss to explain what might have happened. Any ideas?
|
|
| I can't explain what happened, but the only way I can see something like
| this happening is if there was a failure in list locking.
|
| Right, that's what we thought ourselves. The member adding is logged and
| we verifed that the notification mails got sent, but it appears that
| both those actions occur *before* the members are actually added.


Actually, no. The members are added before the log is written and the
notices sent. See the ApprovedAddMember method in Mailman/MailList.py.
What has to happen is after the members are added and the config.pck is
saved, some other process has to overwrite the config.pck with one that
doesn't have the added members (at least assuming you don't have a
custom member adaptor that keeps membership elsewhere).


| I.e. if some
| other process was updating the list at the same time that add_members
| was running and the other process locked the list first, then
| add_members locked the list, added the members and saved and unlocked
| the list, and finally the other process saved the list without the
| members.
|
| The other process would probably(?) be the config_list command. Some
| more detail. We found the following just before the list was created:
|
| May 09 14:54:25 2008 (10586) admin.py access for non-existent list:
| listname
| May 09 14:54:25 2008 (11122) admin.py access for non-existent list:
| listname


These are apparently from attempted web access to the admin interface
for the list before it is created.


| The member adding happened just two minutes later:
|
| May 09 14:56:29 2008 (13495) listname: new [EMAIL PROTECTED],


Two minutes is forever in terms of what we're talking about. Even two
seconds is a long time.


| Now the script we use to create new lists does this:
|
| new_list();
| write_config_file();
| config_list();
| add_members();
| demod_members();
| send_mail();
|
| new_list() calls newlist, config_list() calls config_list, and
| add_members() calls add_members - not much of a surprise, I guess.


Are these synchronous calls?  What would have to happen is something
like the following:

config_list is called. It instantiates the list with a lock. It then
reads its input and updates its in memory copy of the list.

While this is going on, add_members is called. It instantiates the list
with a lock., but somehow this fails to wait for config_list to
relinquish its lock. add_members adds the members and saves and unlocks
the updated list.

Then config_list finishes processing and saves its updated list which
doesn't have the members.

This scenario is hypothetical. It depends on list locking to fail
somehow at a low level. It can't result from a coding error in one of
the processes as long as they use standard list methods because a
process can't lock a list without obtaining/refreshing the latest list
data, and a process can't save a list that isn't locked.

Another possible cause is if there was a temporary read error on
config.pck by the process immediately following add_members causing it
to fall back to config.pck.last, but this would be logged in Mailman's
error log.

What do demod_members() and send_mail() do. Is there anything there that
manipulates config.pck other than by standard MailList.MailList methods?


| I don't think this can result from a simple failure of some process to
| lock the list since an unlocked list cannot be saved, and locking a list
| refreshes the data. If there is an issue, it has to be in the locking
| mechanism itself, but this seems sound and there are no known issues
| with this, although coincidentally (and I'm sure it's just a rare and
| strange coincidence) I saw an apparent locking failure last week. See
| http://mail.python.org/pipermail/mailman-developers/2008-May/020190.html
| .
|
| So now we have two reports of possible locking failures. We'll have to
| keep watching.
|
| There were instances before where listowner talked of strange phenomena,
| but there never was any proof. I admit I never believed them ...

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

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFIMzoeVVuXXpU7hpMRAmGPAJ9gBdnMFqUsIxqre3iIkEZR9UaykwCgr5Xb
cNC/t7HWoeRzG777k5kGmyM=
=s98Q
-END 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: 

Re: [Mailman-Users] virtual domains

2008-05-20 Thread Mark Sapiro
Melinda Gilmore wrote:

I know this has been covered alot and I do see alot of talk in the 
archives, but I am new to the whole, mailman/postfix/apache/redhat 
world and the instructions are not clear to me because of that.  Is 
there anyone out there that has the actually settings and what files 
to change in postfix, apache, mta, and whatever to get virtual 
domains to work.  Am I to understand that if I had a list called 
[EMAIL PROTECTED] (our domain) and I want a virtual 
domain to go with it called [EMAIL PROTECTED] I can get this to work?


Not exactly. If you have a list named something that is currently in
the lists.service.osu.edu domain, you could move it to the network.org
domain, but the whole idea of virtual domains in Mailman is that the
various domains are disjoint (although currently list names still have
to be globally unique).

If you just want to be able to mail to [EMAIL PROTECTED] in
addition to mailing to [EMAIL PROTECTED] and have either
address go to the list, this would all be done in Postfix and DNS.

In order to give you a recipe to do what you want, I'd need more
detailed information. We would need to have a dialog to determine what
you want and what can be done. Unfortunately, I will not be available
to do this until June.

-- 
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] GNU Mailmain 2.1.9: Filtering Messages based onwords in the body of an email?

2008-05-20 Thread Bill Christensen

At 12:20 PM -0700 5/20/08, Mark Sapiro wrote:

Steve wrote:


Is it possible to set up GNU Mailman 2.1.9 to filter on URLs or other
keywords in the body of an email?



Not without implementing a custom handler
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.067.htp
or modifying source code.



Assuming that the rant URLs are known, couldn't he just use the spam filter?
--
Bill Christensen
http://greenbuilder.com/contact/

Green Building Professionals Directory: http://directory.greenbuilder.com
Sustainable Building Calendar: http://www.greenbuilder.com/calendar/
Green Real Estate: http://www.greenbuilder.com/realestate/
Straw Bale Registry: http://sbregistry.greenbuilder.com/
Books/videos/software: http://bookstore.greenbuilder.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