Re: [Mailman-Users] How Post to Moderated List w/o Approval?

2012-09-26 Thread Mark Sapiro
Toni Mueller wrote:
>
>Any idea about how to have the owner send a message (sender address
>should be list-ow...@doma.in) without needing approval, or also handling
>approval automatically?


See the section "How to post to the announcement list:" in the FAQ at
 and/or see the FAQ at
.

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] How Post to Moderated List w/o Approval?

2012-09-26 Thread Toni Mueller

Hi,

I would like to "post" to an announce-only list, but not need to ack
every post via the mailman web GUI. Also, the owner of the list isn't
subscribed to it.

So far, I have switched on emergency moderation, in addition to every
other moderation switch, to prevent users from posting to the list, but
when trying to post, eg. by using "inject" on the Mailman server, the
message still ends up in moderation (acknowleding the messages is likely
too complex for the owner to handle).

Any idea about how to have the owner send a message (sender address
should be list-ow...@doma.in) without needing approval, or also handling
approval automatically?

TIA!


Kind regards,
--Toni++

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Which file contains "Contact the Mailman siteadministrator"?

2012-09-26 Thread Mark Sapiro
Ma, Yuan wrote:
>
>May I know in which file these lines " Questions? Contact the Mailman site 
>administrator at 
>mail...@lists.service.ohio-state.edu"
>  are located?



[mark@sbh16 ~]$ cd ~mailman
[mark@sbh16 mailman]$ grep -r "Contact the Mailman" .
./messages/ar/LC_MESSAGES/mailman.po:#~ "Contact the Mailman site
administrator at %(owneraddr)s."
./templates/sr/bounce.txt:Contact the Mailman site administrator at
%(owneraddr)s.
./templates/en/bounce.txt:Contact the Mailman site administrator at
%(owneraddr)s.
[mark@sbh16 mailman]$


>I used grep to search but did not find the file which contains the line 
>"Contact the Mailman site administrator at 
>mail...@lists.service.ohio-state.edu"


Because "mail...@lists.service.ohio-state.edu" doesn't appear in the
template. It is a replacement for %(owneraddr)s.

Also see the FAQ at .

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] timeout settings?

2012-09-26 Thread Mark Sapiro
Wayne Cook wrote:

>I seem to be getting a lot of "connection timeout" messages and I'd like to 
>change my time out settingsand get some advice from the list on reducing 
>the number of time outs.


Please don't hijack threads. Compost a new message to the list rather
than replying to an unrelated message.

Is this even a Mailman question? Where do these "connection timeout"
messages occur? If on a web access, it would seem to be a web server
or DNS issue. If on a connect to the MTA, a MTA issue?

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] more prune_arch errors

2012-09-26 Thread Mark Sapiro
Con Wieland wrote:

>The mbox variable changed seemed to take care of that error.


Actually, it didn't. That change was totally wrong, my bad.


>Now after running for about 4 hours I get this
>
> ./prune_arch -l mgsa-l -d 1095 -bpnv
>Traceback (most recent call last):
>  File "./prune_arch", line 191, in ?
>main()
>  File "./prune_arch", line 173, in main
>os.umask(omask)
>UnboundLocalError: local variable 'omask' referenced before assignment


I think it ran for 4 hours because the list was left locked by the
previous failure and at least part of that time, it was waiting for
the list lock to expire. I don't know how that would have happened
though because the list should have been unlocked in the finally:
clause of the try: in which the error occurred.

The above error is because of the incorrect change of line 144 from

mbox = Mailbox.Mailbox(mboxf)

to

mbox = Mailbox.mbox(mboxf)

This threw an exception because of the erroneous change.

I have changed the script again to move the

omask = os.umask(2)

line ahead of the try: finally: to protect against the above error and
to restore the

mbox = Mailbox.Mailbox(mboxf)

line.

I also added a test for an unparseable message being returned as a null
string by Mailman's Mailbox class which was the cause of the

mdate = msg['date'] and mktime_tz(parsedate_tz(msg['date']))
TypeError: string indices must be integers

exception.

The current script is at 
and .

See the FAQ at  and remove the stale locks
for the mgsa-l list.

Then, before running prune_arch again, try checking the
archives/private/mgsa-l.mbox/mgsa-l.mbox file for unescaped From_
lines with bin/cleanarch and fix any problems.

This may or may not fix the unparseable message issue, but now the
script should just report it and continue.

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] timeout settings?

2012-09-26 Thread Wayne Cook
And I'd like to know what address you claim is being spammed?  I can't find 
anything in any of my databases that contain "stonejongleux.com"

w

Wayne Cook
wc...@mycoachonline.com
http://www.mycoachonline.com/

-

I live in a world where mistakes are evil, accidents are newsworthy and being 
late is allowed once.

On Sep 26, 2012, at 6:39 PM, Larry Stone wrote:

> I'd like to suggest that no one provide Mr. Cook any assistance. Since I 
> helped answer a question of his some months ago, mycoachonline.com has been a 
> persistent spam source on my server. The most recent piece of spam from his 
> company was received 11 hours ago.
> 
> -- 
> Larry Stone
> lston...@stonejongleux.com
> 
> On Sep 26, 2012, at 1:57 PM, Wayne Cook  wrote:
> 
>> I seem to be getting a lot of "connection timeout" messages and I'd like to 
>> change my time out settingsand get some advice from the list on reducing 
>> the number of time outs.
>> 
>> I'm running Mailman 2.1.14 on OSX 10.6 client (NOT server) with MailServe 
>> for snow leopard
>> 
>> It seems like when I did this installation, there were tuning instructions I 
>> found that had information about changing time out settings, the number of 
>> threads and such, but I can't seem to find that information now and I use 
>> terminal so little that I don't want to play around and screw something up 
>> that's working fairly good.
>> 
>> thanks
>> W
>> 
>> 
>> 
>> Wayne Cook
>> wc...@mycoachonline.com
>> http://www.mycoachonline.com/
>> 
>> ---
>> 
>> I've flown faster than the speed of sound, stared down a shark while 
>> standing on the ocean floor and launched men into space.
>> Care to join me tomorrow?
>> 
>> --
>> Mailman-Users mailing list Mailman-Users@python.org
>> http://mail.python.org/mailman/listinfo/mailman-users
>> Mailman FAQ: http://wiki.list.org/x/AgA3
>> Security Policy: http://wiki.list.org/x/QIA9
>> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
>> Unsubscribe: 
>> http://mail.python.org/mailman/options/mailman-users/lstone19%40stonejongleux.com
> 
> 
> 
> 
> --
> Mailman-Users mailing list Mailman-Users@python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: 
> http://mail.python.org/mailman/options/mailman-users/wcook%40mycoachonline.com

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] timeout settings?

2012-09-26 Thread Larry Stone
I'd like to suggest that no one provide Mr. Cook any assistance. Since I helped 
answer a question of his some months ago, mycoachonline.com has been a 
persistent spam source on my server. The most recent piece of spam from his 
company was received 11 hours ago.

-- 
Larry Stone
lston...@stonejongleux.com

On Sep 26, 2012, at 1:57 PM, Wayne Cook  wrote:

> I seem to be getting a lot of "connection timeout" messages and I'd like to 
> change my time out settingsand get some advice from the list on reducing 
> the number of time outs.
> 
> I'm running Mailman 2.1.14 on OSX 10.6 client (NOT server) with MailServe for 
> snow leopard
> 
> It seems like when I did this installation, there were tuning instructions I 
> found that had information about changing time out settings, the number of 
> threads and such, but I can't seem to find that information now and I use 
> terminal so little that I don't want to play around and screw something up 
> that's working fairly good.
> 
> thanks
> W
> 
> 
> 
> Wayne Cook
> wc...@mycoachonline.com
> http://www.mycoachonline.com/
> 
> ---
> 
> I've flown faster than the speed of sound, stared down a shark while standing 
> on the ocean floor and launched men into space.
> Care to join me tomorrow?
> 
> --
> Mailman-Users mailing list Mailman-Users@python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: 
> http://mail.python.org/mailman/options/mailman-users/lstone19%40stonejongleux.com




--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] more prune_arch errors

2012-09-26 Thread Con Wieland
The mbox variable changed seemed to take care of that error. Now after running 
for about 4 hours I get this

 ./prune_arch -l mgsa-l -d 1095 -bpnv
Traceback (most recent call last):
  File "./prune_arch", line 191, in ?
main()
  File "./prune_arch", line 173, in main
os.umask(omask)
UnboundLocalError: local variable 'omask' referenced before assignment

any ideas, thanks

On Sep 26, 2012, at 8:53 AM, Mark Sapiro wrote:

> On 9/26/2012 8:27 AM, Con Wieland wrote:
>> Now it processes some but I now get:
>> 
>> ./prune_arch -l mgsa-l -d 1095 -bpnv
>> Processing mgsa-l mailbox
>> Traceback (most recent call last):
>>  File "./prune_arch", line 191, in ?
>>main()
>>  File "./prune_arch", line 156, in main
>>mdate = msg['date'] and mktime_tz(parsedate_tz(msg['date']))
>> TypeError: string indices must be integers
> 
> 
> I don't know what the issue could be. The code is doing
> 
> 
>for msg in mbox:
>msgs += 1
>mdate = msg['date'] and mktime_tz(parsedate_tz(msg['date']))
> 
> And the above error seems to be saying that msg is not a mailbox.Message
> object, but I don't know what that could be. I have made a change in the
> script changing line 144 from
> 
>mbox = Mailbox.Mailbox(mboxf)
> 
> to
> 
>mbox = Mailbox.mbox(mboxf)
> 
> The former was not strictly correct, but worked in my tests. The online
> scripts have been updated.
> 
> If this doesn't fix it, I think I'll need access to the actual mailbox
> to debug this.
> 
> 
>> My "date' command gives this format Wed Sep 26 08:21:50 PDT 2012
> 
> 
> That's not relevant to this problem.
> 
> -- 
> Mark Sapiro 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://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Which file contains "Contact the Mailman site administrator"?

2012-09-26 Thread Ma, Yuan
Hi,

In the bounced message, there are lines "Questions? Contact the Mailman site 
administrator at 
mail...@lists.service.ohio-state.edu."
 Please see the example below.


-example of bounced message which has the line 
"mail...@lists.service.ohio-state.edu".--
From: 
mailto:mail...@lists.service.ohio-state.edu>>
Date: September 24, 2012 3:20:23 PM EDT
To: 
mailto:ati-ow...@lists.service.ohio-state.edu>>
Subject: Bounce action notification

This is a Mailman mailing list bounce action notice:

List: ATI
Member: holderman...@osu.edu
Action: Subscription disabled.
Reason: Excessive or fatal bounces.



The triggering bounce notice is attached below.

Questions? Contact the Mailman site administrator at 
mail...@lists.service.ohio-state.edu.


From: mailto:postmas...@osu.edu>>
Date: September 24, 2012 3:18:05 PM EDT
To: 
mailto:ati-boun...@lists.service.ohio-state.edu>>
Subject: Undeliverable: [Ati] Renewable Energy Orientation Series

Delivery has failed to these recipients or groups:
holderman...@osu.edu
Your message wasn't delivered due to a permission or security issue. It may 
have been rejected by a moderator, the address may only accept e-mail from 
certain senders, or another restriction may be preventing delivery.
holderman...@osu.edu
Your message wasn't delivered due to a permission or security issue. It may 
have been rejected by a moderator, the address may only accept e-mail from 
certain senders, or another restriction may be preventing delivery.





Diagnostic information for administrators:
Generating server: osu.edu
holderman...@osu.edu
#550 5.7.1 The e-mail account does not exist at the organization this message 
was sent to. (NLA13) ##rfc822;holderman...@osu.edu
holderman...@osu.edu
#550 5.7.1 The e-mail account does not exist at the organization this message 
was sent to. (NLA13) ##rfc822;edwards@osu.edu
Original message headers:
...

...
--end of 
example-


I am trying to change from "Contact the Mailman site administrator at 
mail...@lists.service.ohio-state.edu"
to   "Contact the Mailman site administrator at 
smith.78...@osu.edu"

May I know in which file these lines " Questions? Contact the Mailman site 
administrator at 
mail...@lists.service.ohio-state.edu"
  are located?
I used grep to search but did not find the file which contains the line 
"Contact the Mailman site administrator at 
mail...@lists.service.ohio-state.edu"

Thank you very much in advance.

Yuan
Ohio State University

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] timeout settings?

2012-09-26 Thread Wayne Cook
I seem to be getting a lot of "connection timeout" messages and I'd like to 
change my time out settingsand get some advice from the list on reducing 
the number of time outs.

I'm running Mailman 2.1.14 on OSX 10.6 client (NOT server) with MailServe for 
snow leopard

It seems like when I did this installation, there were tuning instructions I 
found that had information about changing time out settings, the number of 
threads and such, but I can't seem to find that information now and I use 
terminal so little that I don't want to play around and screw something up 
that's working fairly good.

thanks
W



Wayne Cook
wc...@mycoachonline.com
http://www.mycoachonline.com/

---

I've flown faster than the speed of sound, stared down a shark while standing 
on the ocean floor and launched men into space.
Care to join me tomorrow?

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] more prune_arch errors

2012-09-26 Thread Mark Sapiro
On 9/26/2012 8:27 AM, Con Wieland wrote:
> Now it processes some but I now get:
> 
> ./prune_arch -l mgsa-l -d 1095 -bpnv
> Processing mgsa-l mailbox
> Traceback (most recent call last):
>   File "./prune_arch", line 191, in ?
> main()
>   File "./prune_arch", line 156, in main
> mdate = msg['date'] and mktime_tz(parsedate_tz(msg['date']))
> TypeError: string indices must be integers


I don't know what the issue could be. The code is doing


for msg in mbox:
msgs += 1
mdate = msg['date'] and mktime_tz(parsedate_tz(msg['date']))

And the above error seems to be saying that msg is not a mailbox.Message
object, but I don't know what that could be. I have made a change in the
script changing line 144 from

mbox = Mailbox.Mailbox(mboxf)

to

mbox = Mailbox.mbox(mboxf)

The former was not strictly correct, but worked in my tests. The online
scripts have been updated.

If this doesn't fix it, I think I'll need access to the actual mailbox
to debug this.


> My "date' command gives this format Wed Sep 26 08:21:50 PDT 2012


That's not relevant to this problem.

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] more prune_arch errors

2012-09-26 Thread Con Wieland
Now it processes some but I now get:

./prune_arch -l mgsa-l -d 1095 -bpnv
Processing mgsa-l mailbox
Traceback (most recent call last):
  File "./prune_arch", line 191, in ?
main()
  File "./prune_arch", line 156, in main
mdate = msg['date'] and mktime_tz(parsedate_tz(msg['date']))
TypeError: string indices must be integers


My "date' command gives this format Wed Sep 26 08:21:50 PDT 2012

con

On Sep 25, 2012, at 2:07 PM, Mark Sapiro wrote:

> Con Wieland wrote:
>> 
>> I just found this very useful looking script but am getting the following 
>> errors when I try running it.
>> 
>> ./prune_arch -l mgsa-l -d 1095 -n   
>> Traceback (most recent call last):
>> File "./prune_arch", line 191, in ?
>>   main()
>> File "./prune_arch", line 156, in main
>>   mdate = mktime_tz(parsedate_tz(msg['date']))
>> File "/usr/local/mailman/pythonlib/email/_parseaddr.py", line 140, in 
>> mktime_tz
>>   if data[9] is None:
>> TypeError: unsubscriptable object
>> 
>> Any help would be appreciated
> 
> 
> The issue is the script didn't take into account messages in the
> mailbox without Date: headers. The scripts at
>  and
>  have been
> updated.
> 
> The fix is to change line 156 from
> 
>mdate = mktime_tz(parsedate_tz(msg['date']))
> 
> to
> 
>mdate = msg['date'] and
> mktime_tz(parsedate_tz(msg['date']))
> 
> (watch out for wrapping above)
> 
> -- 
> Mark Sapiro 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://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: 
> http://mail.python.org/mailman/options/mailman-users/cwieland%40uci.edu

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org