[Mailman-Users] Prefix for subject line

2014-02-03 Thread nikos
Hello list
What will happened if i remove (leave blank) Prefix for subject line?

Thank you in advance
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Prefix for subject line

2014-02-03 Thread Mailman Admin
Hello nikos

Am 2014-02-03 09:43, schrieb nikos:

 What will happened if i remove (leave blank) Prefix for subject line?
 

You will get subjects without any prefix for that list ;-)


Kind regards,
Christian Mack
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Prefix for subject line

2014-02-03 Thread Brad Rogers
On Mon, 03 Feb 2014 10:43:27 +0200
nikos ni...@qbit.gr wrote:

Hello nikos,

What will happened if i remove (leave blank) Prefix for subject line?

There will be no prefix to add to the subject line.  This is not harmful
in any way but some people prefer, for various reasons, to have them.
Some MUAs seem to have a rather limited ability to filter messages.  A
subject prefix generally placates the users of such software.

I prefer to *not* have prefixes, although that's largely due to the fact
that, in the past, they could eat up screen real estate.  That's not such
an issue these days with nearly all monitors being of the wide screen
variety.

-- 
 Regards  _
 / )   The blindingly obvious is
/ _)radnever immediately apparent
You're only 29 got a lot to learn
Seventeen - Sex Pistols


signature.asc
Description: PGP signature
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

[Mailman-Users] Rescuing Misdirected Mail from Moderation Queue - possible?

2014-02-03 Thread Drew Tenenholz
All --

I have a problem I hope you can help me with.  I am a owner/manager of about a 
dozen interrelated lists and we've just discovered that about 50 posts which 
should have been delivered to the French-language list were actually being sent 
to the English language list.

Is it possible to actually have them sent to the correct list with their 
original date/time?

Here's the details:

-- All lists are announce-only, with approval passwords, and explicit address 
restrictions.
-- The messages incorrectly sent to the English list are being held in that 
list's moderation queue because they have the wrong password, as they should be.

I'm wondering if it is possible to somehow copy/move/duplicate the moderation 
queue of the English list into the French list, then use the moderation webpage 
to 'accept' the posts for delivery.  Since I have complete root access to the 
server running Mailman, I can do whatever I like at the file system level and 
then refresh Mailman.

So, a couple of questions about this idea:
1) If this is a feasible method, with the accepted posts come with their 
original date/time?
2) Will Mailman appropriately strip out the 'Approved:password' line when a 
message is released from the moderation queue, or will it deliver the message 
in it's entirety?
3) Do I need to temporarily update the require_explicit_address option in the 
French list, or will accepting the posts from the moderation queue override 
that preference?

Are there other ways to achieve what I'm looking to do?

Thanks in Advance,
Drew Tenenholz
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] converting an e-mail discussion to a list (with existing archive)

2014-02-03 Thread Felix
Well, I was originally going to post about a strange issue I
encountered with dates being mangled... but since I figured out the
answer on my own, I'll just post these instructions instead, in case
someone finds them useful :)

Some friends and I were e-mailing back and forth with regular e-mails,
putting everyone in the CC list, etc. and it was getting too confusing
to keep track of. We want to move the discussion topic onto a mailing
list instead.


1. Make a new blank Mailman list


2. Set yourself as the admin and the only subscriber


3. Go into Mailman's Defaults.py and change these settings:
ARCHIVER_CLOBBER_DATE_POLICY = 2
ARCHIVER_ALLOWABLE_SANE_DATE_SKEW = days(15)

Very important! If you don't change those, the archive threading will be
completely messed up. (this is the issue I was having... didn't figure
out that this setting existed until after I'd imported a hundred
e-mails... see below for how to fix it if you did that too.)


4. Turn off respond_to_post_requests on the Mailman general settings
page for the list

Very important! If you don't turn this off, everyone may get lots of
your message has been held e-mails.


5. Find an e-mail program that has a 'bounce' or 'redirect with full
headers' command (e.g. alpine, claws-mail, ...) -- this will preserve
who sent what, instead of it all coming from you


6. Start 'bounce'ing all messages related to the conversation to the
new list's posting address


7. Verify that threading and attachments are being handled correctly in
the archive


8. When you've finished creating the archive, subscribe everyone else
to the list.



If you find yourself past step 3 without having turned off date
mangling and all your older e-mails are in the wrong archive month:

- go into (Mailman)/private/listname.mbox/

- Delete Date: and convert X-Original-Date: back to Date: on the
  affected messages in (Mailman)/private/listname.mbox/listname.mbox

- move (Mailman)/private/listname/ to a backup location

- From the Mailman base directory, run 'bin/arch listname'

- move the 'attachments' subdirectory of the backed-up archive back
  into the newly generated one (If you have Mailman set to scrub
  attachments; the attachments are not kept in the mbox archive, but
  the generated links are completely preserved when re-running 'arch',
  so simply moving the old folder back into place preserves all the
  attachment links in the new archive.)


~Felix.
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Rescuing Misdirected Mail from Moderation Queue - possible?

2014-02-03 Thread Mark Sapiro
On 02/03/2014 07:01 AM, Drew Tenenholz wrote:
 
 Is it possible to actually have them sent to the correct list with their 
 original date/time?

There are at least two ways to do this. The messages are in Mailman's
data/ directory as files with names like heldmsg-LIST-nnn.ext where LIST
is the listname, nnn is a sequence number and ext is either 'pck' if
mm_cfg.HOLD_MESSAGES_AS_PICKLES is True (the default) or 'txt' if it is
False.

One way would be to extract the messages from the heldmsg-*.pck files
(or just use them as if they're .txt) and queue them to the correct
list's incoming queue with Mailman's bin/inject command. The tricky part
here is if the heldmsg-* files are pickles, extracting the message
requires a separate step, but something like

for f in `ls data/heldmsg-englishlist-*.pck; do
  bin/show_qfiles $f | bin/inject -l frenchlist
  rm $f
done

should work, or just

for f in `ls data/heldmsg-englishlist-*.msg; do
  bin/inject -l frenchlist $f
  rm $f
done

for the .msg case.

Another way is to use the script at
http://www.msapiro.net/scripts/hold_again. This requires renaming all
the heldmsg-englishlist-* files to heldmsg-frenchlist-*, while
preserving the extension an then running

 /path/to/hold_again -l frenchlist


 So, a couple of questions about this idea:
 1) If this is a feasible method, with the accepted posts come with their 
 original date/time?


Yes, with either method.


 2) Will Mailman appropriately strip out the 'Approved:password' line when a 
 message is released from the moderation queue, or will it deliver the message 
 in it's entirety?


The Approved: password will be stripped.


 3) Do I need to temporarily update the require_explicit_address option in the 
 French list, or will accepting the posts from the moderation queue override 
 that preference?


You will need to turn off require_explicit_destination or add the
english list to acceptable_aliases or the messages will be held by the
french list.

After doing either method, the admindb page for the english list will
show a bunch of Message with id nnn was lost. messages the first time
it is visited. This is harmless.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] converting an e-mail discussion to a list (with existing archive)

2014-02-03 Thread Mark Sapiro
On 2/2/14 10:14 PM, Marcel (Felix) Giannelia wrote:
 
 1. Make a new blank Mailman list
 
 
 2. Set yourself as the admin and the only subscriber
 
 
 3. Go into Mailman's Defaults.py and change these settings:
 ARCHIVER_CLOBBER_DATE_POLICY = 2
 ARCHIVER_ALLOWABLE_SANE_DATE_SKEW = days(15)
 
 Very important! If you don't change those, the archive threading will be
 completely messed up. (this is the issue I was having... didn't figure
 out that this setting existed until after I'd imported a hundred
 e-mails... see below for how to fix it if you did that too.)
 
 
 4. Turn off respond_to_post_requests on the Mailman general settings
 page for the list
 
 Very important! If you don't turn this off, everyone may get lots of
 your message has been held e-mails.
 
 
 5. Find an e-mail program that has a 'bounce' or 'redirect with full
 headers' command (e.g. alpine, claws-mail, ...) -- this will preserve
 who sent what, instead of it all coming from you
 
 
 6. Start 'bounce'ing all messages related to the conversation to the
 new list's posting address
 
 
 7. Verify that threading and attachments are being handled correctly in
 the archive
 
 
 8. When you've finished creating the archive, subscribe everyone else
 to the list.


Steps 3. through 6. could be more easily accomplished by the following:

1) Gather all the emails into a single *nix mbox format file. Depending
on your email client, this may already exist as the folder containing
the desired messages.

2) copy that mbox file to
/path/to/mailman/archives/private/listname.mbox/listname.mbox

3) run Mailman's
bin/arch --wipe listname

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, CaliforniaBetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] converting an e-mail discussion to a list (with existing archive)

2014-02-03 Thread Larry Kuenning

On 2/3/2014 3:11 PM, Mark Sapiro wrote:


Steps 3. through 6. could be more easily accomplished by the following:

1) Gather all the emails into a single *nix mbox format file. Depending
on your email client, this may already exist as the folder containing
the desired messages.

2) copy that mbox file to
/path/to/mailman/archives/private/listname.mbox/listname.mbox

3) run Mailman's
bin/arch --wipe listname


Before running step 3 it might be a good idea to verify that all the 
messages in your mbox file have correct Date: lines.  Incorrect Date 
lines will cause Mailman to arrange messages in the wrong order.


Date lines can be incorrect if the original sender's MUA was 
misconfigured.  If a wrong timestamp is given, Mailman will accept it 
and order the messages accordingly.  If a message has no timestamp at 
all, Mailman will order that message as if it had been sent at the 
moment when Mailman is indexing the archive.


At least this is what happened for me when I tried a somewhat similar 
project.


--
Larry Kuenning
la...@qhpress.org

--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Why does iOS's Safari log out the moderator web page?

2014-02-03 Thread Peter Shute
I use the moderator web page with Firefox, and it stays logged in for as long 
as I keep the browser open. But with Safari on iPhone and iPad, I often have to 
log in again when I return to it. Same for every other browser I've tried under 
iOS. Can anyone tell me why?

Peter Shute
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Why does iOS's Safari log out the moderator web page?

2014-02-03 Thread Mark Sapiro
On 02/03/2014 05:04 PM, Peter Shute wrote:
 I use the moderator web page with Firefox, and it stays logged in for as long 
 as I keep the browser open. But with Safari on iPhone and iPad, I often have 
 to log in again when I return to it. Same for every other browser I've tried 
 under iOS. Can anyone tell me why?


Because the session cookie which keeps the fact that you've logged in is
being expired, presumably because when you leave the browser and return
to it, iOS starts a new session or otherwise invalidates the session
cookie. Why it does this is an Apple question.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Why does iOS's Safari log out the moderator web page?

2014-02-03 Thread Peter Shute
 On 4 Feb 2014, at 12:26 pm, Mark Sapiro m...@msapiro.net wrote:
 
 On 02/03/2014 05:04 PM, Peter Shute wrote:
 I use the moderator web page with Firefox, and it stays logged in for as 
 long as I keep the browser open. But with Safari on iPhone and iPad, I often 
 have to log in again when I return to it. Same for every other browser I've 
 tried under iOS. Can anyone tell me why?
 
 
 Because the session cookie which keeps the fact that you've logged in is
 being expired, presumably because when you leave the browser and return
 to it, iOS starts a new session or otherwise invalidates the session
 cookie. Why it does this is an Apple question.

That makes sense. Is there any way around it? Is it possible to make it use 
persistent cookies?

Note that this problem wasn't anywhere near as bad until I upgraded from iOS6 
to iOS7. I don't mind logging in again every few days.

Peter Shute
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Populating mailman lists out of AD or LDAP.

2014-02-03 Thread Steven Jones

Thanks, I see there is a comment #10 on possible problems with 3000 users?, we 
want to do 2+.

Is that possible?

regards

Steven 

From: Mailman-Users mailman-users-bounces+steven.jones=vuw.ac...@python.org 
on behalf of Mark Sapiro m...@msapiro.net
Sent: Monday, 3 February 2014 9:55 a.m.
To: mailman-users@python.org
Subject: Re: [Mailman-Users] Populating mailman lists out of AD or LDAP.

On 02/02/2014 12:18 PM, Steven Jones wrote:
 Hi,

 I want to populate a specific mailman list with users from AD (if possible) 
 or IPA/LDAP that have a specific attribute in AD.

 Is this possible? I can see lots of old comments dated 2004 from googling but 
 nothing newer so far.


Assuming you mean you want Mailman to maintain the list membership
dynamically from the database and not simply do periodic extraction of a
user list from the database to use with a tool like sync_members, there
is an LDAP member adaptor for Mailman at
https://bugs.launchpad.net/mailman/+bug/558106. Read the entire
comment thread to see all versions.

--
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/steven.jones%40vuw.ac.nz


--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Why does iOS's Safari log out the moderator web page?

2014-02-03 Thread Mark Sapiro
On 02/03/2014 05:53 PM, Peter Shute wrote:
 
 That makes sense. Is there any way around it? Is it possible to make it use 
 persistent cookies?


If you're willing to modify the code, see the MakeCookie function in
Mailman/SecurityManager.py.

You could replace the comment

# We use session cookies, so don't set `expires' or `max-age' keys.

by something like

c[key]['Max-Age'] = 3600 * 24 * 5

to give the cookie a lifetime of 5 days.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Populating mailman lists out of AD or LDAP.

2014-02-03 Thread Mark Sapiro
On 02/03/2014 06:13 PM, Steven Jones wrote:
 
 Thanks, I see there is a comment #10 on possible problems with 3000 users?, 
 we want to do 2+.
 
 Is that possible?


Comment #10 is over 7 years and several versions old. Also, the required
Python LDAP module http://www.python-ldap.org/ has been updated many
times since then.

I suspect that the problem in the case of the author of comment #10 was
timeouts in the LDAP query, but only testing will say for sure. If
that's still an issue with large databases, there might be controls in
the LDAP module that would help. See
http://www.python-ldap.org/doc/html/index.html.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Why does iOS's Safari log out the moderator web page?

2014-02-03 Thread Peter Shute
 On 4 Feb 2014, at 1:27 pm, Mark Sapiro m...@msapiro.net wrote:
 
 On 02/03/2014 05:53 PM, Peter Shute wrote:
 
 That makes sense. Is there any way around it? Is it possible to make it use 
 persistent cookies?
 
 
 If you're willing to modify the code, see the MakeCookie function in
 Mailman/SecurityManager.py.
 
 You could replace the comment
 
# We use session cookies, so don't set `expires' or `max-age' keys.
 
 by something like
 
c[key]['Max-Age'] = 3600 * 24 * 5
 
 to give the cookie a lifetime of 5 days.

I don't have access to do that, and I think it's probably too difficult for me 
anyway. I was hoping it was a configuration option that I could ask the 
administrator to try. Maybe I'll just pray that iOS 7.1 fixes it.

Peter Shute
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org