[Mailman-Users] changing the subject line when rejected

2008-08-21 Thread Mark Heer
Hello,

When a message is rejected it keeps the same subject line as what was sent.  If 
the user dows not read the message saying the post was rejected, the user 
assumes it went out to the list.  How do I change a rejected email subject to 
what I see in the
  ListAdmin.py

# add in original message, but not wrap/filled
if origmsg:
text = NL.join(
[text,
 '-- ' + _('Original Message') + ' --',
 str(origmsg)
 ])
subject = _('Request to mailing list %(realname)s rejected')



I expected that the above would be the subject of a rejected notice but it is 
not.

Thank you,

Mark
--
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] Archiving is broken

2008-08-20 Thread Mark Heer
Hello,

I just noticed that archivin is no longer working on any list. last archive 
message was received last Aug 12 and I can's seem to find a reason for it.  I 
am using external archiver as can be seen in the mmcfg.py fiile and it worked 
just fine for about a month. (we just started using mailman)
 
I don't know all the info you might need but I'll include the mmcfg.py and 
whatever els I can think of.. Your help is greatly appreciated..   

I only get the following error for a few lists but in each case the ownership 
is mailman:mailman
I noted an error re: ownership problems - but mailman user and group do indeed 
own the dirs/files so that message is confusing : 
sr/local/mailman/archives/public/wan-data-transfers'
Aug 20 09:31:06 2008 (27219) Traceback (most recent call last):
  File /usr/local/mailman/Mailman/Queue/Runner.py, line 114, in _oneloop
self._onefile(msg, msgdata)
  File /usr/local/mailman/Mailman/Queue/Runner.py, line 185, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File /usr/local/mailman/Mailman/Queue/IncomingRunner.py, line 133, in 
_dispose
mlist.Save()
  File /usr/local/mailman/Mailman/MailList.py, line 568, in Save
self.CheckHTMLArchiveDir()
  File /usr/local/mailman/Mailman/Archiver/Archiver.py, line 236, in 
CheckHTMLArchiveDir
breaklink(pubdir)
  File /usr/local/mailman/Mailman/Archiver/Archiver.py, line 56, in breaklink
os.unlink(link)
OSError: [Errno 1] Not owner: 
'/usr/local/mailman/archives/public/wan-data-transfers'

Aug 20 09:31:06 2008 (27219) SHUNTING: 
1219249865.3392961+47525c120442e9f4bd836c09cd41c46b6feb351e



mmcfg.py:

###
# Here's where we get the distributed defaults.

from Defaults import *

##
# Put YOUR site-specific settings below this line.
MTA = 'Postfix'
POSTFIX_ALIAS_CMD = '/usr/local/postfix/sbin/postalias'
POSTFIX_MAP_CMD = '/usr/local/postfix/sbin/postmap'
ARCHIVE_TO_MBOX = 2
PUBLIC_EXTERNAL_ARCHIVER = 'ssh -e none -i $HOME/.ssh/archkey [EMAIL PROTECTED] 
%(listname)s'
PRIVATE_EXTERNAL_ARCHIVER = 'ssh  -e none -i $HOME/.ssh/archkey [EMAIL 
PROTECTED] %(listname)s'
SUBSCRIBE_POLICY = 3
VIRTUAL_HOSTS.clear()
add_virtualhost('mailman.nersc.gov','nersc.gov')
DEFAULT_EMAIL_HOST = 'nersc.gov'
DEFAULT_URL_HOST   = 'mailman.nersc.gov'

--
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] more details on broken archiving...

2008-08-20 Thread Mark Heer
I should mention that I already ran check_perms -f and the trouble remains

It appears that the archiver is not honoring the mmcfg entry:
PUBLIC_EXTERNAL_ARCHIVER = 'ssh -e none -i $HOME/.ssh/archkey [EMAIL PROTECTED] 
%(listname)s'

is there a way to manually test this routine.  The last thing done before 
archiver stopped working was to change a list archive from monthly to yearly - 
then I re-created the archive with arch --wipe.  All the old stuff is there but 
nothing new.

The shunting messages still appear in the log after the check_perms was run. I 
sent to a test list which is configured fror public archive.  It gets delivered 
to the members, not shunted aand not in the archives, and no error messages.

Thanks,

Mark
--
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] using moderation - admin not on mx

2008-07-25 Thread Mark Heer
Hello,

I am running 2 mail exchangers that handle the mailman list distribution and a 
third machine serves up the list administration web gui.  Trouble is that when 
a message is held for moderator approval, I click on the url mailman provides 
or go to the list admin page but it says 'There are no pending requests'.  I 
gahter that the message is being held on the mx machines as mailman expects the 
gui is on the mx right?  How can I fix this?  Can I send the message for 
approval to the admin machine, approve it, and send it back to mx somehow?

Another topic, Can mailman be configured such that list administrators can use 
their LDAP passwd for authentication?
I currently secure list archives in such a way.

Thank you,

Mark 
--
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] mail bouncing to devel machine

2008-06-24 Thread Mark Heer
Hello,

I am having trouble with mailman bounced messages attempting to send to the 
wrong machine.

Initially I set up mailman in a test environment - hostname sbuild6 has the web 
interface and mxtest machine was the meil exchanger all went well with testing. 
 We have moved the installation to production machines (mx1 and mx2 are the 
mail exchangers and a virtual host named mailman handles the web interface.  
Things seem to be working ok except when I look at the mailq I see hundreds of 
attempts to send to [EMAIL PROTECTED] ... The couple of test lists I have are 
working
but how can I fix the mailq issue?  Here is an example  from the mailq from the 
prod mail exchangers.

177FC194C  2130 Sun Jun 22 19:05:16  [EMAIL PROTECTED]
(delivery temporarily suspended: connect to sbuild6.nersc.gov[128.55.16.186]: 
Co nnection timed out)
 [EMAIL PROTECTED]

11F6C1C04  2130 Sun Jun 22 19:35:13  [EMAIL PROTECTED]
(delivery temporarily suspended: connect to sbuild6.nersc.gov[128.55.16.186]: 
Co nnection timed out)

The aliases file has no reference to [EMAIL PROTECTED] and the config file is 
as follows:

# Put YOUR site-specific settings below this line.
MTA = 'Postfix'
#POSTFIX_ALIAS_CMD = '/usr/local/postfix/sbin/postalias'
#POSTFIX_MAP_CMD = '/usr/local/postfix/sbin/postmap'
POSTFIX_ALIAS_CMD = '/usr/sbin/postalias'
POSTFIX_MAP_CMD = '/usr/sbin/postmap'
IMAGE_LOGOS = '/images/'
DEFAULT_MAX_MESSAGE_SIZE = 1   # KB
DEFAULT_GENERIC_NONMEMBER_ACTION = 3
DEFAULT_LIST_ADVERTISED = No
DEFAULT_SEND_REMINDERS = No
USER_FRIENDLY_PASSWORDS = No
DEFAULT_SEND_WELCOME_MSG = No
DEFAULT_SEND_GOODBYE_MSG = Yes
DEFAULT_ADMIN_IMMED_NOTIFY = Yes
DEFAULT_ARCHIVE = Off
DEFAULT_MSG_FOOTER = ___
%(real_name)s mailing list
%(real_name)[EMAIL PROTECTED](host_name)s

DEFAULT_DIGEST_FOOTER = DEFAULT_MSG_FOOTER
add_virtualhost('mailman.nersc.gov','mx2.nersc.gov')
DEFAULT_EMAIL_HOST = 'mx2.nersc.gov'
DEFAULT_URL_HOST   = 'mailman.nersc.gov'
DEFAULT_SUBSCRIBE_POLICY = 3
ARCHIVE_TO_MBOX = 2
SUBSCRIBE_POLICY = 3


Thank You,

Mark

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

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


[Mailman-Users] PUBLIC_EXTERNAL_ARCHIVER directive ignored

2008-04-02 Thread Mark Heer
  
Hello,

I can run the following ssh from the command line and it works, yet when I set 
the config for external archive mailman is ignoring the config option and 
attempts to archive on the local machine.  After I updated mm_cfg.py I did a 
mailmanctl restart
and restarted mailman from rc3.d dir. 
I have a key on the receiving machine which utilizes the $SSH_ORIGINAL_COMMAND 
environment variable to handle %listname and update the proper directories.
 
mm_cfg.py:
PUBLIC_EXTERNAL_ARCHIVER = 'ssh -e none -i $HOME/.ssh/archkey [EMAIL PROTECTED] 
%(listname)s'
PRIVATE_EXTERNAL_ARCHIVER = 'ssh  -e none -i $HOME/.ssh/archkey [EMAIL 
PROTECTED] %(listname)s'


error log:
return Mailbox.Mailbox(open(afn, 'a+'))
IOError: [Errno 2] No such file or directory: 
'/usr/local/mailman/archives/private/test1.mbox/test1.mbox'

 
Any idea why mailman is ignoring the EXTERNAL_ARCHIVER instruction?

Thanks,

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

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


[Mailman-Users] merging 2 mbox files

2008-03-21 Thread Mark Heer
Hello,

We are moving from majordomo to mailan.  We use 2 mail hubs to handle mail 
service so mail can be handled by either machine which means some archive 
entries for a particular list will end up on mx1 and other posts may end up in 
the archives on mx2.  I need to combine the archives into 1 for display on our 
web archive - which is on yet another machine
running mailman but not the mx functions.  I attempted /bin/arch --wipe 
listname but it did not re-order the list by time sent/proper sequence., it 
just reproduced the file just as I had concatenated it. Is there a way to merge 
2 same list mboxes into 1 properly sequenced mbox?  

Thanks,

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

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