Re: [Mailman-Users] A glitch in Mailman??

2006-03-17 Thread Mark Sapiro
Tom Ray wrote:
>
>Thanks for the reply and sorry if I wasn't overly clear. Each domain was
>setup as --prefix=/home/sites/domainname.com/mailman


This should be fine, but in the OP you said that the 2.1.6 web pages
identify themselves as 2.1.7 which they shouldn't at all be doing if
they are completely separate. Also, if they identify themselves as
2.1.7, they are probably getting Defaults.py/mm_cfg.py from one of the
2.1.7 domains too. Note that the value of $prefix is compiled into the
cgi-bin wrappers, so each set must be configured for it's own domain.


>Each site has it's own cgi-bin but I did setup everything as
>mailman:mailman for user:group.


That shouldn't be a problem.


>I'll see what I can do about upgrading
>the 2.1.6 lists to 2.1.7 and see if that has any effect.


It shouldn't (unless you mean the while configure/make upgrade), but
fix_url as mentioned in FAQ 4.29 might.


>> Were the 2.1.6 lists created in their current domains? If not 
>> see 
>.

-- 
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=show&file=faq01.027.htp


Re: [Mailman-Users] A glitch in Mailman??

2006-03-17 Thread Tom Ray
Mark-

Thanks for the reply and sorry if I wasn't overly clear. Each domain was
setup as --prefix=/home/sites/domainname.com/mailman

Each site has it's own cgi-bin but I did setup everything as
mailman:mailman for user:group. I'll see what I can do about upgrading
the 2.1.6 lists to 2.1.7 and see if that has any effect.

> -Original Message-
> From: Mark Sapiro [mailto:[EMAIL PROTECTED] 
> Sent: Friday, March 17, 2006 4:40 PM
> To: Tom Ray; mailman-users@python.org
> Subject: Re: [Mailman-Users] A glitch in Mailman??
> 
> 
> Tom Ray wrote:
> 
> >I'm running mailman on multiple sites (virtual mail server) and for 
> >each installation I configured it for the domain inquestion 
> only. The 
> >last two installs that I did were with mailman 2.1.7 while 
> the existing 
> >ones were with 2.1.6. It appears that the mailing lists for all the 
> >domains are working just fine but I'm running into a problem 
> with the 
> >web site side of it all.
> >
> >All the domains installed with 2.1.7 are _not_ having any 
> issues with 
> >the web interface. However, all the domains setup with 2.1.6 are not 
> >working. It claims there are no public lists to view and 
> when I enter 
> >the list to view (per the page's instructions) I'm being 
> told the list 
> >doesn't exist. It also says that the installed version is 2.1.7
> >
> >Is there something I missed? I was under the impression that if I 
> >configured each domain seperately it would not be an issue. 
> Do I need 
> >to run some sort of upgrade script on the sites using 2.1.6?
> 
> This shouldn't be a 2.1.6 vs. 2.1.7 issue. It's hard to know 
> what's goin on from your description, but is seems your 
> separate installs are not as separate as you think.
> 
> Is each domain's set of cgi-bin wrappers in it's own cgi-bin 
> directory, and were each domain's wrappers compiled by a 
> makefile configured with its own unique set of 'prefix' arguments?
> 
> Were the 2.1.6 lists created in their current domains? If not 
> see 
.

-- 
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=show&file=faq01.027.htp


Re: [Mailman-Users] A glitch in Mailman??

2006-03-17 Thread Mark Sapiro
Tom Ray wrote:

>I'm running mailman on multiple sites (virtual mail server) and for each
>installation I configured it for the domain inquestion only. The last
>two installs that I did were with mailman 2.1.7 while the existing ones
>were with 2.1.6. It appears that the mailing lists for all the domains
>are working just fine but I'm running into a problem with the web site
>side of it all.
>
>All the domains installed with 2.1.7 are _not_ having any issues with
>the web interface. However, all the domains setup with 2.1.6 are not
>working. It claims there are no public lists to view and when I enter
>the list to view (per the page's instructions) I'm being told the list
>doesn't exist. It also says that the installed version is 2.1.7
>
>Is there something I missed? I was under the impression that if I
>configured each domain seperately it would not be an issue. Do I need to
>run some sort of upgrade script on the sites using 2.1.6?

This shouldn't be a 2.1.6 vs. 2.1.7 issue. It's hard to know what's
goin on from your description, but is seems your separate installs are
not as separate as you think.

Is each domain's set of cgi-bin wrappers in it's own cgi-bin directory,
and were each domain's wrappers compiled by a makefile configured with
its own unique set of 'prefix' arguments?

Were the 2.1.6 lists created in their current domains? If not see
.

-- 
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=show&file=faq01.027.htp


Re: [Mailman-Users] Use of Mailman documentation

2006-03-17 Thread Mark Sapiro
Karl Zander wrote:
>  
>I note that on the Mailman website this is some nice 
>documention for users written by Terri Oda (and others I 
>gather.)  It is allowed to give that out to my users?  I 
>do not see anything about how it is licensed.

The entire web site, including Terri's manuals (but not Chris Kolar's
or any other off site links) is in the Mailman distribution in the
admin/www directory. Thus, it's distributed under the GPL.

-- 
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=show&file=faq01.027.htp


[Mailman-Users] A glitch in Mailman??

2006-03-17 Thread Tom Ray
I'm running mailman on multiple sites (virtual mail server) and for each
installation I configured it for the domain inquestion only. The last
two installs that I did were with mailman 2.1.7 while the existing ones
were with 2.1.6. It appears that the mailing lists for all the domains
are working just fine but I'm running into a problem with the web site
side of it all.

All the domains installed with 2.1.7 are _not_ having any issues with
the web interface. However, all the domains setup with 2.1.6 are not
working. It claims there are no public lists to view and when I enter
the list to view (per the page's instructions) I'm being told the list
doesn't exist. It also says that the installed version is 2.1.7

Is there something I missed? I was under the impression that if I
configured each domain seperately it would not be an issue. Do I need to
run some sort of upgrade script on the sites using 2.1.6?

TIA
--
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=show&file=faq01.027.htp


Re: [Mailman-Users] Tip for finding in the source

2006-03-17 Thread Oliver Schulze L.
Mark Sapiro wrote:
> Oliver Schulze L. wrote:
>   
> The moderator didn't block your first message. Content filtering
> discarded it because after removing the text/html part, there was
> nothing left.
>   
Ohh, I understand. Sorry about the misunderstanfing
>> What I need to do is:
>> - if the email have been marked as Spam by the Mailman Spam filters,
>>  comment the line:
>>  #nmsg.attach(MIMEMessage(msg))
>>  else, include the original email:
>>  nmsg.attach(MIMEMessage(msg))
>> 
> So you need to add the logic to do this. E.g., instead of just
> commenting out the attachment of the message
>
> #nmsg.attach(MIMEMessage(msg))
>
> you need something like
>
> if msg.get('x-spam-flag') <> 'YES':
> nmsg.attach(MIMEMessage(msg))
>   
Great! Will do it right now.
>> - Detect if the email has been rejected because the Mailman Spam Filter
>>  made a hit.
>> 
> Isn't this the same thing as above?
>   
yes :)
>> - I never code in python(but did in C++, php, perl, etc). My question 
>> is, how do
>>  I convert the Hold.py to Hold.pyc ?
>> 
> Python does it automatically the first time the module is imported with
> the timestamp on the .py later than the .pyc, it will recompile and
> save a new .pyc (assuming it has permission).
>   
Thats nice. Will test it right now.

Can I later submit the patch for:
[ 1219887 ] switch to not send body of spam to owner
http://sourceforge.net/tracker/index.php?func=detail&aid=1219887&group_id=103&atid=350103

Later I will be asking help again for solving:
[ 1443069 ] If an email is filtered with a SPAM filter, do not reply
http://sourceforge.net/tracker/index.php?func=detail&aid=1443069&group_id=103&atid=350103


Cheers,
Oliver

-- 
Oliver Schulze L.
<[EMAIL PROTECTED]>

--
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=show&file=faq01.027.htp


Re: [Mailman-Users] Tip for finding in the source

2006-03-17 Thread Mark Sapiro
Oliver Schulze L. wrote:

>(To list moderator: please don't block this email, its an already 
>started discussion,
>I need to provide feedback to Mark, I need to post the patch, thanks)


The moderator didn't block your first message. Content filtering
discarded it because after removing the text/html part, there was
nothing left.


>What I need to do is:
>- if the email have been marked as Spam by the Mailman Spam filters,
>  comment the line:
>  #nmsg.attach(MIMEMessage(msg))
>  else, include the original email:
>  nmsg.attach(MIMEMessage(msg))


So you need to add the logic to do this. E.g., instead of just
commenting out the attachment of the message

#nmsg.attach(MIMEMessage(msg))

you need something like

if msg.get('x-spam-flag') <> 'YES':
nmsg.attach(MIMEMessage(msg))


>- Detect if the email has been rejected because the Mailman Spam Filter
>  made a hit.


Isn't this the same thing as above?


>- I never code in python(but did in C++, php, perl, etc). My question 
>is, how do
>  I convert the Hold.py to Hold.pyc ?


Python does it automatically the first time the module is imported with
the timestamp on the .py later than the .pyc, it will recompile and
save a new .pyc (assuming it has permission).


>I made this patch to:
>Mailman/Handlers/Hold.py
>--- Hold.py.ori 2006-03-17 17:03:27.0 -0300
>+++ Hold.py 2006-03-17 17:02:55.0 -0300
>@@ -274,7 +274,7 @@
> dmsg['Sender'] = requestaddr
> dmsg['From'] = requestaddr
> nmsg.attach(text)
>-nmsg.attach(MIMEMessage(msg))
>+#nmsg.attach(MIMEMessage(msg))
> nmsg.attach(MIMEMessage(dmsg))
> nmsg.send(mlist, **{'tomoderators': 1})
> finally:

-- 
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=show&file=faq01.027.htp


Re: [Mailman-Users] There currently are nopublicly-advertisedMailmanmailing lists

2006-03-17 Thread Travis Derouin
Ok,

This is all sort of embarrassing, but may shed light on why other
users have similar problems.

Both servers running RedHat had pre-existing mailman installations
that came with the distribution by default! One was located at
/usr/lib/mailman and one at /var/mailman, and had mailman.conf in
conf.d that set the /mailman/ directory before my ScriptAlias could
work. I didn't find this until doing a 'find / -name list_info.py'

Thanks for all the help, I really appreciate it.

Travis

On 3/17/06, Mark Sapiro <[EMAIL PROTECTED]> wrote:
> Travis Derouin wrote:
>
> >Yep, I tried that. I even removed
> >/tmp/mailman-2.1.7Mailman/Cgi/listinfo.py and did a `make clean` which
> >deleted src/listinfo, but when i did a `make`, src/listinfo
> >reappeared, even though listinfo.py was deleted. So I must be missing
> >something somewhere.
>
>
> Yes.
>
>
> >When I do a `make install` the changes I put in
> >/tmp/mailman-2.1.7/Mailman/Cgi/listinfo.py are copied over to
> >/usr/local/mailman/Mailman/Cgi/listinfo.py, so I'm not sure why
> >/usr/local/mailman/cgi-bin/listinfo doesn't reflect them.
>
>
> make compiles src/listinfo.c into src/listinfo. make install copies
> src/listinfo to /usr/local/mailman/cgi-bin/listinfo. This is just the
> wrapper that checks for proper group before invoking
> /usr/local/mailman/Mailman/Cgi/listinfo.py which is the python script
> that actually does the work.
>
> --
> 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=show&file=faq01.027.htp


[Mailman-Users] Use of Mailman documentation

2006-03-17 Thread Karl Zander
  
I note that on the Mailman website this is some nice 
documention for users written by Terri Oda (and others I 
gather.)  It is allowed to give that out to my users?  I 
do not see anything about how it is licensed.

--Karl
--
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=show&file=faq01.027.htp


Re: [Mailman-Users] Tip for finding in the source

2006-03-17 Thread Oliver Schulze L.
(To list moderator: please don't block this email, its an already 
started discussion,
I need to provide feedback to Mark, I need to post the patch, thanks)

Hi Mark,
I think I found were the original email get attached to the notification 
email.

What I need to do is:
- if the email have been marked as Spam by the Mailman Spam filters,
  comment the line:
  #nmsg.attach(MIMEMessage(msg))
  else, include the original email:
  nmsg.attach(MIMEMessage(msg))
- Detect if the email has been rejected because the Mailman Spam Filter
  made a hit.
- I never code in python(but did in C++, php, perl, etc). My question 
is, how do
  I convert the Hold.py to Hold.pyc ?

I made this patch to:
Mailman/Handlers/Hold.py
--- Hold.py.ori 2006-03-17 17:03:27.0 -0300
+++ Hold.py 2006-03-17 17:02:55.0 -0300
@@ -274,7 +274,7 @@
 dmsg['Sender'] = requestaddr
 dmsg['From'] = requestaddr
 nmsg.attach(text)
-nmsg.attach(MIMEMessage(msg))
+#nmsg.attach(MIMEMessage(msg))
 nmsg.attach(MIMEMessage(dmsg))
 nmsg.send(mlist, **{'tomoderators': 1})
 finally:

Many thanks!
Oliver

Mark Sapiro wrote:
> The process is driven by Mailman/Queue/BounceRunner.py and the actual
> sending of notices, scoring of bounces, etc. is done in
> Mailman/Bouncer.py.
>   
-- 
Oliver Schulze L.
<[EMAIL PROTECTED]>

--
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=show&file=faq01.027.htp


Re: [Mailman-Users] Forged from headers and non existent lists

2006-03-17 Thread stupidmail4me
I just figured it out. You're right, it's not mailman
sending out the response. I'm using mm-handler and
that's what's sending out the bad list name response.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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=show&file=faq01.027.htp


Re: [Mailman-Users] Forged from headers and non existent lists

2006-03-17 Thread Mark Sapiro
stupidmail4me wrote:
>
>Here's the message that gets sent back:
>Your mail for [EMAIL PROTECTED] could not be sent:
>   no list named "blah" is known by lists.foo.com
>
>For a list of publicly-advertised mailing lists hosted
>on this server,
>visit this URL:
>   http://lists.foo.com/
>
>If this does not resolve your problem, you may write
>to:
>   [EMAIL PROTECTED]
>or
>   [EMAIL PROTECTED]


This message does not come from a 'stock' Mailman. Most likely it comes
from your MTA. Is this a standard Mailman install from source or
someone's package? What is the MTA?

I would look at the MTA configuration for the source of this message.

-- 
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=show&file=faq01.027.htp


Re: [Mailman-Users] Security Help

2006-03-17 Thread Mark Sapiro
Jewel wrote:
>I simply want 
>to know how can I see that services running, how to shut them down, and 
>secure the server.  I am running Knoppix 4.0.2 and Mailman 2.1.7.


If Mailman is normally installed, there is a 'mailmanctl' in its bin/
directory, and Mailman is shut down with 'bin/mailmanctl stop'.

Anything more than that, as Patrick said, seems to be beyond the scope
of this 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=show&file=faq01.027.htp


Re: [Mailman-Users] Forged from headers and non existent lists

2006-03-17 Thread stupidmail4me
You're right. That's a good question. Why is mailman
receiving these messages?

Here's the message that gets sent back:
Your mail for [EMAIL PROTECTED] could not be sent:
no list named "blah" is known by lists.foo.com

For a list of publicly-advertised mailing lists hosted
on this server,
visit this URL:
http://lists.foo.com/

If this does not resolve your problem, you may write
to:
[EMAIL PROTECTED]
or
[EMAIL PROTECTED]


lists.foo.com delivers e-mail to registered mailing
lists
and to the administrative addresses defined and
required by IETF
Request for Comments (RFC) 2142 [1].

Personal e-mail addresses are not offered by this
server.

The Internet Engineering Task Force [2] (IETF)
oversees the development
of open standards for the Internet community,
including the protocols
and formats employed by Internet mail systems.

For your convenience, your original mail is attached.


[1] Crocker, D. "Mailbox Names for Common Services,
Roles and
Functions".  http://www.ietf.org/rfc/rfc2142.txt

[2] http://www.ietf.org/

What can I change so that nothing gets sent?

--- Hans Ulrich Niedermann <[EMAIL PROTECTED]>
wrote:

> stupidmail4me <[EMAIL PROTECTED]> writes:
> 
> > My site is getting a lot of spam sent to my lists.
> > They are being sent from unknown people using
> forged
> > from headers. Mailman then sends an email to these
> > forged from headers telling them so and so list
> > doesn't exist. Most of these forged from headers
> > aren't real addresses, so there begins loops of
> > mailman trying to send out a message, and their
> email
> > servers telling mine that address doesn't exist.
> >
> > Is there an option in Mailman to just disregard
> > messages sent to lists that don't exist? I don't
> want
> > to send a message informing them that the list
> doesn't
> > exist, I just want Mailman to ignore it. Is this
> > possible?
> 
> Why does Mailman receive those mails in the first
> place?
> 
> There should be no valid alias for those
> non-existing lists and the
> MTA thus should not accept those mails at all. If
> the MTA just returns
> a SMTP error "no such user", no additional mails are
> generated.
> 
> Gruß,
> 
> Hans Ulrich Niedermann
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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=show&file=faq01.027.htp


Re: [Mailman-Users] Security Help

2006-03-17 Thread Patrick Bogen
On 3/17/06, Jewel <[EMAIL PROTECTED]> wrote:
> I am struggling with
> security.  I know there are processes like ftp and telnet which I should
> shutdown but how do I do this.  Any information I have found online
> confuses me or is beyond what I am trying to accomplish.  I simply want
> to know how can I see that services running, how to shut them down, and
> secure the server.  I am running Knoppix 4.0.2 and Mailman 2.1.7.
This isn't really the place to ask this question, mostly; You should
ask your questions in a Knoppix mailing list or forum.


All mailman needs is an MTA (Knoppix probably ships with Exim, but I'm
not sure.)


- Patrick Bogen
--
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=show&file=faq01.027.htp


Re: [Mailman-Users] Mass subscribe duplicate addresses

2006-03-17 Thread Mark Sapiro
Michael Rainey wrote:

>
>Re: FAQ 3.44 Mass subscribe in different formats, what is result one has
>duplicates. I.e. same email address listed twice either in same format or in
>different formats like in FAQ.


The first one gets subscribed. The subsequent ones with the same email
address are rejected for 'already a member'. Duplicate names with
different email addresses both get subscribed.


-- 
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=show&file=faq01.027.htp


Re: [Mailman-Users] Admin email on errors?

2006-03-17 Thread Mark Sapiro
Kurt Werle wrote:

>I have twice got the following error:
>---
>Mar 14 22:41:58 2006 mailmanctl(54): The master qrunner lock could not be
>acquired.  It appears as though there is
>a stale master qrunner lock.  Try re-running mailmanctl with the -s flag.
>Mar 14 22:41:58 2006 mailmanctl(54):
>Mar 14 22:56:02 2006 mailmanctl(48): The master qrunner lock could not be
>acquired, because it appears as if some
>process on some other host may have acquired it.  We can't test for stale
>locks across host boundaries, so you'll have to do this manually.  Or, if you
>know the lock is stale, re-run mailmanctl with the -s flag.
>---


These errors are the result of a 'mailmanctl start' when mailmanctl was
either already running or died in some 'unclean' way. Are there any
messages in the 'error' or 'qrunner' logs that might illuminate the
problem that caused you to want to do the 'mailmanctl start' in the
first place. And, if not and mailmanctl died ungracefully, it's
unlikely to be able to successfully send you an email about the
situation.


>and I can live with that.  What is a drag is the fact that it takes a user
>telling me "hey, why isn't list mail going out?" to find out that mailman
>has stopped processing.
>
>I don't see anywhere in the docs that mailman will send mail to the site
>admin in the event of a catastrophic error.  Am I missing it?


No. It doesn't exist, because in it's death throes it's unlikely to be
able to send mail any more.


>Has anyone
>hacked it in?  Do I have to write a cron job that will poll the process
>list to see if mailman is still running?  Has anyone written that already?


There are posts in the mailman-users archives about this.


The real solution is to find the underlying problem and fix it so
Mailman doesn't die.

-- 
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=show&file=faq01.027.htp


Re: [Mailman-Users] I really need to put a banner on the messages

2006-03-17 Thread Mark Sapiro
daniel trejo wrote:

>So my
>question  is  do i have to join the developers list to get help with this
>issue? what are the requisites to join? what should i know?


No you don't have to join mailman-developers, but you do have to learn
Python and read some Mailman code.


Mailman is not the most appropriate tool for what you want to do. You
will probably need to implement a custom handler to add the header
and/or footer as a text/html part instead of a text/plain part.

See

for an outline of installing a custom handler. and see
Mailman/Handlers/Decorate.py for the handler that currently adds
headers and footers.

There will be issues because the logical thing seems to be to put
something in msg_header and/or msg_footer which a custom handler could
then convert into the HTML you want, but you can't just replace
Decorate with your handler because Decorate is called directly from
Mailman/Handlers/SMTPDirect.py.

-- 
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=show&file=faq01.027.htp


[Mailman-Users] Security Help

2006-03-17 Thread Jewel
I am a brand new user of Mailman and in the process of building a 
replacement for one that is running out of space.  I am struggling with 
security.  I know there are processes like ftp and telnet which I should 
shutdown but how do I do this.  Any information I have found online 
confuses me or is beyond what I am trying to accomplish.  I simply want 
to know how can I see that services running, how to shut them down, and 
secure the server.  I am running Knoppix 4.0.2 and Mailman 2.1.7.

Thanks!

-- 
Jewel



--
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=show&file=faq01.027.htp


Re: [Mailman-Users] Not receive email when posting to list

2006-03-17 Thread Mark Sapiro
Jana Nguyen wrote:
>
>It seems that mailman can send out mail.  I get an email of confirmation 
>when subscribing to the list, but the owner of the list doesn't get an 
>email to approve the rquest nor do I received a copy of an email for a 
>list that I am a member of.


See


-- 
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=show&file=faq01.027.htp


Re: [Mailman-Users] Not receive email when posting to list

2006-03-17 Thread Jana Nguyen
Mark Sapiro wrote:

>Jana Nguyen wrote:
>  
>
>>I can subscribe to a list, both I and the owner of the mailing list get 
>>an email notifications.  But I do not receive email when
>>posting to any of the mailing list that I created.
>>
>>
>
>Does anyone get your posts?
>
Nope.

> Are your posts moderated?
>  
>
Nope.

>Do you have your subscription options and perhaps the defaults for the
>list set to not receive your own posts? Do you Cc: yourself on your
>post and if so, do you have your subscription options set to not
>receive duplicates?
>  
>
I have enabled "filter out duplicate messages to list members (if 
possible)."

It seems that mailman can send out mail.  I get an email of confirmation 
when subscribing to the list, but the owner of the list doesn't get an 
email to approve the rquest nor do I received a copy of an email for a 
list that I am a member of.

--
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=show&file=faq01.027.htp


[Mailman-Users] Mass subscribe duplicate addresses

2006-03-17 Thread Michael Rainey

Re: FAQ 3.44 Mass subscribe in different formats, what is result one has
duplicates. I.e. same email address listed twice either in same format or in
different formats like in FAQ.

I have multiple text files of addresses from several lists that we are
combining into a one way announcement list.

Thank you,

Michael Rainey
--
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=show&file=faq01.027.htp


[Mailman-Users] I really need to put a banner on the messages

2006-03-17 Thread daniel trejo
hello; I explained to my boss the xss exploit, and that i would need to
change the code to put  a  tag on the header of the messages
posted on the lists. Nevertheless he still wants me to put  it.  So my
question  is  ¿do i have to join the developers list to get help with this
issue?
¿what are the requisites to join?¿what should i know?

Or let me explain the project  to see if  someone has suggestions , we need
to implement a mailing lists, there are like 5 divisions. each one with
different members, also each division has like three or four bosses and a
small staff of helpers, each boss has absolute  right of writting on the
list, the staff of helpers also can write on the list, but must include on
the footer the name of the boss authorizing the message.everyone else has no
right to post on the list, no one of the outside has the right to post on
the list, and I will be responsible of administrating all lists. So the
point is that the bosses only have to worry about writting the messages from
anyplace

I  ve  already solved the permissions  problem,  but  the footer and header
are very troublesome. I suggested using mail merge of open office. But he
doesn't want to install it on every computer and to teach evreryone how to
use mail merge

thanks for reading

good bye
--
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=show&file=faq01.027.htp


Re: [Mailman-Users] Not receive email when posting to list

2006-03-17 Thread Mark Sapiro
Jana Nguyen wrote:
>
>I can subscribe to a list, both I and the owner of the mailing list get 
>an email notifications.  But I do not receive email when
>posting to any of the mailing list that I created.

Does anyone get your posts? Are your posts moderated?

Do you have your subscription options and perhaps the defaults for the
list set to not receive your own posts? Do you Cc: yourself on your
post and if so, do you have your subscription options set to not
receive duplicates?

-- 
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=show&file=faq01.027.htp


[Mailman-Users] Not receive email when posting to list

2006-03-17 Thread Jana Nguyen
Hi there,

I can subscribe to a list, both I and the owner of the mailing list get 
an email notifications.  But I do not receive email when
posting to any of the mailing list that I created.

Thank you.
--
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=show&file=faq01.027.htp


[Mailman-Users] Admin email on errors?

2006-03-17 Thread Kurt Werle
I have twice got the following error:
---
Mar 14 22:41:58 2006 mailmanctl(54): The master qrunner lock could not be
acquired.  It appears as though there is
a stale master qrunner lock.  Try re-running mailmanctl with the -s flag.
Mar 14 22:41:58 2006 mailmanctl(54):
Mar 14 22:56:02 2006 mailmanctl(48): The master qrunner lock could not be
acquired, because it appears as if some
process on some other host may have acquired it.  We can't test for stale
locks across host boundaries, so you'll have to do this manually.  Or, if you
know the lock is stale, re-run mailmanctl with the -s flag.
---

and I can live with that.  What is a drag is the fact that it takes a user
telling me "hey, why isn't list mail going out?" to find out that mailman
has stopped processing.

I don't see anywhere in the docs that mailman will send mail to the site
admin in the event of a catastrophic error.  Am I missing it?  Has anyone
hacked it in?  Do I have to write a cron job that will poll the process
list to see if mailman is still running?  Has anyone written that already?

TIA,
Kurt
-- 
[EMAIL PROTECTED]
http://www.pobox.com/~kwerle/
Tired of spam? Control your Mailserver (or .forward)?
http://tess.sf.net


--
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=show&file=faq01.027.htp


Re: [Mailman-Users] There currently are nopublicly-advertisedMailmanmailing lists

2006-03-17 Thread Mark Sapiro
Travis Derouin wrote:

>Yep, I tried that. I even removed
>/tmp/mailman-2.1.7Mailman/Cgi/listinfo.py and did a `make clean` which
>deleted src/listinfo, but when i did a `make`, src/listinfo
>reappeared, even though listinfo.py was deleted. So I must be missing
>something somewhere.


Yes.


>When I do a `make install` the changes I put in
>/tmp/mailman-2.1.7/Mailman/Cgi/listinfo.py are copied over to
>/usr/local/mailman/Mailman/Cgi/listinfo.py, so I'm not sure why
>/usr/local/mailman/cgi-bin/listinfo doesn't reflect them.


make compiles src/listinfo.c into src/listinfo. make install copies
src/listinfo to /usr/local/mailman/cgi-bin/listinfo. This is just the
wrapper that checks for proper group before invoking
/usr/local/mailman/Mailman/Cgi/listinfo.py which is the python script
that actually does the work.

-- 
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=show&file=faq01.027.htp


Re: [Mailman-Users] There currently are no publicly-advertised Mailmanmailing lists

2006-03-17 Thread Mark Sapiro
Travis Derouin wrote:
>
>It'd probably be worthwhile for me to debug this a bit. I notice that
>any edits I make to /tmp/mailman-2.1.7/Mailman/Cgi/listinfo.py don't
>show up in src/listinfo when I do a make clean, make , even when I
>introduce syntax errors.


To move python from the unpack/build directory to the installation
directory, you do

make install

but as rich mentions in another post, just edit the Python in the
install directory and don't bother with make at all.


>Can you let me know how I can introduce some
>debugging statements to get some more info on this problem? I can look
>at the problem creating lists through the web too while I'm at it.


I suspect this is all going to turn out to be a web browser issue.

Here's what I'd look at first.

Check the host name in the heading of the listinfo page. I.e., hostname
in "hostname Mailing lists'. Is this the same as the URL hostname.

Then maybe try this patch which will write some stuff to a Mailman log
named 'debug'.

--- Mailman/Cgi/listinfo.py 2005-08-26 19:40:15.0 -0700
+++ Mailman/Cgi/listinfo.py 2006-03-17 09:27:43.71875 -0800
@@ -65,6 +65,7 @@
 def listinfo_overview(msg=''):
 # Present the general listinfo overview
 hostname = Utils.get_domain()
+syslog('debug','Hostname from get_domain() = %s', hostname)
 # Set up the document and assign it the correct language.  The
only one we
 # know about at the moment is the server's default.
 doc = Document()
@@ -85,6 +86,8 @@

 for name in listnames:
 mlist = MailList.MailList(name, lock=0)
+syslog('debug', 'listname = %s; web_page_url= %s',
+   name, mlist.web_page_url)
 if mlist.advertised:
 if mm_cfg.VIRTUAL_HOST_OVERVIEW and \
mlist.web_page_url.find(hostname) == -1:


-- 
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=show&file=faq01.027.htp


Re: [Mailman-Users] There currently are no publicly-advertisedMailmanmailing lists

2006-03-17 Thread Travis Derouin
Yep, I tried that. I even removed
/tmp/mailman-2.1.7Mailman/Cgi/listinfo.py and did a `make clean` which
deleted src/listinfo, but when i did a `make`, src/listinfo
reappeared, even though listinfo.py was deleted. So I must be missing
something somewhere.

When I do a `make install` the changes I put in
/tmp/mailman-2.1.7/Mailman/Cgi/listinfo.py are copied over to
/usr/local/mailman/Mailman/Cgi/listinfo.py, so I'm not sure why
/usr/local/mailman/cgi-bin/listinfo doesn't reflect them.

I did run check_perms, no errors found.

Travis


On 3/17/06, Kucera, Rich <[EMAIL PROTECTED]> wrote:
> > when I do a make clean, make ,...
> > how I can introduce some debugging statements
>
> Didn't know we had to make...can't you just edit *.py in place,  and it'll
> automatically compile to .pyc and use you changes?  That's what I do.
>
> Fix_url would've been my first guess,  but I guess you did that.
>
> Check_perms?
>
> HTH,
> -Rich
>
>
--
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=show&file=faq01.027.htp


Re: [Mailman-Users] There currently are no publicly-advertisedMailmanmailing lists

2006-03-17 Thread Kucera, Rich
> when I do a make clean, make ,... 
> how I can introduce some debugging statements 

Didn't know we had to make...can't you just edit *.py in place,  and it'll
automatically compile to .pyc and use you changes?  That's what I do.

Fix_url would've been my first guess,  but I guess you did that.

Check_perms?

HTH,
-Rich

--
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=show&file=faq01.027.htp


Re: [Mailman-Users] There currently are no publicly-advertised Mailmanmailing lists

2006-03-17 Thread Travis Derouin
Hey Mark,

> Did you run fix_url on your existing lists?

Yep, sure did.

> First run bin/dumpdb on a lists/listname/config.pck and see what the
> value of the web_page_url attribute is.
>
> Then, if the list is advertised and the host portion of the url you are
> accessing the listinfo page with matches the host portion of
> web_page_url, the list should appear on the listinfo overview.

It's the same, adverised is also set to 1.

It'd probably be worthwhile for me to debug this a bit. I notice that
any edits I make to /tmp/mailman-2.1.7/Mailman/Cgi/listinfo.py don't
show up in src/listinfo when I do a make clean, make , even when I
introduce syntax errors. Can you let me know how I can introduce some
debugging statements to get some more info on this problem? I can look
at the problem creating lists through the web too while I'm at it.

Thanks,
Travis
--
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=show&file=faq01.027.htp