Re: [Mailman-Users] Generating list archive from a mbox file

2008-07-03 Thread Brad Knowles

On 7/3/08, Nitin Bhadauria wrote:


 My list administrator disable list archiving by mistake from last three
 month and now he want them back.

 As we know mailman save mails in mbox formate and from that file it
 generate archive regularly.


Only if archiving is turned on.  If archiving is turned off, then the 
mbox files are not kept, and no archives are created.



 So i take all the mails that we want to upload on the list and save them
 in mbox format and generate archive manually with the help of 'bin/arch'.

 It dose work it generate archive of those three mount on the list there
 are some problem in the archive mail there attachment are not working and
 some mails lost there body and some text are unreadable.


That's normal.  When you try to take messages after they've been 
munged and re-build an mbox format raw archive to be processed by 
bin/arch, there's going to be some strange problems.  There's just no 
way around that, since the original content has been forever lost.


--
Brad Knowles [EMAIL PROTECTED]
LinkedIn Profile: http://tinyurl.com/y8kpxu
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Generating list archive from a mbox file

2008-07-03 Thread Nitin Bhadauria
Please don't say that there is no way to get the archive back because i
have to get them any how, even if i need to create whole archive manually.

But i don't want to wast that much of time. That why i am looking for an
other option.


 On 7/3/08, Nitin Bhadauria wrote:

  My list administrator disable list archiving by mistake from last three
  month and now he want them back.

  As we know mailman save mails in mbox formate and from that file it
  generate archive regularly.

 Only if archiving is turned on.  If archiving is turned off, then the
 mbox files are not kept, and no archives are created.

  So i take all the mails that we want to upload on the list and save
 them
  in mbox format and generate archive manually with the help of
 'bin/arch'.

  It dose work it generate archive of those three mount on the list there
  are some problem in the archive mail there attachment are not working
 and
  some mails lost there body and some text are unreadable.

 That's normal.  When you try to take messages after they've been
 munged and re-build an mbox format raw archive to be processed by
 bin/arch, there's going to be some strange problems.  There's just no
 way around that, since the original content has been forever lost.

 --
 Brad Knowles [EMAIL PROTECTED]
 LinkedIn Profile: http://tinyurl.com/y8kpxu


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman 2.1.11 final has been released.

2008-07-03 Thread Barry Finkel
Barry Finkel writes:

 I have not yet installed my 2.1.11 package on my test machine, but
 my records show that I had the identical messages when I built my
 2.1.9 package, which I use in production.  I am not an expert in the
 C language and what type conversions are done.  But I would not worry
 about these messages.  I do not know if the C code can be changed to
 eliminate these messages.

And Stephen J. Turnbull replied:

It is very difficult to safely eliminate these messages.  It's
probably not worth trying.

I have not looked at the current documentation.  Are these messages
documented as being harmless?
--
Barry S. Finkel
Computing and Information Systems Division
Argonne National Laboratory  Phone:+1 (630) 252-7277
9700 South Cass Avenue   Facsimile:+1 (630) 252-4601
Building 222, Room D209  Internet: [EMAIL PROTECTED]
Argonne, IL   60439-4828 IBMMAIL:  I1004994

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Generating list archive from a mbox file

2008-07-03 Thread Brad Knowles

Nitin Bhadauria wrote:


Please don't say that there is no way to get the archive back because i
have to get them any how, even if i need to create whole archive manually.


Sorry, if the archiving function was turned off, then Mailman didn't keep 
any copies of the messages in question and there would be nothing to restore.



But i don't want to wast that much of time. That why i am looking for an
other option.


If you can find someone else who has a complete copy of all the messages in 
question, and they can convert that into a 7th edition mbox format file, 
the site admin can then import that with bin/arch and restore that part of 
the archive.


Otherwise, I don't think there's any other solution to your problem.

--
Brad Knowles [EMAIL PROTECTED]
LinkedIn Profile: http://tinyurl.com/y8kpxu
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Generating list archive from a mbox file

2008-07-03 Thread Mark Sapiro
Nitin Bhadauria wrote:

Please don't say that there is no way to get the archive back because i
have to get them any how, even if i need to create whole archive manually.

But i don't want to wast that much of time. That why i am looking for an
other option.


As Brad said, with list archiving turned off, Mailman doesn't
permanently save the messages anywhere. Mailman doesn't have them,
except for a possible few that might be in
lists/listname/digest.mbox awaiting the next digest.

So, first you need to get the messages to be archived. If you are
really lucky, perhaps some list recipient has saved all the lost posts
in a single mailbox/mail folder already.

In any case, you need to get all the messages with as close as possible
to the original headers and mime structure, and get them in a single
*nix mbox format file.

Then, check the From separators and the possible presence of unescaped
From_ lines in message bodies with Mailman's bin/cleanarch. Then,
after you're satisfied you have a good mbox containing all the missing
messages, you can add them to the archive with

  bin/arch listname /path/to/mbox

You should also stop mailman and append the mbox to
archives/private/listname.mbox/listname.mbox so if you ever need to
use that file, it will be complete.

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Bounce Message, ReturnPath/ErrorsTo issue

2008-07-03 Thread Michael Kabot
Mark,

My apologies, I should have noted that 
 - I have Bounce Processing turned off
 - I have the -bounces address forwarding to the -owner address.  With
Bounce Processing off I still needed bounce messages to go back to the list
owner
 |/var/qmail/bin/preline /var/qmail/bin/mm_wrapper
/usr/lib/mailman/mail/mailman
   owner [LISTNAME]


| -Original Message-
| From: Mark Sapiro [mailto:[EMAIL PROTECTED]
| Sent: Thursday, July 03, 2008 12:45 AM
| To: [EMAIL PROTECTED]; mailman-users@python.org
| Subject: Re: [Mailman-Users] Bounce Message, ReturnPath/ErrorsTo issue
| 
| Michael Kabotwrote:
| 
| Configuration
| - CentOS 5 64 bit
| - Mailman 2.1.9
| - Qmail with Plesk 8.3 mods
| 
| I have an interesting bounce issue occurring.
| - Email is sent to a Mailman List
| - List sends to each address
| - One of the addresses bounces
| - The bounce message ends with the right FROM and TO headers, but the
| wrong
| RETURN-PATH and ERRORS-TO headers.
| 
| Is this a Mailman or Qmail issue?
| 
| Here is the bounce message
| 
| --
| Return-Path: [EMAIL PROTECTED]
| Received: (qmail 28263 invoked from network); 2 Jul 2008 14:46:36 -
| 0400
| Received: from localhost (HELO [MAIL.RIGHTDOMAIN.COM]) (127.0.0.1)
|   by localhost with SMTP; 2 Jul 2008 14:46:36 -0400
| 
| 
| It looks like below here up to my next comment are the actual bounce
| notice headers with Return-Path:  indicating a null envelope from
| which should be the case for a normal bounce.
| 
| The headers above here look like Mailman received this bounce and
| resent it to a list owner. When sending to a list owner, Mailman sets
| the envelope from the site list (mailman) -bounces address. Is
| [WRONGDOMAIN.COM] the domain of the site list?

Neither [RIGHTDOMAIN.COM] or [WRONGDOMAIN.COM] are the domain of the
'mailman' site list.  [WRONGDOMAIN.COM] is coincidentally the last
add_virtualhost line of my config file.

Where in the code are these being added to the -owner address?

| 
| Return-Path: 
| Delivered-To: [EMAIL PROTECTED]
| Received: (qmail 28252 invoked for bounce); 2 Jul 2008 14:46:34 -0400
| Date: 2 Jul 2008 14:46:34 -0400
| From: [EMAIL PROTECTED]
| To: [EMAIL PROTECTED]
| Subject: failure notice
| 
| 
| And the header below may have also been added by Mailman in resending.
| 
| 
| Errors-To: [EMAIL PROTECTED]
| 
| 
| 
| The thing that's strange in all the above is that Mailman (at least
| standard GNU Mailman) doesn't redirect bounces like this. It sends a
| totally new message to the list owner with the original bounce
| attached.
| 
| Also, assuming [BADEMAIL ADDRESS]: in the notice was enclosed in  as
| in [EMAIL PROTECTED]:, it would not have been an unrecognized bounce
| in 2.1.9.
| 
| Is this Mailman 2.1.9 installed from our distribution, or is it a Plesk
| or other package?

I think the modification of -bounces to -owner and Bounce Processing turned
off would explain the format above.


  
In Service,
 
Michael Kabot
President - SOAR
[EMAIL PROTECTED]

 



--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman group on LinkedIn

2008-07-03 Thread Brad Knowles

David Gibbs wrote:


On a lark, I created a Mailman group on LinkedIn.


That's fine for an unofficial group, but did you contact the maintainers of 
the Mailman project to get approval to use the graphic?  I'll stay out of 
that discussion myself, but you should at least get a confirmation from 
Barry Warsaw or someone else in a position of authority on the project that 
it's okay for you to use this graphic.


If you would like to join the group, visit 
http://www.linkedin.com/e/gis/134598/181E8C14C43E.


The Official Mailman group for LinkedIn is at 
http://www.linkedin.com/e/gis/134678/7C9AFD40B231.  As far as I'm 
concerned, you're welcome to keep your unofficial group if you like, but 
this one will be maintained by me and others who provide official support 
for the Mailman project.


If we find it necessary, I'll create additional groups for Mailman-users, 
Mailman-developers, etc


--
Brad Knowles [EMAIL PROTECTED]
Member of the Python.org Postmaster Team  Co-Moderator of the
mailman-users and mailman-developers mailing lists
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman group on LinkedIn

2008-07-03 Thread Barry Warsaw

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Jul 3, 2008, at 10:52 AM, Brad Knowles wrote:


David Gibbs wrote:


On a lark, I created a Mailman group on LinkedIn.


That's fine for an unofficial group, but did you contact the  
maintainers of the Mailman project to get approval to use the  
graphic?  I'll stay out of that discussion myself, but you should at  
least get a confirmation from Barry Warsaw or someone else in a  
position of authority on the project that it's okay for you to use  
this graphic.


Technically I believe the logos are GPLd and owned by the FSF, so as  
long as their use honors the license, it should be allowed.  To the  
extent that my blessing means anything :) I think it's fine as long as  
it's used in a positive spirit to the betterment of the Mailman  
community.


As long as there are useful distinctions between the groups, I think  
it's fine to have more than one.  David's appears to be for folks who  
are administering Mailman lists.


- -Barry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)

iQCVAwUBSGzrU3EjvBPtnXfVAQK4+AP/XIn1XxW8fdgEpQsnnipc9oyEyiGTtkf4
uK6wxCcbmXbSldd86EBvKlGhBQd6tBiLIWPc9u/oM1sq0CyscxUfnzI03OoPZYQE
JhAi3FHDg8C28GXfSQCy0QEnpRdrV3g1EtXdOqU/JDHuhb93tga+r1OAhU74F6jF
u2ZLSsYVhdo=
=i0gv
-END PGP SIGNATURE-
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Bounce Message, ReturnPath/ErrorsTo issue

2008-07-03 Thread Mark Sapiro
Michael Kabot wrote:

My apologies, I should have noted that 
 - I have Bounce Processing turned off
 - I have the -bounces address forwarding to the -owner address.  With
Bounce Processing off I still needed bounce messages to go back to the list
owner
 |/var/qmail/bin/preline /var/qmail/bin/mm_wrapper
/usr/lib/mailman/mail/mailman
   owner [LISTNAME]

snip

Neither [RIGHTDOMAIN.COM] or [WRONGDOMAIN.COM] are the domain of the
'mailman' site list.  [WRONGDOMAIN.COM] is coincidentally the last
add_virtualhost line of my config file.

Where in the code are these being added to the -owner address?


The scripts/owner script which receives mail addressed to -owner sets

   envsender=Utils.get_site_email(extra='bounces')

(this is in Mailman/Utils.py). This in turn gets the domain part of the
address in a complex way (see Utils.get_domain()), but in this case,
it boils down to

  - get DEFAULT_URL_HOST
  - look up the corresponding email host in mm_cfg.VIRTUAL_HOSTS
(the dictionary built by add_virtualhost())

So it looks like you probably have more that one add_virtualhost()
entry with the same url_host argument (either DEFAULT_URL_HOST or its
literal value.

This doesn't work. VIRTUAL_HOSTS is a Python dictionary (hash table)
with key = the first add_virtualhost() argument and value = the second.

So, if you have something equivalent to

add_virtualhost('www.example.com', 'example.com')
add_virtualhost('www.example.com', 'example.net')

the second entry replaces the first.

All url_hosts and all email hosts in

add_virtualhost(url_host, email_host)

lines need to be unique for it to work as intended.

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman stats

2008-07-03 Thread [EMAIL PROTECTED]
Sort of related question-- is there a page (pages) that mailman 
maintains which shows the number of mails received/send over the last N 
days (maybe a nice graph showing the mail volume)?


Thanks


Jesús Rivas wrote:

Hi, i'm performing some tests with Mailman and Postfix over Centos5.
Does some body know how many messages per hour can be sent?
I´ll appreciate if some one could tell me  what  hardware and bandwith 
are using and your stats?

What do I need to improve it?

Thanks in advance.

Jesus Alonso Rivas

--
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/bergenpeak%40comcast.net 



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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


[Mailman-Users] Confirmation-less subscription: avoiding results of your email commands mail

2008-07-03 Thread Thomas Kappler
Hello list,

I'm another one in the long row of people striving for confirmation-less
subscription. I've read the FAQ and am aware that mailman is not a CRM,
and we'd be totally content with it if subscribing would work without
requiring any actions by our users.

We have set ALLOW_OPEN_SUBSCRIBE and confirmation: none, and now the
problem is the The results of your email commands mail. I've found the
advice here:
http://www.mail-archive.com/mailman-users@python.org/msg44391.html
but the result of the modification is just that the results... mail
changes to saying No commands were found in this message..

We run mailman 2.1.9.

Any updated advice on how to avoid the mail altogether?

Thanks,
Thomas Kappler



--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman stats

2008-07-03 Thread Brad Knowles

[EMAIL PROTECTED] wrote:

Sort of related question-- is there a page (pages) that mailman 
maintains which shows the number of mails received/send over the last N 
days (maybe a nice graph showing the mail volume)?


Not really.  See Mailman FAQ 1.30 at http://wiki.list.org/x/1oA9.

--
Brad Knowles [EMAIL PROTECTED]
Member of the Python.org Postmaster Team  Co-Moderator of the
mailman-users and mailman-developers mailing lists
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman stats

2008-07-03 Thread Brad Knowles

Jesús Rivas wrote:


Hi, i'm performing some tests with Mailman and Postfix over Centos5.
Does some body know how many messages per hour can be sent?
I´ll appreciate if some one could tell me  what  hardware and bandwith 
are using and your stats?

What do I need to improve it?


Go to the Mailman FAQ at http://wiki.list.org/x/AgA3 and search for 
performance.  Also pay attention to FAQ 1.15 at http://wiki.list.org/x/NoA9.


--
Brad Knowles [EMAIL PROTECTED]
LinkedIn Profile: http://tinyurl.com/y8kpxu
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Confirmation-less subscription: avoiding results of your email commands mail

2008-07-03 Thread Brad Knowles

Thomas Kappler wrote:


I'm another one in the long row of people striving for confirmation-less
subscription.


We don't want to make this process too easy.  That would make it trivial to 
abuse Mailman into a spamming tool, and I think that's something we actively 
want to avoid.



   I've read the FAQ and am aware that mailman is not a CRM,
and we'd be totally content with it if subscribing would work without
requiring any actions by our users.


You can always use the mass subscribe feature, and just subscribe the 
users without inviting them.  Of course, then you are getting a lot closer 
to that line where you're spamming those people as opposed to doing a proper 
double-opt-in mailing list.


--
Brad Knowles [EMAIL PROTECTED]
LinkedIn Profile: http://tinyurl.com/y8kpxu
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman group on LinkedIn

2008-07-03 Thread David Gibbs

Brad Knowles wrote:
That's fine for an unofficial group, but did you contact the maintainers 
of the Mailman project to get approval to use the graphic?  


Well, I didn't specifically ask permission ... but I kind of assumed 
that, since Mailman is GPL, the logo fell under the same license.


The Official Mailman group for LinkedIn is at 
http://www.linkedin.com/e/gis/134678/7C9AFD40B231.  As far as I'm 
concerned, you're welcome to keep your unofficial group if you like, but 
this one will be maintained by me and others who provide official 
support for the Mailman project.


If I knew the group existed, I would not have created mine.  LinkedIn 
really needs to get their act together and create a group directory or 
search function.


I assumed that such a group did not exist because I found Barry's 
profile on LinkedIn and didn't see such a group reference on his profile.


david
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman group on LinkedIn

2008-07-03 Thread Barry Warsaw

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Jul 3, 2008, at 11:40 AM, David Gibbs wrote:


Brad Knowles wrote:
That's fine for an unofficial group, but did you contact the  
maintainers of the Mailman project to get approval to use the  
graphic?


Well, I didn't specifically ask permission ... but I kind of assumed  
that, since Mailman is GPL, the logo fell under the same license.


It is.  The FSF owns it.

The Official Mailman group for LinkedIn is at http://www.linkedin.com/e/gis/134678/7C9AFD40B231 
.  As far as I'm concerned, you're welcome to keep your unofficial  
group if you like, but this one will be maintained by me and others  
who provide official support for the Mailman project.


If I knew the group existed, I would not have created mine.   
LinkedIn really needs to get their act together and create a group  
directory or search function.


I assumed that such a group did not exist because I found Barry's  
profile on LinkedIn and didn't see such a group reference on his  
profile.


I don't know, I'm one of those near-dinosaurs that kind of  
participates in social networks when hit in the face by them, but  
otherwise to paraphrase a wise man: I fear change. :)


- -Barry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)

iQCVAwUBSGz0jXEjvBPtnXfVAQLyrAQAsAI4YbAKPHr4UdY3KUUtprdpNN96HFZZ
rGAWUXjyikgbvixEqeZ8IygI0A8u7YFT9cSavZlzQDWgtZJzjkUYCFCycMTrNVj+
XZFNz7vS1NPK96JTp56yCgAYrMKXGGc9tjw3K0+ALB5CE1/e/LidHCvDGQYFSXZy
lJbdkZ0Awrw=
=znwI
-END PGP SIGNATURE-
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


[Mailman-Users] multiple domains

2008-07-03 Thread [EMAIL PROTECTED]


I'm running mailman on a server that has an existing domain 
(abc.domain.com) and resolves to some IP address X.   Couple of 100 
lists running in this setup.


I've recently gotten another DNS entry defined (xyz.domain.com) that 
also resolves to IP address X.


I'd like to setup new mailman lists to use the new domain--  
[EMAIL PROTECTED]  What do I need to change to support this?  Note 
that I'd like the existing mailman lists in the near-term to continue to 
use there existing abc.domain.com domain.


Now, once mailman supports new lists in the new domain, I might want to 
convert all exiting mailman lists to use the new domain.  Is this 
easy/straightforward?  I'd like the archives to be maintained as well 
during this conversion process.


Thanks
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Bounce Message, ReturnPath/ErrorsTo issue

2008-07-03 Thread Michael Kabot
(To the list this time !)

Mark,

Thanks for the quick response and pointers to the right place in the code.

I have left Plesk managing the Mailman lists to try to keep continuity on my
server.  It looks like Plesk is not doing a good job of properly configuring
Mailman or the lists.

The following is an excerpt from my mm_cfg.py

from socket import *
try:
   fqdn = getfqdn()
except:
   fqdn = 'mm_cfg_has_unknown_host_domains'

DEFAULT_URL_HOST   = fqdn
DEFAULT_EMAIL_HOST = fqdn

add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

add_virtualhost('lists.[DOMAIN1.COM]')
add_virtualhost('lists.[DOMAIN2.COM]')
  [ADDITIONAL LINES FOR EACH OF THE HUNDREDS OF DOMAINS I HOST]

If there is no 2nd parameter to add_virtualhost, will it create one from the
1st parameter?  I checked, there are no duplicate add_virtualhost lines.

It looks like getfqdn() is where the WRONGDOMAIN.COM is coming from.

Either way, I would rather have a bounced bounce message go
[EMAIL PROTECTED] than a domain specific email address or the
mailman-bounces address.  Looks like I can affect that in the owner code
given my Mailman configuration.

Thank you for your assistance !

Mike


| -Original Message-
| From: Mark Sapiro [mailto:[EMAIL PROTECTED]
| Sent: Thursday, July 03, 2008 11:18 AM
| To: [EMAIL PROTECTED]; mailman-users@python.org
| Subject: Re: [Mailman-Users] Bounce Message, ReturnPath/ErrorsTo issue
| 
| Michael Kabot wrote:
| 
| My apologies, I should have noted that
|  - I have Bounce Processing turned off
|  - I have the -bounces address forwarding to the -owner address.  With
| Bounce Processing off I still needed bounce messages to go back to the
| list
| owner
|  |/var/qmail/bin/preline /var/qmail/bin/mm_wrapper
| /usr/lib/mailman/mail/mailman
|owner [LISTNAME]
| 
| snip
| 
| Neither [RIGHTDOMAIN.COM] or [WRONGDOMAIN.COM] are the domain of the
| 'mailman' site list.  [WRONGDOMAIN.COM] is coincidentally the last
| add_virtualhost line of my config file.
| 
| Where in the code are these being added to the -owner address?
| 
| 
| The scripts/owner script which receives mail addressed to -owner sets
| 
|envsender=Utils.get_site_email(extra='bounces')
| 
| (this is in Mailman/Utils.py). This in turn gets the domain part of the
| address in a complex way (see Utils.get_domain()), but in this case,
| it boils down to
| 
|   - get DEFAULT_URL_HOST
|   - look up the corresponding email host in mm_cfg.VIRTUAL_HOSTS
| (the dictionary built by add_virtualhost())
| 
| So it looks like you probably have more that one add_virtualhost()
| entry with the same url_host argument (either DEFAULT_URL_HOST or its
| literal value.
| 
| This doesn't work. VIRTUAL_HOSTS is a Python dictionary (hash table)
| with key = the first add_virtualhost() argument and value = the second.
| 
| So, if you have something equivalent to
| 
| add_virtualhost('www.example.com', 'example.com')
| add_virtualhost('www.example.com', 'example.net')
| 
| the second entry replaces the first.
| 
| All url_hosts and all email hosts in
| 
| add_virtualhost(url_host, email_host)
| 
| lines need to be unique for it to work as intended.
| 
| --
| 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Bounce Message, ReturnPath/ErrorsTo issue

2008-07-03 Thread Mark Sapiro
Michael Kabot wrote:

I have left Plesk managing the Mailman lists to try to keep continuity on my
server.  It looks like Plesk is not doing a good job of properly configuring
Mailman or the lists.

The following is an excerpt from my mm_cfg.py

   from socket import *
   try:
  fqdn = getfqdn()
   except:
  fqdn = 'mm_cfg_has_unknown_host_domains'

   DEFAULT_URL_HOST   = fqdn
   DEFAULT_EMAIL_HOST = fqdn

   add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

   add_virtualhost('lists.[DOMAIN1.COM]')
   add_virtualhost('lists.[DOMAIN2.COM]')
  [ADDITIONAL LINES FOR EACH OF THE HUNDREDS OF DOMAINS I HOST]

If there is no 2nd parameter to add_virtualhost, will it create one from the
1st parameter?


Yes. add_virtualhost('xxx.somedomain') is equivalent to
add_virtualhost('xxx.somedomain', 'somedomain').


It looks like getfqdn() is where the WRONGDOMAIN.COM is coming from.


It looks that way. See http://docs.python.org/lib/module-socket.html.


Either way, I would rather have a bounced bounce message go
[EMAIL PROTECTED] than a domain specific email address or the
mailman-bounces address.  Looks like I can affect that in the owner code
given my Mailman configuration.


You can set that in the scripts/owner script for messages sent directly
to or via the -owner address. This will get some but not all owner
notifications. To get the rest, you also have to look at
Mailman/Message.py. In the definition of the OwnerNotification()
class's __init__ method there is

sender = Utils.get_site_email(mlist.host_name, 'bounces')

which set's the sender similarly to the way the owner script does
except it usees the list's host_name attribute as the domain of the
mailman-bounces address.

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Bounce Message, ReturnPath/ErrorsTo issue

2008-07-03 Thread Michael Kabot
Mark,

The modification to scripts/owner will do the trick for me.

I have owner notifications turned off on all lists, so no need to modify
Message.py.

Thank again for the assistance.

Mike

| -Original Message-
| From: Mark Sapiro [mailto:[EMAIL PROTECTED]
| Sent: Thursday, July 03, 2008 12:56 PM
| To: [EMAIL PROTECTED]; mailman-users@python.org
| Subject: Re: [Mailman-Users] Bounce Message, ReturnPath/ErrorsTo issue
| 
| Michael Kabot wrote:
| 
| I have left Plesk managing the Mailman lists to try to keep continuity
| on my
| server.  It looks like Plesk is not doing a good job of properly
| configuring
| Mailman or the lists.
| 
| The following is an excerpt from my mm_cfg.py
| 
|  from socket import *
|  try:
| fqdn = getfqdn()
|  except:
| fqdn = 'mm_cfg_has_unknown_host_domains'
| 
|  DEFAULT_URL_HOST   = fqdn
|  DEFAULT_EMAIL_HOST = fqdn
| 
|  add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
| 
|  add_virtualhost('lists.[DOMAIN1.COM]')
|  add_virtualhost('lists.[DOMAIN2.COM]')
|   [ADDITIONAL LINES FOR EACH OF THE HUNDREDS OF DOMAINS I HOST]
| 
| If there is no 2nd parameter to add_virtualhost, will it create one
| from the
| 1st parameter?
| 
| 
| Yes. add_virtualhost('xxx.somedomain') is equivalent to
| add_virtualhost('xxx.somedomain', 'somedomain').
| 
| 
| It looks like getfqdn() is where the WRONGDOMAIN.COM is coming from.
| 
| 
| It looks that way. See http://docs.python.org/lib/module-socket.html.
| 
| 
| Either way, I would rather have a bounced bounce message go
| [EMAIL PROTECTED] than a domain specific email address or the
| mailman-bounces address.  Looks like I can affect that in the owner
| code
| given my Mailman configuration.
| 
| 
| You can set that in the scripts/owner script for messages sent directly
| to or via the -owner address. This will get some but not all owner
| notifications. To get the rest, you also have to look at
| Mailman/Message.py. In the definition of the OwnerNotification()
| class's __init__ method there is
| 
| sender = Utils.get_site_email(mlist.host_name, 'bounces')
| 
| which set's the sender similarly to the way the owner script does
| except it usees the list's host_name attribute as the domain of the
| mailman-bounces address.
| 
| --
| 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Apache and pipermail 403 issues

2008-07-03 Thread Robert Campbell
Thank you Mark that worked perfectly.

On Wed, Jul 2, 2008 at 7:51 PM, Mark Sapiro [EMAIL PROTECTED] wrote:

 Robert Campbell wrote:

 Currently when ever I try to get to the mailman archives for any of the
 mailing lists I revcive a 403 error.
 When I check the apache error log i see the following line:
 
 [Wed Jul 02 10:28:52 2008] [error] [client some ip] client denied by
 server configuration: var-install-location/archives/public/
 
 The Private folder is owned by what apache runs under.
 
 Also the apache config file has
 
 Alias /pipermail/ var-install-location/archives/public/
 
 Directory var-install-location
 AllowOverride   All
 Options +FollowSymLinks
 AddDefaultCharset Off


 You could try adding here

 Order allow,deny
 Allow from all


 Often, Apache configs are set up to deny access to everything and then
 selectively allow the various DocumentRoot directories. Such a
 configuration would not allow access to the var-install-location
 directory.


 /Directory


 --
 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] multiple domains

2008-07-03 Thread Terri Oda
If you just want to change the default for new lists, you'll want to  
change mm_cfg.py so that DEFAULTURLHOST and DEFAULTEMAILHOST use the  
new domain.  This will only have an effect on new lists.


When converting old lists, you'll need to change the values of those  
variables for each list you want to change.  The archives will be  
untouched by this action.


On 3-Jul-08, at 11:50 AM, [EMAIL PROTECTED] wrote:



I'm running mailman on a server that has an existing domain  
(abc.domain.com) and resolves to some IP address X.   Couple of 100  
lists running in this setup.


I've recently gotten another DNS entry defined (xyz.domain.com)  
that also resolves to IP address X.


I'd like to setup new mailman lists to use the new domain--   
[EMAIL PROTECTED]  What do I need to change to support this?   
Note that I'd like the existing mailman lists in the near-term to  
continue to use there existing abc.domain.com domain.


Now, once mailman supports new lists in the new domain, I might  
want to convert all exiting mailman lists to use the new domain.   
Is this easy/straightforward?  I'd like the archives to be  
maintained as well during this conversion process.


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


Security Policy: http://wiki.list.org/x/QIA9


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] multiple domains

2008-07-03 Thread Mark Sapiro
Terri Oda wrote:

If you just want to change the default for new lists, you'll want to  
change mm_cfg.py so that DEFAULTURLHOST and DEFAULTEMAILHOST use the  
new domain.  This will only have an effect on new lists.

When converting old lists, you'll need to change the values of those  
variables for each list you want to change.  The archives will be  
untouched by this action.


See FAQ 4.29 at http://wiki.list.org/x/gIA9 for more detail.

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Confirmation-less subscription: avoiding resultsof your email commands mail

2008-07-03 Thread Mark Sapiro
Thomas Kappler wrote:

We have set ALLOW_OPEN_SUBSCRIBE and confirmation: none, and now the
problem is the The results of your email commands mail. I've found the
advice here:
http://www.mail-archive.com/mailman-users@python.org/msg44391.html
but the result of the modification is just that the results... mail
changes to saying No commands were found in this message..

We run mailman 2.1.9.

Any updated advice on how to avoid the mail altogether?


The advice in the referenced post to modify the code in
Mailman/Commands/cmd_subscribe.py by changing the code at the very end
of the module from

else:
# Everything is a-ok
res.results.append(_('Subscription request succeeded.'))

to

else:
# Everything is a-ok
res.respond = 0

works and does what you want.

If you got a No commands were found in this message., you most likely
sent a blank message to the list-request address. You can subscribe by
sending a blank message to list-subscribe or to list-join, but if you
mail to list-request, the message must include a subscribe command in
the subject or body.

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Generating list archive from a mbox file

2008-07-03 Thread Nitin Bhadauria
Thanks Brad Knowles

and yes i do have all the mail in my mail client which i have to upload
but i don't can i make a perfect mbox file from mails.

Any suggestion.



 Nitin Bhadauria wrote:

 Please don't say that there is no way to get the archive back because i
 have to get them any how, even if i need to create whole archive
 manually.

 Sorry, if the archiving function was turned off, then Mailman didn't keep
 any copies of the messages in question and there would be nothing to
 restore.

 But i don't want to wast that much of time. That why i am looking for an
 other option.

 If you can find someone else who has a complete copy of all the messages
 in
 question, and they can convert that into a 7th edition mbox format file,
 the site admin can then import that with bin/arch and restore that part of
 the archive.

 Otherwise, I don't think there's any other solution to your problem.

 --
 Brad Knowles [EMAIL PROTECTED]
 LinkedIn Profile: http://tinyurl.com/y8kpxu


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Generating list archive from a mbox file

2008-07-03 Thread Nitin Bhadauria
Thanks Mark

I know we can find the mail in the digest folder but I lost mail of last
three month so i can't find them in the digest.

But if u can help me out to making a mbox file from the mails stored in my
mail client.




 Nitin Bhadauria wrote:

Please don't say that there is no way to get the archive back because i
have to get them any how, even if i need to create whole archive
 manually.

But i don't want to wast that much of time. That why i am looking for an
other option.


 As Brad said, with list archiving turned off, Mailman doesn't
 permanently save the messages anywhere. Mailman doesn't have them,
 except for a possible few that might be in
 lists/listname/digest.mbox awaiting the next digest.

 So, first you need to get the messages to be archived. If you are
 really lucky, perhaps some list recipient has saved all the lost posts
 in a single mailbox/mail folder already.

 In any case, you need to get all the messages with as close as possible
 to the original headers and mime structure, and get them in a single
 *nix mbox format file.

 Then, check the From separators and the possible presence of unescaped
 From_ lines in message bodies with Mailman's bin/cleanarch. Then,
 after you're satisfied you have a good mbox containing all the missing
 messages, you can add them to the archive with

   bin/arch listname /path/to/mbox

 You should also stop mailman and append the mbox to
 archives/private/listname.mbox/listname.mbox so if you ever need to
 use that file, it will be complete.

 --
 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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Generating list archive from a mbox file

2008-07-03 Thread Brad Knowles

On 7/4/08, Nitin Bhadauria wrote:


 and yes i do have all the mail in my mail client which i have to upload
 but i don't can i make a perfect mbox file from mails.

 Any suggestion.


Some mail clients can export their internal mail folder 
representation into a 7th edition mbox format.  For others, there may 
be third party tools that can do that conversion for you.


However, this would be something specific to your mail client and not 
something that we can help you with.


--
Brad Knowles [EMAIL PROTECTED]
LinkedIn Profile: http://tinyurl.com/y8kpxu
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Generating list archive from a mbox file

2008-07-03 Thread Brad Knowles

On 7/4/08, Nitin Bhadauria wrote:


 But if u can help me out to making a mbox file from the mails stored in my
 mail client.


That's a problem specific to your mail client, and there's nothing we 
can do to help you with that.  You need to go find mailing lists or 
other resources to help you answer questions regarding your mail 
client.


--
Brad Knowles [EMAIL PROTECTED]
LinkedIn Profile: http://tinyurl.com/y8kpxu
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9