[Mailman-Users] Archive search?

2006-04-26 Thread Rosenbaum, Larry M.
Is there a way for users to search the Mailman list archives
(pipermail)?

 

Larry

--
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] Archive search?

2006-04-26 Thread Mark Sapiro
Rosenbaum, Larry M. wrote:

Is there a way for users to search the Mailman list archives
(pipermail)?

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

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

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

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


Re: [Mailman-Users] Archive search?

2006-04-26 Thread Stephen R Laniel
On Wed, Apr 26, 2006 at 09:22:01AM -0400, Rosenbaum, Larry M. wrote:
 Is there a way for users to search the Mailman list archives
 (pipermail)?

FAQ:
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq01.011.htp

-- 
Stephen R. Laniel
[EMAIL PROTECTED]
Cell: +(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key


signature.asc
Description: Digital signature
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

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

Re: [Mailman-Users] error install MM on MAC OS x

2006-04-26 Thread John W. Baxter
On 4/25/06 8:43 PM, Mark Sapiro [EMAIL PROTECTED] wrote:

 You need to install the Apple Developer Tools package that is on the
 Mac OS X CDs/DVDs that came with the computer or contained the OS
 upgrade you have installed. If you don't have the CDs/DVDs, you can
 download the Developer tools from Apple, but you should have the disks.

The Developer Tools version on the Tiger DVD (the DVDs I have, at any rate)
is not the current version, but that shouldn't matter for compiling Mailman
(a task I've never attempted since I don't want to run Mailman on my Macs).

The upgrade download is smaller than the full download, if I remember
correctly (I usually set the machine to the task of downloading and go
away).

  --John


--
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] moderation bit via command line

2006-04-26 Thread Matthew Clarkson
Is there a way to set the moderation bit (on/off) for a user on a 
specific list by the command line?

The closest thing I have found is on
http://mail.python.org/pipermail/mailman-users/2005-February/042392.html
but I would like to stay away from using a python script like this if 
possible.

--
Matthew Clarkson
--
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] moderation bit via command line

2006-04-26 Thread Patrick Bogen
On 4/26/06, Matthew Clarkson [EMAIL PROTECTED] wrote:
 The closest thing I have found is on
 http://mail.python.org/pipermail/mailman-users/2005-February/042392.html
 but I would like to stay away from using a python script like this if
 possible.
If you're using Mailman, I'm afraid you're already using python scripts...


That said, I think bin/withlist is the only way to do this.

--
- 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=showamp;file=faq01.027.htp


[Mailman-Users] -owner works, -admin doesn't...

2006-04-26 Thread Kris Wilk
SHORT VERSION...sending to -owner gets delivered fine, but sending to 
-admin gets vanishes (no bounce) and tallys a bounce count against the 
owner address. What would cause this??

LONG VERSION...

BACKGROUND:

- I have an announcement-style Mailman list (let's call it LIST)
- LIST is hosted on a shared web server running cPanel
- LIST is configured to send the owner subscription notifications

THE PROBLEM:

- A few weeks ago, I stopped getting subscription notifications
- A few days later, I got a message from Mailman saying that my address 
had excessive bounces and was disabled. I had to re-enable MY OWN 
subscription.

This prompted me to test the LIST-owner and LIST-admin addresses...

- The -owner address is delivered to me just fine.
- The -admin address never delivers. No bounce msg to sender either.
- EVEN WORSE...each mail sent to -admin seems to get treated as a 
BOUNCE event against MY (owner) address!

WHAT I'VE DONE:

- I have checked my /etc/valiases/domain file and all the forwarders 
to mailman are exactly as they used to be. All looks perfect.
- I tried creating a brand new list with all default settings...same 
problem.
- I got other people from my web host to try the same on other 
servers...some work fine, and some servers have the same problem as mine.

ANY IDEAS?? I found this thread from 3 years ago which seems to be a 
similar problem, but the thread fizzled without a solution:

   http://mail.python.org/pipermail/mailman-users/2003-May/028650.html

I'm ready to pull my hair out!

Kris Wilk
ReefNet Inc.
www.reefnet.ca
--
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] No Mailman web pages appear.

2006-04-26 Thread Patrick Bogen
 In a flurry of recycled electrons, Andy wrote:
  Thanks for your reply. The admin tried everything he could and it still does
  not work. He has virtual hosts, and he suspects that perhaps Mailman cannot
  work with virtual hosts, only with proper WWW servers.
  Can you please confirm?
There's no reason this should be the case. As long as the virtual
hosts are set up to support CGI, it should work fine.

On 4/25/06, Carl Zwanzig [EMAIL PROTECTED] wrote:
 What is a virtual host v. a proper WWW server?  I have mailman and
 apache nicely doing lists for a couple of different domains on one apache
 and one mailman instance.   [Sorry, I missed the beginning of this thread.]

I assume we're talking about Apache virtual hosts, here.

--
- 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=showamp;file=faq01.027.htp


[Mailman-Users] Can someone refresh my memory?

2006-04-26 Thread Tom Ray
Our mail server crashed and we didn't have a back up of the Exim
configuration file. We had some mailman lists running and I remember
there was a command I put up at the top on the configuration file but I
can't remember what is was. Can someone refresh my memory? 

I believe it was something along the lines of
MM_LISTS=lists.list1.tld:lists.list2.tld

Am I right? I already have the MAILMAN_HOME and MAILMAN_WRAP already
set.

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] announce list creation script

2006-04-26 Thread Matthew Clarkson

I have just completed a new announcement list script.

I find that this is more complete and flexible than the current ones 
which I could find on the net.  Also, unlike all the other scripts, this 
doesn't require bash (only sh), so it should be more cross platform, and 
save people from having to install bash on systems which don't have it 
on a default install.


Thanks Patrick for steering me on the right path earlier for setting the 
moderation bit for a user.


Feel free to use it for whatever purpose if you wish to do so, also, you 
can link to it at

http://www.netera.ca/mailinglists/MakeAnnounce.sh
http://www.netera.ca/mailinglists/changemod.py

--
Matthew Clarkson
from Mailman import mm_cfg
from Mailman.Errors import NotAMemberError

def setMemberModeratedFlag (mlist, addr, mod):
mlist.setMemberOption (addr, mm_cfg.Moderate, mod)
mlist.Save()
#!/bin/sh

#-
#
#   Mailman Announce Script 
#   Apr 26 2006 - Matthew Clarkson (matt _at_ netera (dot) ca)
#
#   This script will create an announce list out of specified mailing lists
#   I have used two other scripts as a basis for this one, however, I find
#   that this is much more flexible, and easier to use after set up.
#   This script also uses sh, so you don't have to rely on a computer
#   to have bash, unlike the other scripts, which makes it a bit friendlier
#   to cross platform setups
#   
#   The reference scripts that I used are found at
#   http://mail.python.org/pipermail/mailman-users/2005-February/042392.html
#   http://mail.python.org/pipermail/mailman-users/2005-February/042392.html
#
#   This script requires one other file to operate
#   changemod.py, place this file in ~mailman/bin
#
#   In order to operate, the list must be created first, with appropriate
#   settings, I would recommend the following be selected
#
#   /admin/netera-announce-l/general
#   send_reminders - No
#   send_welcome_msg - No
#   send_goodbye_msg - No
#   /admin/listname/privacy/sender 
#   default_member_moderation - Yes
#   member_moderation_action - ( Reject | Discard )
#   generic_nonmember_action - Discard
#
#   This script uses the following files (I will use announce-l as my list)
#
#   announce-l -list of mailing lists in mailman
#   announce-l.extra -  list of additional email address' 
#   announce-l.allow -  list of email address' of people who can post
#   the list
#
#   The files must have the same name as the list itself, all files must 
#   be plaintext
#   
#-

# General Usage message, it exits right after this is called

usage()
{
echo 12 usage: ./MakeAnnounce filename
exit 127
}

# We must have one, and only 1 argument for this script, other wise print
# the usage mssage to the user, and exit

if [ $# -ne 1 ]; then
usage
fi

# We must get the filename directly, since we want the list name, and not
# a name like /path/to/announce-l 

filename=`basename $1`

# Make sure that there is a corresponding list for the filename, if not, print
# usage message and exit

EXISTS=`~mailman/bin/list_lists | grep -i $filename`
if [ -z $EXISTS ]; then
usage
fi

# Loop through the main file, collecting all address' from all the lists in
# the main file, and then adding them to /tmp/listname.tmp

while read -r current_line
do
# to verify that the list exists (using bin/list_lists)

EXISTS=`~mailman/bin/list_lists | grep -i $current_line | \
awk '{print $1 }'`

# if the list does not exist, print an error and continue on with the
# next line

if [ -z $EXISTS ]; then 
printf ERROR: %s does not exist\n $current_line
else

# add every address in the current list to the announce file

printf Adding %s to list\n $current_line

`~mailman/bin/list_members $current_line  \
/tmp/$filename.tmp`
fi
done  $1

# if the .extra file exists, then add every address in this file to the
# announce file

if [ -f $1.extra ]; then
while read -r current_line
do
`echo $current_line  /tmp/$filename.tmp`
done  $1.extra
fi

# sort the list alphabetically and remove duplicates.  sync_members will remove
# all duplicates, so the '-u' can be removed, although, it's easier to go
# through the text file when there are no dupes, if you ever want to do that.

cat /tmp/$filename.tmp | sort -u  /tmp/$filename.tmp.final

# add all address' in the .tmp.final file.  This also removes all address' from
# the list which are not in the .tmp.final file, output goes to /dev/null


Re: [Mailman-Users] Can someone refresh my memory?

2006-04-26 Thread John W. Baxter
On 4/26/06 12:30 PM, Tom Ray [EMAIL PROTECTED] wrote:

 Our mail server crashed and we didn't have a back up of the Exim
 configuration file. We had some mailman lists running and I remember
 there was a command I put up at the top on the configuration file but I
 can't remember what is was. Can someone refresh my memory?
 
 I believe it was something along the lines of
 MM_LISTS=lists.list1.tld:lists.list2.tld
 
 Am I right? I already have the MAILMAN_HOME and MAILMAN_WRAP already
 set.

We don't have (or need) a list of the lists in the Exim configuration.  Exim
learns that a local part refers to a list by asking the file system (with
the require_files doing the file system query and the two local_part_suffix
things doing the work of turning, say listname-join, into listname for the
lookup):

mailman_router:
  driver = accept
  require_files = MAILMAN_HOME/lists/$local_part/config.pck
  local_part_suffix_optional
  local_part_suffix = -bounces : -bounces+* : \
  -confirm+* : -join : -leave : \
  -owner : -request : -admin
  transport = mailman_transport

  --John


--
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] Can someone refresh my memory?

2006-04-26 Thread Tom Ray
Thanks, but I had already got it I was looking for

Domainlist mm_lists=lists.listone.tld

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]
 ] On Behalf Of John W. Baxter
 Sent: Wednesday, April 26, 2006 5:23 PM
 To: Mailman Users
 Subject: Re: [Mailman-Users] Can someone refresh my memory?
 
 
 On 4/26/06 12:30 PM, Tom Ray [EMAIL PROTECTED] wrote:
 
  Our mail server crashed and we didn't have a back up of the Exim 
  configuration file. We had some mailman lists running and I 
 remember 
  there was a command I put up at the top on the 
 configuration file but 
  I can't remember what is was. Can someone refresh my memory?
  
  I believe it was something along the lines of 
  MM_LISTS=lists.list1.tld:lists.list2.tld
  
  Am I right? I already have the MAILMAN_HOME and 
 MAILMAN_WRAP already 
  set.
 
 We don't have (or need) a list of the lists in the Exim 
 configuration.  Exim learns that a local part refers to a 
 list by asking the file system (with the require_files doing 
 the file system query and the two local_part_suffix things 
 doing the work of turning, say listname-join, into listname for the
 lookup):
 
 mailman_router:
   driver = accept
   require_files = MAILMAN_HOME/lists/$local_part/config.pck
   local_part_suffix_optional
   local_part_suffix = -bounces : -bounces+* : \
   -confirm+* : -join : -leave : \
   -owner : -request : -admin
   transport = mailman_transport
 
   --John
 
 
 --
 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/tom%40det
roitonline.com

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] List config files

2006-04-26 Thread Tom Kavanaugh
Hi,

I am setting up a bunch of mail lists on mailman 2.1.7 running on RedHat Ent
Linux ver 3.

For the most part, these lists have the same custom config.
They are all private lists,  non-members  can subscribe to the list, etc.

I would like to know where these individual mail list config files are
stored.
So I can just copy them over for the new lists.

Thanks
Tom
--
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] Any easy way to remove one email address from a queued message?

2006-04-26 Thread Sam Cannell
Our mail server is choking on a (syntactically incorrect) recipient
address for a message in Mailman's queue.  The message has been
delivered to some of the recipients, but Mailman keeps retrying this one
address and not continuing with the rest:

2006-04-27 09:10:18 SMTP call from localhost (hostname.removed)
[127.0.0.1] U=list dropped: too many syntax or protocol errors (last
command was rcpt TO:'[EMAIL PROTECTED]')
2006-04-27 09:25:19 SMTP call from localhost (hostname.removed)
[127.0.0.1] U=list dropped: too many syntax or protocol errors (last
command was rcpt TO:'[EMAIL PROTECTED]')

I've replaced the email address in those logs, but the invalid part is
the ''s around it.  Is there any way I can remove the invalid address
from the message to allow it to deliver to the rest of the recipients?

Thanks,

Sam


signature.asc
Description: This is a digitally signed message part
--
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] question about web archives for a very large number of lists.

2006-04-26 Thread Matt Doughty
I am currently maintaining a mailman install that has 5000+ lists, many high
volume. The
archive volume is nearly 80GB in size between the archives and mboxes for
the various
lists. Even after doing acrobatics to only archive the lists that have
changed within the
last 24hours it is extremely time consuming to rebuild the archives from the
cumulative
mbox files.

I am considering rotating the mbox daily, and only processing the the mbox
for that day.
This would mean using the arch without --wipe. My question is, what pitfalls
do I need to
lookout for with this approach?

thanks,
--
--Matt
--
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] -owner works, -admin doesn't...

2006-04-26 Thread Mark Sapiro
Kris Wilk wrote:

SHORT VERSION...sending to -owner gets delivered fine, but sending to 
-admin gets vanishes (no bounce) and tallys a bounce count against the 
owner address. What would cause this??


Short answer... The -admin address is a synonym for the -bounces
address.


LONG VERSION...

- A few weeks ago, I stopped getting subscription notifications


I don't know what would cause this since Mailman sends these to -owner.
Mailman never sends to -admin. (I have an idea - see below)


- A few days later, I got a message from Mailman saying that my address 
had excessive bounces and was disabled. I had to re-enable MY OWN 
subscription.


I actually think there is or was a problem with delivery to your
address and your address is or was actually bouncing.


This prompted me to test the LIST-owner and LIST-admin addresses...

- The -owner address is delivered to me just fine.
- The -admin address never delivers. No bounce msg to sender either.
- EVEN WORSE...each mail sent to -admin seems to get treated as a 
BOUNCE event against MY (owner) address!


This should not be the case. Unless you specifically crafted the
message to look like a DSN or other actual bounce notification, mail
to the -admin address should be treated as an unrecognized bounce and
forwarded to the owner as such.

This leads me to think as above that at least some mail from mailman to
you (like an unrecognized bounce notice or a subscription notice) is
actually bouncing and it is this secondary bounce that is being
registered.


WHAT I'VE DONE:
snip
ANY IDEAS??


In Mailman 2.0, bounces were sent to the -admin address which was the
owner. There was no automated bounce processing. In Mailman 2.1,
automated bounce processing was introduced with bounces returned to
the -bounces address. The contact the admin address was made the
-owner address. The -admin address was deprecated but retained as a
synonym for the -bounces address to handle transition bounces.

Mailman never sends anything to or from the -admin address. Mail
received at the -admin address is not scored as a bounce unless it is
a recognized bounce format. Arbitrary test messages you send to -admin
will be unrecognized bounces and if the option is set, will be
forwarded to the -owner address and then to the actual owner. I think
in your case, it is this unrecognized bounce notification that is in
fact bouncing and scoring a bounce for you.

I do not think your issue has anything to do with the handling of mail
to -admin. I think some mail (notifications) from mailman to you are
actually bouncing and this is what started a few weeks ago.

Did you start or change the way you reject spam? If you have spam
filtering, try white listing the -bounces address so notices from
list-bounces will get through.

-- 
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] Any easy way to remove one email address from aqueued message?

2006-04-26 Thread Mark Sapiro
Sam Cannell wrote:

Our mail server is choking on a (syntactically incorrect) recipient
address for a message in Mailman's queue.  The message has been
delivered to some of the recipients, but Mailman keeps retrying this one
address and not continuing with the rest:


Presumably, you are asking about removing this address from the queued
message and not from the list. If you haven't removed it from the list
and are having difficulty doing so, see
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.013.htp.

Step one. The message is queued between retries in qfiles/retry. There
is probably only the one entry, but if you need to check for sure, use
bin/dumpdb or bin/show_qfiles to look at entries.

Step two. Move the queue entries with the bad address out of the
qfiles/ heierarchy.

Step three. The hard way. If you are proficient with Python and
Mailman, use bin/withlist to start an interactive session with the
list. Load the message and the metadata from the queue entry .pck
pickle, delete the bad address from the recips list in the metadata
and then either call Mailman.Handlers.SMTPDirect.process(mlist, msg,
msgdata) or repickle the message and metadata in a .pck file and put
it in the out queue or the retry queue.

Step three. The Easy way. Use bin/dumpdb or bin/show_qfiles to extract
the message text from the queue entry or get it from the archive or
the digest or the lists/listname/digest.mbox file and repost it to
the list (maybe using bin/inject) with an apology to those who receive
it twice.

-- 
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] -owner works, -admin doesn't...

2006-04-26 Thread Mark Sapiro
Kris Wilk wrote:

Interesting idea...all I know for sure is that no matter what address I 
use as the owner (I've also tried setting it to an off-site gmail 
account), test mails of any format sent to -admin do not get to the owner.


Mail sent to -admin doesn't go to the owner directly. It only goes in
an unrecognized bounce notice if
bounce_unrecognized_goes_to_list_owner is yes.

Check Mailman's bounce log (if you can). When you send to -admin there
should be an entry

  bounce message w/no discernable addresses: message-id

and a forwarding unrecognized entry.

Then if this is followed by a bounce scored for you or a 'already
scored a bounce' for you, this is the owner notification that bounced.
If you then turn off notifying the owner on unrecognized bounces, and
you get the first message in the log, but not the second, you can be
sure it is the owner notice that was bouncing. (You may need to wait
for a processing n queued bounces) message before seeing the score
messages.)

Yet sending directly to -owner works just dandy.

What's even more weird is that if subscribe notifications go to 
-owner, how would they bounce and my test messages to -owner not?


They have different From: headers and different content. If it's
filtering, maybe the From: in the case of your messages is white
listed and the listname-owner that the notices are From: is not.

But you say, the messages don't get to even an owner with a gmail
address, so any filtering would have to be applied by the Mailman host
at the outgoing SMTP level to be the cause of this issue.

-- 
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] Any easy way to remove one email address from aqueued message?

2006-04-26 Thread Sam Cannell
On Wed, 2006-04-26 at 18:36 -0700, Mark Sapiro wrote:
 Sam Cannell wrote:
 
 Our mail server is choking on a (syntactically incorrect) recipient
 address for a message in Mailman's queue.  The message has been

 Step three. The hard way. If you are proficient with Python and
 Mailman, use bin/withlist to start an interactive session with the
 list. Load the message and the metadata from the queue entry .pck
 pickle, delete the bad address from the recips list in the metadata
 and then either call Mailman.Handlers.SMTPDirect.process(mlist, msg,
 msgdata) or repickle the message and metadata in a .pck file and put
 it in the out queue or the retry queue.

I'd prefer to do it this way, however I haven't really worked much with
that side of mailman.  I've looked around the mailman site for
information about the classes and functions I have access to through
withlist, but haven't had a lot of luck.  Is there any documentation
like this online?

Thanks,

Sam


signature.asc
Description: This is a digitally signed message part
--
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] Any easy way to remove one email address fromaqueued message?

2006-04-26 Thread Mark Sapiro
Sam Cannell wrote:

I'd prefer to do it this way, however I haven't really worked much with
that side of mailman.  I've looked around the mailman site for
information about the classes and functions I have access to through
withlist, but haven't had a lot of luck.  Is there any documentation
like this online?


You want to do this under withlist just to provide the proper
environment for the unpickling. In my previous message I suggested
calling the process() function in SMTPDirect.py as a posibility, but I
think that may not work because SMTPDirect expects to be called from
OutgoingRunner. Anyway, I did a little test as follows:

[EMAIL PROTECTED] ~]$ bin/withlist list1
Loading list list1 (unlocked)
The variable `m' is the list1 MailList instance
 import pickle
 fp = open('path/to/queue/entry.pck','rb')
 msg = pickle.load(fp)
 msgdata = pickle.load(fp)
 fp.close()
 msgdata['recips']
['[EMAIL PROTECTED]']

You may or may not want to do this as the list may be large

At this point you probably want to do something like

r = msgdata['recips']
del r[r.index('[EMAIL PROTECTED]')]
msgdata['recips'] = r

Then write it to a new pickle:

 fp = open('path/to/new/entry.pck','wb')
 pickle.dump(msg, fp)
 pickle.dump(msgdata, fp)
 fp.close()
(control-D here to quit)
Finalizing
[EMAIL PROTECTED] ~]$

At this point, you may want to check with show_qfiles or dumpdb to see
that the new entry looks right. You could diff the outputs of dumpdb
applied to both pickle files to see that only the recips list changed.

Ultimately, you want to give the new file the same name as the old (the
name consists of a time and a hash and should be the right format),
and then move it to the out queue and Mailman will do the rest.

-- 
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] Any easy way to remove one email address fromaqueued message?

2006-04-26 Thread Sam Cannell
On Wed, 2006-04-26 at 21:03 -0700, Mark Sapiro wrote:
 Ultimately, you want to give the new file the same name as the old
(the
 name consists of a time and a hash and should be the right format),
 and then move it to the out queue and Mailman will do the rest.

Fantastic .. I'll have a play around with that.  Thanks so much for your
help!

Sam


signature.asc
Description: This is a digitally signed message part
--
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] mailing list disappear when press save

2006-04-26 Thread Celes Victoria
hello there...
i got same problem with
http://lists.apple.com/archives/macos-x-server/2004/Jan/msg01683.html

on my /usr/share/mailman/Mailman/mm_cfg.py
DEFAULT_EMAIL_HOST = 'bemicom'
DEFAULT_URL_HOST = 'bemicom'

the administrator = bemicom
administrator email = [EMAIL PROTECTED]
user email = [EMAIL PROTECTED]

when i checked list of enable mailing lists.. other
menu shows up ..
i don't understand ..on list password entry...
i've search documents..to solve it but it's not match
to solve
pls tell me how to solve it.. show me the simple way
or giving me a little example ..
thank you..



__ 
Do you Yahoo!?
Yahoo! Movies - Search movie info and celeb profiles and photos.
http://sg.movies.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=showamp;file=faq01.027.htp


[Mailman-Users] Can mm_cfg.py use includes?

2006-04-26 Thread simba
 Greetings...  I'm installing a new virtual mail server using Debian
Sarge, PostgreSQL, Postfix, Dovecot, Mailman, and PostfixAdmin.  I'm
trying to automate/tie as much of the administrative configuration
into the PostfixAdmin web interface  PostgreSQL database as
possible.  The only thing in the entire setup that doesn't have
direct query access to the SQL database is Mailman.  What I want to
do is create an hourly cron job to run a script which pulls the names
of the virtual domains from the database and creates the necessary
addvirtualhost('lists.%s', 'lists.%s') configuration items in
mm_cfg.py.  If I end up needing to use a new domain for mailing lists
more quickly than an hour, I can just run the script manually.

 I figure that the easiest way to do that would be to have the script
put those configuration items in a separate file and just use
something like Apache's Include directive to read it into the
configuration.

 I'm not terribly familiar with Python programming, and the only thing
I can find that's similar to what I want to do is the import
command.  It's not working like I'd hoped because when I add a from
vhosts_cfg import * to mm_cfg.py, the Mailman web scripts just come
back with We've found a bug! errors and nothing shows up in
/var/log/mailman/error.  I did remember to create an
/etc/mailman/vhosts_cfg.py test file with correct addvirtualhost()
usage syntax and made a symlink to it in /var/lib/mailman/Mailman, so
it shouldn't be a matter of a missing file.

 I'm not sure what I'm missing or even if this is the best way to
accomplish the task, and rather than go through the time-consuming
task of learning the semantics of another programming languate, I
figured I'd ask the experts.  :)  If anyone knows of a good way to do
this, I'd greatly appreciate a heads-up.  If this ends up being some
sort of informal feature request to be included in the next latest
and greatest version, that'd be cool too.  Thanks in advance for any
help offered!

--

Scott 'Simba' Garron

--
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] Can mm_cfg.py use includes?

2006-04-26 Thread Mark Sapiro
[EMAIL PROTECTED] wrote:

 I'm not terribly familiar with Python programming, and the only thing
I can find that's similar to what I want to do is the import
command.  It's not working like I'd hoped because when I add a from
vhosts_cfg import * to mm_cfg.py, the Mailman web scripts just come
back with We've found a bug! errors and nothing shows up in
/var/log/mailman/error.  I did remember to create an
/etc/mailman/vhosts_cfg.py test file with correct addvirtualhost()
usage syntax and made a symlink to it in /var/lib/mailman/Mailman, so
it shouldn't be a matter of a missing file.


import is not include

You can't just put an add_virtualhost('a','b') line in a file and
import it into mm_cfg.py, because 'add_virtualhost' is undefined in
the file you're importing.

You don't get an error log entry because the traceback logging in
scripts/driver does this

try:
from Mailman.mm_cfg import VERSION
except ImportError:
VERSION = 'lt;undeterminedgt;'

but when you have syntax or other errors occurring in the import, the
exception thrown is not ImportError and the whole thing dies right
there. You might find the error in the web server's error log.

To actually see what the problem is, do

cd  /var/lib/mailman/Mailman
python

 import mm_cfg

And you'll see the errors. This won't necessarily tell you what to do,
but it will tell you what you can't do.

-- 
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