Re: [Mailman-Users] new user question

2010-10-15 Thread Mark Sapiro


"BiLL"  wrote:

>My question is,
>How can I set up mailman to send me an email when there is a
>post held for moderation?


Set General Options / admin_immed_notify to Yes.

-- 
Mark Sapiro - m...@msapiro.net
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] new user question

2010-10-15 Thread BiLL

Hello,

I am new to this mailman program.
It works very good so far.
It mails to over 900 people with no problems.

My question is,
How can I set up mailman to send me an email when there is a
post held for moderation?
Sometimes I will go for days, and not check the moderation page.
Mailman used to send me an email when there was a post awaiting
approval, but we bought a new server, and it doesn't send me an email
anymore.?
I have to remember to check Q every day.
thank you for any suggestions.

--
10/15/2010
Bill Fuller
b...@thebat.net

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


[Mailman-Users] mailman configuration issue?

2010-10-15 Thread cmallon

HI,

This may seem like a dumb question but I've been seeing a lot of this in my 
mail.logs All the messages are being delivered and there are no bad recipients 
in the list.  Could there be a misconfiguration somewhere?  I'd like to write a 
script that extracts information from the keyword bounces, but don't want to 
get data from legitimate emails.


Oct 15 10:53:20 apps25 postfix/qmgr[16897]: 1984F691A316: 
from=, size=3824, nrcpt=6 (queue active)
Oct 15 10:53:20 apps25 postfix/qmgr[16897]: 8D1F4691A31D: 
from=, size=3958, nrcpt=1 (queue active)
Oct 15 10:53:45 apps25 postfix/qmgr[16897]: 59760691A45E: 
from=, size=5939, nrcpt=1 (queue active)
Oct 15 11:04:12 apps25 postfix/qmgr[16897]: C16EC691B4C7: 
from=, size=4830, nrcpt=6 (queue 
active)
Oct 15 11:04:12 apps25 postfix/qmgr[16897]: 66308691B4DE: 
from=, size=4964, nrcpt=1 (queue 
active)
Oct 15 11:08:28 apps25 postfix/qmgr[16897]: C5760691BA29: 
from=, size=4174, nrcpt=4 (queue 
active)

Oct 15 10:53:20 apps25 postfix/qmgr[16897]: 1984F691A316: 
from=, size=3824, nrcpt=6 (queue active)
Oct 15 10:53:20 apps25 postfix/qmgr[16897]: 8D1F4691A31D: 
from=, size=3958, nrcpt=1 (queue active)
Oct 15 10:53:45 apps25 postfix/qmgr[16897]: 59760691A45E: 
from=, size=5939, nrcpt=1 (queue active)
Oct 15 11:04:12 apps25 postfix/qmgr[16897]: C16EC691B4C7: 
from=, size=4830, nrcpt=6 (queue 
active)
Oct 15 11:04:12 apps25 postfix/qmgr[16897]: 66308691B4DE: 
from=, size=4964, nrcpt=1 (queue 
active)
Oct 15 11:08:28 apps25 postfix/qmgr[16897]: C5760691BA29: 
from=, size=4174, nrcpt=4 (queue 
active)

If I grep one of the  message ids and take a closer look:

mail:/var/mail root# grep C5760691BA29 /var/log/mail.log
Oct 15 11:08:27 apps25 postfix/smtpd[18204]: C5760691BA29: 
client=localhost[127.0.0.1]
Oct 15 11:08:28 apps25 postfix/cleanup[18211]: C5760691BA29: 
message-id=<17120997.1287166102753.javamail.re...@server12>
Oct 15 11:08:28 apps25 postfix/qmgr[16897]: C5760691BA29: 
from=, size=4174, nrcpt=4 (queue 
active)
Oct 15 11:08:28 apps25 postfix/pipe[18230]: C5760691BA29: 
to=, relay=cyrus, delay=1, status=sent (mail.mydomain.com)
Oct 15 11:08:28 apps25 postfix/pipe[18188]: C5760691BA29: 
to=, relay=cyrus, delay=1, status=sent (mail.mydomain.com)
Oct 15 11:08:28 apps25 postfix/pipe[18241]: C5760691BA29: 
to=, relay=cyrus, delay=1, status=sent (mail.mydomain.com)
Oct 15 11:08:28 apps25 postfix/pipe[18230]: C5760691BA29: 
to=, orig_to=, relay=cyrus, delay=1, 
status=sent (mail.mydomain.com)
Oct 15 11:08:28 apps25 postfix/qmgr[16897]: C5760691BA29: removed

It appears that all the messages have been delivered.  There no bad recipients.

Is the "my-list-bounces" as reported in my logs normal?  Its reported in the 
logs the same way for all the lists -- every mailman email that goes out looks 
like this.

Thank you for your time


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


[Mailman-Users] can't display list config

2010-10-15 Thread Frank Van Damme
Hi list,

I'm getting errors while trying to dump the config of a mailing list to
a text file.


/usr/lib/mailman/bin/config_list -o listname listname

[...]

# For backwards compatibility with Mailman 1.1, if the regexp does not
# contain an `@', then the pattern is matched against just the local
# part of the recipient address.  If that match fails, or if the pattern
# does contain an `@', then the pattern is matched against the entire
# recipient address.
#
# Matching against the local part is deprecated; in a future release,
# the pattern will always be matched against the entire recipient
# address.
acceptable_aliases =
Traceback (most recent call last):
File "/usr/lib/mailman/bin/config_list", line 362, in 
main()
  File "/usr/lib/mailman/bin/config_list", line 355, in main
do_output(listname, outfile)
  File "/usr/lib/mailman/bin/config_list", line 131, in do_output
do_list_categories(mlist, k, subcat, outfp)
  File "/usr/lib/mailman/bin/config_list", line 183, in
do_list_categories
lines = value.splitlines()
AttributeError: 'list' object has no attribute 'splitlines'

I must add to this that we have a very large number (24000+) of mailing
lists.  I'm not sure if that matters, but we've had problems with the
webinterface, which doesn't display the full list of mailing lists.
list_lists works fine though, and it also doesn't seem to matter if I
try this with a list from the top or from the bottom of the "list of lists".

I'd try to fix this myself but unfortunately I don't speak Python...


-- No part of this copyright message may be reproduced, read or seen,
dead or alive or by any means, including but not limited to telepathy
without the benevolence of the author.
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] mailman configuration issues?

2010-10-15 Thread Geoff Shang

On Fri, 15 Oct 2010, cmallon wrote:

This may seem like a dumb question but I've been seeing a lot of this in 
my mail.logs All the messages are being delivered and there are no bad 
recipients in the list.  Could there be a misconfiguration somewhere? 
I'd like to write a script that extracts information from the keyword 
bounces, but don't want to get data from legitimate emails.


Oct 15 10:53:20 apps25 postfix/qmgr[16897]: 1984F691A316: 
from=, size=3824, nrcpt=6 (queue 
active)


This is normal.  List messages are sent out as -bounces so that 
if one does indeed bounce, it gets sent back to an address that can do 
something about it.


Geoff.

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


[Mailman-Users] mailman configuration issues?

2010-10-15 Thread cmallon
HI,

This may seem like a dumb question but I've been seeing a lot of this in my 
mail.logs All the messages are being delivered and there are no bad recipients 
in the list.  Could there be a misconfiguration somewhere?  I'd like to write a 
script that extracts information from the keyword bounces, but don't want to 
get data from legitimate emails.


Oct 15 10:53:20 apps25 postfix/qmgr[16897]: 1984F691A316: 
from=, size=3824, nrcpt=6 (queue active)
Oct 15 10:53:20 apps25 postfix/qmgr[16897]: 8D1F4691A31D: 
from=, size=3958, nrcpt=1 (queue active)
Oct 15 10:53:45 apps25 postfix/qmgr[16897]: 59760691A45E: 
from=, size=5939, nrcpt=1 (queue active)
Oct 15 11:04:12 apps25 postfix/qmgr[16897]: C16EC691B4C7: 
from=, size=4830, nrcpt=6 (queue 
active)
Oct 15 11:04:12 apps25 postfix/qmgr[16897]: 66308691B4DE: 
from=, size=4964, nrcpt=1 (queue 
active)
Oct 15 11:08:28 apps25 postfix/qmgr[16897]: C5760691BA29: 
from=, size=4174, nrcpt=4 (queue 
active)

Oct 15 10:53:20 apps25 postfix/qmgr[16897]: 1984F691A316: 
from=, size=3824, nrcpt=6 (queue active)
Oct 15 10:53:20 apps25 postfix/qmgr[16897]: 8D1F4691A31D: 
from=, size=3958, nrcpt=1 (queue active)
Oct 15 10:53:45 apps25 postfix/qmgr[16897]: 59760691A45E: 
from=, size=5939, nrcpt=1 (queue active)
Oct 15 11:04:12 apps25 postfix/qmgr[16897]: C16EC691B4C7: 
from=, size=4830, nrcpt=6 (queue 
active)
Oct 15 11:04:12 apps25 postfix/qmgr[16897]: 66308691B4DE: 
from=, size=4964, nrcpt=1 (queue 
active)
Oct 15 11:08:28 apps25 postfix/qmgr[16897]: C5760691BA29: 
from=, size=4174, nrcpt=4 (queue 
active)

If I grep one of the  message ids and take a closer look:

mail:/var/mail root# grep C5760691BA29 /var/log/mail.log
Oct 15 11:08:27 apps25 postfix/smtpd[18204]: C5760691BA29: 
client=localhost[127.0.0.1]
Oct 15 11:08:28 apps25 postfix/cleanup[18211]: C5760691BA29: 
message-id=<17120997.1287166102753.javamail.re...@server12>
Oct 15 11:08:28 apps25 postfix/qmgr[16897]: C5760691BA29: 
from=, size=4174, nrcpt=4 (queue 
active)
Oct 15 11:08:28 apps25 postfix/pipe[18230]: C5760691BA29: 
to=, relay=cyrus, delay=1, status=sent (mail.mydomain.com)
Oct 15 11:08:28 apps25 postfix/pipe[18188]: C5760691BA29: 
to=, relay=cyrus, delay=1, status=sent (mail.mydomain.com)
Oct 15 11:08:28 apps25 postfix/pipe[18241]: C5760691BA29: 
to=, relay=cyrus, delay=1, status=sent (mail.mydomain.com)
Oct 15 11:08:28 apps25 postfix/pipe[18230]: C5760691BA29: 
to=, orig_to=, relay=cyrus, delay=1, 
status=sent (mail.mydomain.com)
Oct 15 11:08:28 apps25 postfix/qmgr[16897]: C5760691BA29: removed

It appears that all the messages have been delivered.  There no bad recipients.

Is the "my-list-bounces" as reported in my logs normal?  Its reported in the 
logs the same way for all the lists -- every mailman email that goes out looks 
like this.

Thank you for your time


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


[Mailman-Users] one line command to change generic_nonmember_action

2010-10-15 Thread Syn, Joonho
I'm writing a simplified mailman dashboard page for my company's internal use 
and one of the functions we want is to be able to toggle the 
generic_nonmember_action for any given list.  Has anyone out there devised a 
one line command which will allow this?
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] mailman 2.1.14 new features

2010-10-15 Thread Mark Sapiro


"Alessandro Bruchi"  wrote:

>Does mailman 2.1.14 solve the virtual domain problem? 
>In particular the ability to create:
>
>l...@domain1
>l...@domain2


No.


>I read that the new version support virtual domains.


That support is in MM 3. It is not yet ready for production use.



>Do you know when mailman 2.1.14 will be included as package in some debian 
>distribution?


No.


-- 
Mark Sapiro - m...@msapiro.net
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Mailman Crashes Regularly

2010-10-15 Thread Russell Clemings
The cPanel command I believe is:
/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl restart

From: Aaron Kreider 
> To: mailman-users@python.org
> Date: Thu, 14 Oct 2010 23:39:05 -0400
> Subject: [Mailman-Users] Mailman Crashes Regularly
>  I'm getting regular mailman crashes every 2-4 weeks.  I've had 4 so far.
>  I'm running a centos VPS with mailman 2.1.13.
>
> What is the best way to restart mailman?  I've been restarting the entire
> vps, which obviously is a bad idea.  What can I do to prevent this from
> happening?
>
>
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] mailman 2.1.14 new features

2010-10-15 Thread Alessandro Bruchi
Does mailman 2.1.14 solve the virtual domain problem? 
In particular the ability to create:

l...@domain1
l...@domain2

I read that the new version support virtual domains.
Do you know when mailman 2.1.14 will be included as package in some debian 
distribution?

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


Re: [Mailman-Users] Mailman Crashes Regularly

2010-10-15 Thread Mark Sapiro
Aaron Kreider wrote:

>  I'm getting regular mailman crashes every 2-4 weeks.  I've had 4 so 
>far.  I'm running a centos VPS with mailman 2.1.13.
>
>What is the best way to restart mailman?  I've been restarting the 
>entire vps, which obviously is a bad idea.  What can I do to prevent 
>this from happening?


The best way to restart Mailman depends on whether just mailmanctl or
also all the qrunners die. If all the qrunners are gone, you can just
run Mailman's "bin/mailmanctl start" or whatever cPanel voodoo starts
the Mailman service.

If there are still qrunner processes running when mailmanctl dies, see
the FAQ at .

(see below)


>Here is the error log entries from when it crashed:
>
>
>
>
>
>Oct 13 01:30:23 2010 mailmanctl(19680): No child with pid: 3683
>Oct 13 01:30:23 2010 mailmanctl(19680): [Errno 3] No such process
>Oct 13 01:30:23 2010 mailmanctl(19680): Stale pid file removed.
>Oct 13 01:30:23 2010 mailmanctl(19694): Traceback (most recent call last):
>Oct 13 01:30:23 2010 mailmanctl(19694):   File 
>"/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 548, in ?
>Oct 13 01:30:23 2010 mailmanctl(19694):  main()
>Oct 13 01:30:23 2010 mailmanctl(19694):   File 
>"/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 367, in main
>Oct 13 01:30:23 2010 mailmanctl(19694):  check_for_site_list()
>Oct 13 01:30:23 2010 mailmanctl(19694):   File 
>"/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 277, in 
>check_for_site_list
>Oct 13 01:30:23 2010 mailmanctl(19694):  sitelist = 
>MailList(sitelistname, lock=0)
>Oct 13 01:30:23 2010 mailmanctl(19694):   File 
>"/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 115, in 
>__init__
>Oct 13 01:30:23 2010 mailmanctl(19694):  execfile(filename, dict)
>Oct 13 01:30:23 2010 mailmanctl(19694):   File 
>"/usr/local/cpanel/3rdparty/mailman/lists/mailman/extend.py", line 5, in ?
>Oct 13 01:30:23 2010 mailmanctl(19694):  from 
>Mailman.MysqlMemberships import MysqlMemberships


Why do you have
/usr/local/cpanel/3rdparty/mailman/lists/mailman/extend.py which
imports MysqlMemberships? As far as I know, this is not something that
cPanel Mailman does by default?

(see below)

 
>Oct 13 01:30:23 2010 mailmanctl(19694):   File 
>"/usr/local/cpanel/3rdparty/mailman/Mailman/MysqlMemberships.py", line 
>49, in ?
>Oct 13 01:30:23 2010 mailmanctl(19694):  import MySQLdb
>Oct 13 01:30:23 2010 mailmanctl(19694):   File 
>"build/bdist.linux-x86_64/egg/MySQLdb/__init__.py", line 19, in ?
>Oct 13 01:30:23 2010 mailmanctl(19694):   File 
>"build/bdist.linux-x86_64/egg/_mysql.py", line 7, in ?
>Oct 13 01:30:23 2010 mailmanctl(19694):   File 
>"build/bdist.linux-x86_64/egg/_mysql.py", line 4, in __bootstrap__
>Oct 13 01:30:23 2010 mailmanctl(19694):   File 
>"/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r80622-py2.4.egg/pkg_resources.py",
> 
>line 881, in resource_filename
>Oct 13 01:30:23 2010 mailmanctl(19694):  return 
>get_provider(package_or_requirement).get_resource_filename(
>Oct 13 01:30:23 2010 mailmanctl(19694):   File 
>"/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r80622-py2.4.egg/pkg_resources.py",
> 
>line 1351, in get_resource_filename
>Oct 13 01:30:23 2010 mailmanctl(19694):  
>self._extract_resource(manager, self._eager_to_zip(name))
>Oct 13 01:30:23 2010 mailmanctl(19694):   File 
>"/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r80622-py2.4.egg/pkg_resources.py",
> 
>line 1372, in _extract_resource
>Oct 13 01:30:23 2010 mailmanctl(19694):  real_path = 
>manager.get_cache_path(
>Oct 13 01:30:23 2010 mailmanctl(19694):   File 
>"/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r80622-py2.4.egg/pkg_resources.py",
> 
>line 962, in get_cache_path
>Oct 13 01:30:23 2010 mailmanctl(19694):  self.extraction_error()
>Oct 13 01:30:23 2010 mailmanctl(19694):   File 
>"/usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r80622-py2.4.egg/pkg_resources.py",
> 
>line 928, in extraction_error
>Oct 13 01:30:23 2010 mailmanctl(19694):  raise err
>Oct 13 01:30:23 2010 mailmanctl(19694): pkg_resources . ExtractionError 
>:  Can't extract file(s) to egg cache
>
>The following error occurred while trying to extract file(s) to the 
>Python egg
>cache:
>
>   [Errno 13] Permission denied: '/root/.python-eggs'
>
>The Python egg cache directory is currently set to:
>
>   /root/.python-eggs
>
>Perhaps your account does not have write access to this directory?  You can
>change the cache directory by setting the PYTHON_EGG_CACHE environment
>variable to point to an accessible directory.
[...]


The underlying issue here is that Python's MySQLdb was apparently
installed by root in a way that the the Python egg cache directory is
not writeable by the Mailman process.

You can get rid of the above errors by simply removing
/usr/local/cpanel/3rdparty/mailman/lists/mailman/extend.py and perhaps
any other /usr/local/cpanel/3rdparty/mailman/lists/*/extend.py files,
but thi