[Mailman-Users] There are no pending requests

2014-03-26 Thread rex
The Mailman web page to approve messages held for approval always has
the message: There are no pending requents, even when there 
are messages in /var/lib/mailman/data/heldmsg-mynewlist-1.pck

Running Mailman 2.1.15 under Debian Wheezy with a new list that has
never existed on any local machine. 

1) Mail that does not require approval is posted to the list normally.
2) All web pages with the exception of the one below function normally.
3) Mail from moderated subscribers produces the usual notice to the
list admin, but when the page:

http://myserver.net/cgi-bin/mailman/admindb/mynewlist

is visited, this message appears:

There are no pending requests. Click here to reload this page.

Reloading the page makes no difference. 

I tried the hold_again script from here:
http://fog.ccsf.edu/~msapiro/scripts/

When the hold_again script is run, this is the result:

root@ /usr/lib/mailman/bin# ./hold_again -n -v -l mynewlist
Requeueing message from file heldmsg-mynewlist-1.pck

The held message is in the data directory:

root@:/var/lib/mailman/data# ls -l
-rw-r- 1 root list   41 May  3  2013 adm.pw
-rw-rw 1 root list 1997 Nov  6  2012 aliases
-rw-rw 1 list list12288 Nov  6  2012 aliases.db
[...]
-rw-rw-r-- 1 list list  775 Mar 25 16:11 heldmsg-mynewlist-1.pck
[...]
-rw-rw-r-- 1 root list   10 Jul 13  2012 last_mailman_version
-rw-r--r-- 1 root list14100 Jun 16  2012 sitelist.cfg
-rw-rw 1 root list 1831 Nov  6  2012 virtual-mailman
-rw-rw 1 list list12288 Nov  6  2012 virtual-mailman.db

The hold_again command results in a new notice to the list admin re
the held message, but revisiting the web page shows the same There
are no pending requests message.

Responding via email to the list admin message with an 
Approved: listadminpswd header results in a copy of the sent message
being sent to the list admin, but no action re the held message; it's
still held, with the same timestamp.

The server is running apache 2.4.6-3.

The mailman.conf file in /etc/apache2/sites-available has:

# Sample configuration for Debian mailman with Apache

# We can find mailman here:
ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/
# And the public archives:
Alias /pipermail/ /var/lib/mailman/archives/public/
# Logos:
Alias /images/mailman/ /usr/share/images/mailman/

# Use this if you don't want the cgi-bin component in your URL:
# In case you want to access mailman through a shorter URL you should enable
# this:
#ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
# In this case you need to set the DEFAULT_URL_PATTERN in
# /etc/mailman/mm_cfg.py to http://%s/mailman/ for the cookie
# authentication code to work.  Note that you need to change the base
# URL for all the already-created lists as well.

Directory /usr/lib/cgi-bin/mailman/
AllowOverride None
Options ExecCGI
AddHandler cgi-script .cgi
Require all granted
/Directory
Directory /var/lib/mailman/archives/public/
Options FollowSymlinks 
AllowOverride None
Require all granted 
/Directory
Directory /usr/share/images/mailman/
AllowOverride None
Require all granted
/Directory


I've spent hours trying to resolve this problem.  Any help would be
much appreciated.

TIA,

-rex
-- 
--
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] handler to auto detach attachment and link it to a website?

2014-03-26 Thread Sylvain Viart

Hi,

I've a project to setup a mailman for newsletter.

I've found many interesting links about it. I will post them as a 
reminder at the end of this message, as it can help someone else.



My question is:

Is there any handler that I can setup in the pipeline to:

 * detach an attachment
 * post it to a webservice (or run a script uploading it to an online
   storage)
 * modify the content of the mail, linking it to the online stored
   attachment

?

Or a good base to program it.

The goal to achieve, is to permit restricted sender to write mail with 
attachment but do not replicate it to all member of the list.


Also for non technical writer, uploading the attachment and linking may 
be too painful.



Regards,
Sylvain.



Reference links, some may be pretty old.

newsletter : How do I create a newsletter/announcement/one-way list?
http://wiki.list.org/pages/viewpage.action?pageId=4030685

personalisation VERP exemple de mail, simple piste :
https://mail.python.org/pipermail/mailman-users/2003-February/026008.html

4.48. How can I change the HTML (or .txt) templates used by my mailing 
lists?

http://wiki.list.org/pages/viewpage.action?pageId=4030605

4.33. How do I put a subscribe form for my list on a web page? 
http://wiki.list.org/pages/viewpage.action?pageId=4030596


3.40. I want to completely customize the look and feel of Mailman – how 
do I do that? http://wiki.list.org/pages/viewpage.action?pageId=4030560


What is the largest list Mailman can run? 
http://wiki.list.org/pages/viewpage.action?pageId=4030518


[Mailman-Users] Keeping the Publich_HTML subscription page from popping 
up. http://www.mail-archive.com/mailman-users%40python.org/msg24296.html


[Mailman-Users] Editing confirm page 
http://www.mail-archive.com/mailman-users%40python.org/msg32261.html


Mailman processes incoming messages through a pipeline of handlers which 
each do parts of the message processing 
http://wiki.list.org/pages/viewpage.action?pageId=7602227



--
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] There are no pending requests

2014-03-26 Thread Mark Sapiro

rex wrote:
 The Mailman web page to approve messages held for approval always has
 the message: There are no pending requents, even when there
 are messages in /var/lib/mailman/data/heldmsg-mynewlist-1.pck


This seems related to, but opposite the issue of the FAQ at
http://wiki.list.org/x/EoCE.

Possibly the link or URL you are following/visiting to get to the admindb
interface for this list is somehow accessing a different Mailman
installation.

Possibly there is some other issue with this list's request.pck or
pending.pck in the /var/lib/mailman/data/mynewlist/ directory. Is there
anything in Mailman's 'error' log?

Do the scripts at http://www.msapiro.net/scripts/list_pending when run
with the -m option and http://www.msapiro.net/scripts/list_requests show
the held message?

The -1 in heldmsg-mynewlist-1.pck is curious as this number should
increment with each new held message.

-- 
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] handler to auto detach attachment and link it to a website?

2014-03-26 Thread Mark Sapiro

Sylvain Viart wrote:

 My question is:

 Is there any handler that I can setup in the pipeline to:

   * detach an attachment
   * post it to a webservice (or run a script uploading it to an online
 storage)
   * modify the content of the mail, linking it to the online stored
 attachment


How about just setting the list's web admin Non-digest options -
scrub_nondigest to Yes.

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


[Mailman-Users] building a new mailman server

2014-03-26 Thread Bruce Harrison

We are currently running an old mailman instance and am planning to bring up 
the newest version of mailman and migrate to it.  Current system uses sendmail. 
 Since I now have a chance to change things, what is the best mail server to 
run on my mailman box?  It will be talking to an exchange 2010 frontend server 
(current mailman system is doing that now).  I can install sendmail or go with 
postfix or ???
This is running on a debian box.

Bruce Harrison
UT Martin
--
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] building a new mailman server

2014-03-26 Thread Sajan Parikh
It seems the 3 most popular MTAs are sendmail, Exim, and Postfix.  All 
do the job well if you're running just a standard install of mailman 
without much fuss.


sendmail is still widely used, and if I were you, I'd just stick with 
what works unless you have you a particular need that sendmail wasn't 
filling.


Sajan Parikh
On 03/26/2014 04:19 PM, Bruce Harrison wrote:

We are currently running an old mailman instance and am planning to bring up 
the newest version of mailman and migrate to it.  Current system uses sendmail. 
 Since I now have a chance to change things, what is the best mail server to 
run on my mailman box?  It will be talking to an exchange 2010 frontend server 
(current mailman system is doing that now).  I can install sendmail or go with 
postfix or ???
This is running on a debian box.

Bruce Harrison
UT Martin
--
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/sajan%40parikh.io



--
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] building a new mailman server

2014-03-26 Thread Mark Sapiro
On 03/26/2014 02:19 PM, Bruce Harrison wrote:
 
 We are currently running an old mailman instance and am planning to bring up 
 the newest version of mailman and migrate to it.  Current system uses 
 sendmail.  Since I now have a chance to change things, what is the best mail 
 server to run on my mailman box?  It will be talking to an exchange 2010 
 frontend server (current mailman system is doing that now).  I can install 
 sendmail or go with postfix or ???
 This is running on a debian box.


Disclaimer: I am not an MTA expert. This is all personal opinion based
on possibly limited experience.

I would go with either Postfix or Exim. Both integrate well with
Mailman; http://www.exim.org/howto/mailman21.html and
http://www.list.org/mailman-install/node12.html.

I have used both in Mailman environments, but Exim only in a Mailman
development environment, Postfix both in development and on a production
server handling both Mailman and other mail.

My impression is that if you want to do esoteric things, it's easier (at
least for a coder like me) with Exim's routers and transports than with
Postfix, but I've always been able to accomplish whatever I've wanted
with Postfix.

I have little experience with sendmail, and while it is possible to
hijack Mailman's Postfix integration to use with sendmail, on the whole
it seems 'clunkier' to configure, and I see no reason to chose sendmail
over Postfix.

I'd be inclined to chose Postfix over Exim simply because Postfix is
more popular, and new things (e.g. Mailman 3) tend to be implemented
first for Postfix.

-- 
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] HTML to Text-Only

2014-03-26 Thread Mark Sapiro
On 03/25/2014 09:49 PM, Peter Fiala - WCASA wrote:
 One of the listservs I manage sends text-only messages though I have that 
 option unchecked under content filtering. This happens to this list and not 
 any others, though the option is the same for all lists I manage.
 
 Should Mailman convert text/html parts to plain text? This conversion happens 
 after MIME attachments have been stripped.
 (Edit 
 convert_html_to_plaintext)http://lists.wcasa-blog.org/admin.cgi/regional_ta_sc-wcasa-blog.org/?VARHELP=contentfilter/convert_html_to_plaintext
 
 No  Yes
 
 
 
 Wondering if anyone has any solutions.


I suspect the issue is that your users are sending multipart/alternative
messages and your collapse_alternatives setting is Yes. Either that or
you don't have text/html in pass_mime_types.

You need at least

multipart
text/plain
text/html

in pass_mime_types and collapse_alternatives = No.

-- 
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] building a new mailman server

2014-03-26 Thread Carl Zwanzig

On 3/26/2014 3:33 PM, Mark Sapiro wrote:

I'd be inclined to chose Postfix over Exim simply because Postfix is
more popular, and new things (e.g. Mailman 3) tend to be implemented
first for Postfix.


FWIW, I found postfix to be generally easier to deal with than the others. 
And the config files don't look like line noise with comments :).


z!

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