Re: [Mailman-Users] Archive without attachments?
Mark Sapiro wrote: Francesco Peeters wrote: I just rebuilt one of my lists' archive as ArchRunner was stuck and didn't archive messages again (apparently since Jan 19th! G) After running arch --wipe, I restarted ArchRunner, which is now working to catch up... (14000 messages to go!) I'm confused. I don't know why you ran bin/arch --wipe, and do you really have over 14000 new messages since Jan 19th? ArchRunner was stuck and didn't process mail anymore, and apparently has not been since Jan 19th. Running arch --wipe and then restarting ArchRunner unstuck it, and now it is catching up... (12600 to go atm) And yes, really 14k new messages! (It is a list I run for my wife, and there are 20+ women (and 2 men, including me, as list admin) chatting there on topics like machine-embroidery, doll-clothing, etc.! Does that say enough?...) The lists allows attachments, but I really do not need those archived... Is there a way to make the Archiver qrunner archive the emails *without* the attachments? (It seems to me that that would also speed up the process, but that is just a gut feeling!) No. There is really no way to not archive attachments that are allowed on the list. If you set scrub_nondigest = Yes, the attachments will be stored in the archive as the incoming message is processed and only links will be in the delivered messages and the messages in the archive queue, but it's too late for that in this case. H... Maybe I need to brush up my python skills then... G I tried Googling, but it comes up with a gazillion sites whose archives have been scanned by Google, so there is virtually no way to sensibly search for mailman related issues on Google... Sure there is. Just put site:mail.python.org and inurl:mailman (or mailman-users) in addition to your other search criteria. Also see http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq01.018.htp. I didn't think about searching for list content specifically! *smacks forehead* Thx for that! -- Francesco Peeters -- 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
Re: [Mailman-Users] Archive without attachments?
Mark Sapiro wrote: Francesco Peeters wrote: I just rebuilt one of my lists' archive as ArchRunner was stuck and didn't archive messages again (apparently since Jan 19th! G) After running arch --wipe, I restarted ArchRunner, which is now working to catch up... (14000 messages to go!) I'm confused. I don't know why you ran bin/arch --wipe, and do you really have over 14000 new messages since Jan 19th? I've had instances where once I rebuilt the archive, the size of the downloadable archive doubled (dupe messges in the gzip or txt). The only way to rebuild correctly was to do a --wipe. This was also a case where it stopped archiving as well. -- I-Ming Chen Facility Liaison Convention Operations, Manager Information Technology, Staff AX 2008 -- http://www.anime-expo.org/ -- 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] installation - which files linked from http?
Hi folks, Mailman is installed and running, but Newbie question: It isn't clear to me which files in my Mailman directory get symlinked from my http directory. Thanks. -- Bill Christensen http://greenbuilder.com/contact/ Green Building Professionals Directory: http://directory.greenbuilder.com Sustainable Building Calendar: http://www.greenbuilder.com/calendar/ Green Real Estate: http://www.greenbuilder.com/realestate/ Straw Bale Registry: http://sbregistry.greenbuilder.com/ Books/videos/software: http://bookstore.greenbuilder.com/ -- 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] Ongoing Delivery issues - an update
Thanks to all that offered advice regarding my ongoing delivery issues. You were all a great help. Unfortunately my hosting company was anything but a help. I'll only give you their initials (midPhase). They pretty much blamed everyone, AOL, my list size, the day of the week, etc. The last straw was their blaming of my local ISP's spam policy. If my local ISP was the ONLY recipient with issues, maybe I could almost believe them. Brian Carpenter was kind enough to offer to build a test list for me so I could convince myself where the problem was. After the last couple of responses from my PREVIOUS hosting company, I didn't need a test list. I decided to move my hosting to Brian's company, www.emwd.com , yesterday afternoon. The transition was extremely painless and quick (made so by being a cPanel user already). Today, I posted a message to my list and was immediately rewarded with messages in ALL of my test accounts INCLUDING Yahoo. Of course, I understand that Yahoo is hit or miss and won't hold my breath, but hey, this is an encouraging way to start a new relationship. Thanks again to all who offered me help. A special thanks to Brian and his team for making my move to a new home an easy and pleasant one. Rick Harris -- 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
Re: [Mailman-Users] Archive without attachments?
I-Ming Chen wrote: Mark Sapiro wrote: Francesco Peeters wrote: I just rebuilt one of my lists' archive as ArchRunner was stuck and didn't archive messages again (apparently since Jan 19th! G) After running arch --wipe, I restarted ArchRunner, which is now working to catch up... (14000 messages to go!) I'm confused. I don't know why you ran bin/arch --wipe, and do you really have over 14000 new messages since Jan 19th? I've had instances where once I rebuilt the archive, the size of the downloadable archive doubled (dupe messges in the gzip or txt). The only way to rebuild correctly was to do a --wipe. This was also a case where it stopped archiving as well. That is correct. You need the --wipe option if you are going to run bin/arch with the entire list.mbox/list.mbox (default) as input. However, I was not questioning why Francesco used the --wipe option. I was questioning why he felt it was necessary to run bin/arch at all as opposed to just restarting ArchRunner. -- 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://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
Re: [Mailman-Users] installation - which files linked from http?
billc wrote: It isn't clear to me which files in my Mailman directory get symlinked from my http directory. Assuming you are using Apache or some similar web server, the answer is none. The archives have static HTML pages which may, in the case of a public archive, by accessed via something like (for Apache) Alias /pipermail/ /path/to/mailman/archives/public/ Everything else is served by CGI scripts which are accessed via wrappers via something like (for Apache) ScriptAlias /mailman/ /path/to/mailman/cgi-bin/ -- 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://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] Mailman clustering
Hi. First, I'm afraid my English is very poor, sorry... :-| We're starting to move our internal mailman from a single server to a multiple servers architecture (starting with two servers). Digging on the list, we find two approaches to this problem: http://mail.python.org/pipermail/mailman-users/2006-November/054641.html http://mail.python.org/pipermail/mailman-users/2007-December/059625.html As far as we prefer to not patch the code, we will try the first solution (spanning qfiles slices handling to multiple qrunners, one on every server), but we find no examples for this configuration. Cite: IOW, machine 1 could handle the odd slices of qfile/in while machine 2 could handle the even slices How can we configure our mailman installation in order to do this? -- Luca Villani - Dada S.p.A. Tel: +39 055 20021517 Mobile: +39 335 8753086 ICQ: 76272621 Skype: luca.villani -- 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
Re: [Mailman-Users] Archive without attachments?
Mark Sapiro wrote: However, I was not questioning why Francesco used the --wipe option. I was questioning why he felt it was necessary to run bin/arch at all as opposed to just restarting ArchRunner. Further note. I'm not saying that it might not have been necessary to rebuild the archive. It may have been if the problem was a corrupt archive database. I'm just saying that in general in a case like this, one should look at Mailman's error log for clues as to what the problem is and not just blindly rebuild the archive. -- 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://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] Speaking of Archives
Is there any way you can delete certain archived messages? A list I'm involved with I'd like to archive some messages, but not the daily announcement messages that are posted to the list. Bonnie -- 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] Topic the receiver read
Hi, When i enable the topic in mailman and send single mail with multiple messages with keywords will it scan around the whole message and send mails, E.g: Mail Data: Keyward : message1 message 1 data . . . . . Keyward: message2 message 2 data . . . . and now will mailman deliver mail to people who have subscribed to keyword: message1 and message 2 respectively ? -- regards, Prashanth -- 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
Re: [Mailman-Users] Archive without attachments?
Mark Sapiro wrote: Mark Sapiro wrote: However, I was not questioning why Francesco used the --wipe option. I was questioning why he felt it was necessary to run bin/arch at all as opposed to just restarting ArchRunner. Further note. I'm not saying that it might not have been necessary to rebuild the archive. It may have been if the problem was a corrupt archive database. I'm just saying that in general in a case like this, one should look at Mailman's error log for clues as to what the problem is and not just blindly rebuild the archive. Restarting the ArchRunner did not make a difference, and the logs didn't give any clues. Having tried several other steps, I finally resorted to rebuilding the archive. Especially as I had a powerfailure somewhere mid January, I assumed it was likely the database, despite not seeing anything in logs. Rebuilding the archive for that list resolved the stuck status of the ArchRunner, so I guess my assumption was correct, or at least close enough... ;-) Anyway, it now has 161 message left to archive, so I hope to return to normal CPU levels soon... ;-) -- Francesco Peeters -- 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
Re: [Mailman-Users] Archive without attachments?
Francesco Peeters wrote: Restarting the ArchRunner did not make a difference, and the logs didn't give any clues. Having tried several other steps, I finally resorted to rebuilding the archive. Especially as I had a powerfailure somewhere mid January, I assumed it was likely the database, despite not seeing anything in logs. Rebuilding the archive for that list resolved the stuck status of the ArchRunner, so I guess my assumption was correct, or at least close enough... ;-) It seems like you did all the right things. I'm sorry I doubted you, but perhaps this thread will prove useful to others. Anyway, it now has 161 message left to archive, so I hope to return to normal CPU levels soon... ;-) Lets hope by the time you get this, things are back to normal. As another side note, it is a good idea to run some kind of daily report via cron to detect problems like this before they go to far. At a minimum, a cron that just does 'ls -lr /path/to/qfiles' will let you know if any queues are backing up. For a more elaborate report, see Brad Knowles' mmdsr script at http://sourceforge.net/tracker/index.php?func=detailaid=1123383group_id=103atid=300103. -- 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://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] Export List
I just wanted to confirm this command would output, to a text file, export_filename, the email addresses that are current subscribers to list listname ... I don't want to export addresses that are unsubscribed, hidden, nomail, etc. ./list_members -o export_filename -r listname -- 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
Re: [Mailman-Users] Speaking of Archives
Bonnie M wrote: Is there any way you can delete certain archived messages? A list I'm involved with I'd like to archive some messages, but not the daily announcement messages that are posted to the list. Deleting a message from the archive after the fact is a pain. See http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.003.htp. However, if you put either of the headers X-No-Archive: or X-Archive: No in a message to the list, it won't be archived in the first place. -- 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://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
Re: [Mailman-Users] Export List
Ki Song wrote: I just wanted to confirm this command would output, to a text file, export_filename, the email addresses that are current subscribers to list listname ... I don't want to export addresses that are unsubscribed, hidden, nomail, etc. ./list_members -o export_filename -r listname That will list only regular as opposed to digest members, but it will list 'hidden' and nomail members. If you omit the -r, it will list all members. if you add '-n enabled' it will not list anyone with delivery disabled. There is no way to tell list_members to not list 'hidden' members. -- 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://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
Re: [Mailman-Users] Topic the receiver read
Prashanth wrote: When i enable the topic in mailman and send single mail with multiple messages with keywords will it scan around the whole message and send mails, E.g: Mail Data: Keyward : message1 message 1 data . . . . . Keyward: message2 message 2 data . . . . and now will mailman deliver mail to people who have subscribed to keyword: message1 and message 2 respectively ? No. The first non-header-like line in the message body stops the scan. You would have to put Keywords: message1, message2 as the first body line. Also, it must be Keywords:, not Keyword: -- 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://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
Re: [Mailman-Users] Bug in Mailman version 2.1.9
Hi Mark,I see your considerations about permissions, but I don't know are SELinux. What is this? See attachment for more information. Thanks for your help!! Regards,Fabricio Date: Mon, 10 Mar 2008 12:16:35 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: mailman-users@python.org Subject: Re: RE: [Mailman-Users] Bug in Mailman version 2.1.9 Fabricio Oliveira wrote: Hi Mark,See attachment file with the log. Thank you for reposting the logs as an attachment. That is much better. Here is your log data with my comments interspersed. Log - /usr/local/mailman/logs/error Mar 08 10:48:37 2008 qrunner(1656): Traceback (most recent call last): Mar 08 10:48:37 2008 qrunner(1656): File '/usr/local/mailman/bin/qrunner', line 278, in ? Mar 08 10:48:37 2008 qrunner(1656): main() Mar 08 10:48:37 2008 qrunner(1656): File '/usr/local/mailman/bin/qrunner', line 238, in main Mar 08 10:48:37 2008 qrunner(1656): qrunner.run() Mar 08 10:48:37 2008 qrunner(1656): File '/usr/local/mailman/Mailman/Queue/Runner.py', line 71, in run Mar 08 10:48:37 2008 qrunner(1656): filecnt = self._oneloop() Mar 08 10:48:37 2008 qrunner(1656): File '/usr/local/mailman/Mailman/Queue/Runner.py', line 100, in _oneloop Mar 08 10:48:37 2008 qrunner(1656): msg, msgdata = self._switchboard.dequeue(filebase) Mar 08 10:48:37 2008 qrunner(1656): File '/usr/local/mailman/Mailman/Queue/Switchboard.py', line 150, in dequeue Mar 08 10:48:37 2008 qrunner(1656): fp = open(filename) Mar 08 10:48:37 2008 qrunner(1656): IOError : [Errno 13] Permission denied: '/usr/local/mailman/qfiles/in/1204984114.6525619+5fb960a623c129aa4c6faf55d72e84188d8bafc6.pck' This says that IncomingRunner can't read the referenced queue entry file. Based on the permissions you show below, this would seem impossible unless IncomingRunner was not running in the mailman group or there is some SELinux or other security policy preventing it. This can be caused by the runner being manually started or mailmanctl being run by a non-root user. Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.pck insecure string pickle Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.pck.last invalid load key, '¨'. Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.db [Errno 2] No such file or directory: '/usr/local/mailman/lists/cartaoberro/config.db' Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.db.last[Errno 2] No such file or directory: '/usr/local/mailman/lists/cartaoberro/config.db.last' Mar 08 11:04:45 2008 (1883) All cartaoberro fallbacks were corrupt, giving up Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.pckinsecure string pickle Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.pck.lastinvalid load key, '¨'. Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/c artaoberro/config.db[Errno 2] No such file or directory: '/usr/local/mailman/lists/cartaoberro/config.db' Mar 08 11:04:45 2008 (1883) couldn't load config file /usr/local/mailman/lists/cartaoberro/config.db.last[Errno 2] No such file or directory: '/usr/local/mailman/lists/cartaoberro/config.db.last' Mar 08 11:04:45 2008 (1883) All cartaoberro fallbacks were corrupt, giving up This and the error below are the same error from the admin web interface. It appears that both the config.pck and config.pck.last for the cartaoberro list are corrupt (the config.db* files normally don't exist in a mailman 2.1.x installation).Mar 08 11:04:45 2008 admin(1883): admin(1883): [- Mailman Version: 2.1.9 -] admin(1883): [- Traceback --] admin(1883): Traceback (most recent call last): admin(1883): File '/usr/local/mailman/scripts/driver', line 101, in run_main admin(1883): main() admin(1883): File '/usr/local/mailman/Mailman/Cgi/admin.py', line 75, in main admin(1883): admin_overview(_('No such list em%(safelistname)s/em')) admin(1883): File '/usr/local/mailman/Mailman/Cgi/admin.py', line 233, in admi n_overview admin(1883): mlist = MailList.MailList(name, lock=0) admin(1883): File '/usr/local/mailman/Mailman/MailList.py', line 130, in __ini t__ admin(1883): self.Load()admin(1883): File '/usr/local/mailman/Mailman/MailList.py', line 644, in Load admin(1883): raise Errors.MMCorruptListDatabaseError, e admin(1883): MMCorruptListDatabaseError: [Errno 2] No such file or directory: '/ usr/local/mailman/lists/cartaoberro/config.db.last' admin(1883): [- Python Information -] admin(1883): sys.version = 2.4.3 (#1, Jul 26 2006, 20:13:39)[GCC 3.4.6] admin(1883): sys.executable = /usr/bin/python admin(1883): sys.prefix
Re: [Mailman-Users] Mailman clustering
On mar, 2008-03-11 at 15:44 +0100, Mark Sapiro wrote: This still requires some patching or other machinations. First, this approach assumes that all the mutable Mailman directories are shared (NFS or ??) across machines. Yes, NFS, exported by a Netapp filer. We was planning to export the entire /usr/local/mailman but one of your hints prevent us to do this. What exactly are the mutable directories? The '1' in each case is the number of slices/qrunners per queue. You can copy that to mm_cfg.py and change '1' to '2' so that each queue will have two slices - 0:2 and 1:2. Ok. You want one machine to have only the runners processing the 0:2 slices and the other machine to have only the runners processing the 1:2 slices. This would require starting the qrunners manually on each machine which is not a good idea or patching mailmanctl along the lines of changing Ok. case). These would be added to the QRUNNER table in mm_cfg.py as follows: The first machine would have QRUNNERS = [ ('ArchRunner', 2,0,2), # messages for the archiver ('BounceRunner', 2,0,2), # for processing the qfile/bounces directory ('CommandRunner', 2,0,2), # commands and bounces from the outside world ('IncomingRunner', 2,0,2), # posts from the outside world ('NewsRunner', 2,0,2), # outgoing messages to the nntpd ('OutgoingRunner', 2,0,2), # outgoing messages to the smtpd ('VirginRunner', 2,0,2), # internally crafted (virgin birth) messages ('RetryRunner',2,0,2), # retry temporarily failed deliveries ] and the second would be as above except with 2,1,2 instead of 2,0,2. As far as mm_cfg.py must be different on each server, it prevent to export the entire /usr/local/mailman. Ok, thank tou very much for the hints. AFAIK with this configuration, we can start the webinterface on each server, right? -- Luca Villani - Dada S.p.A. Tel: +39 055 20021517 Mobile: +39 335 8753086 ICQ: 76272621 Skype: luca.villani -- 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
Re: [Mailman-Users] Mailman clustering
Luca Villani wrote: On mar, 2008-03-11 at 15:44 +0100, Mark Sapiro wrote: This still requires some patching or other machinations. First, this approach assumes that all the mutable Mailman directories are shared (NFS or ??) across machines. Yes, NFS, exported by a Netapp filer. We was planning to export the entire /usr/local/mailman but one of your hints prevent us to do this. What exactly are the mutable directories? The mutable (changeable) directories are those in the VAR_PREFIX (set by the configure --with-var-prefix= option) directory as opposed to the PREFIX and EXEC_PREFIX directories. These directories are archives/, lists/, logs/, locks/, data/ and spam/. The ones that must be shared are archives/, lists/, locks/, and data/. The spam/ directory is only used when a message is 'preserved for the admin' in the admindb interface. That and the logs/ are probably best shared. Other directories can be shared or not except if the separate instances have separate mm_cfg.py files, then the Mailman/ directory needs to be unique per machine. As far as mm_cfg.py must be different on each server, it prevent to export the entire /usr/local/mailman. Correct. Ok, thank tou very much for the hints. AFAIK with this configuration, we can start the webinterface on each server, right? Correct again. -- 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://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
Re: [Mailman-Users] Bug in Mailman version 2.1.9
Fabricio Oliveira wrote: Hi Mark, I see your considerations about permissions, but I don't know are SELinux. What is this? SELinux is a security policy manager that can prevent file access based on security policies even though the access would be allowed by file permissions. I stoped the python's services and I restarted the service with the command below: [EMAIL PROTECTED]:/usr/local/mailman/bin# ./mailmanctl stop Shutting down Mailman's master qrunner [EMAIL PROTECTED]:/usr/local/mailman/bin# ps -fAww |grep python [EMAIL PROTECTED]:/usr/local/mailman/bin# ./mailmanctl start Starting Mailman's master qrunner. After restarted the service, the following pid appear: [EMAIL PROTECTED]:/usr/local/mailman/bin# ps -fAww |grep python mailman 27184 1 0 12:54 ?00:00:00 /usr/bin/python ./mailmanctl start mailman 27185 27184 4 12:54 ?00:00:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=ArchRunner:0:1 -s mailman 27186 27184 56 12:54 ?00:00:02 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=BounceRunner:0:1 -s mailman 27187 27184 4 12:54 ?00:00:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=CommandRunner:0:1 -s mailman 27188 27184 4 12:54 ?00:00:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s mailman 27189 27184 4 12:54 ?00:00:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=NewsRunner:0:1 -s mailman 27190 27184 4 12:54 ?00:00:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s mailman 27191 27184 5 12:54 ?00:00:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=VirginRunner:0:1 -s mailman 27192 27184 5 12:54 ?00:00:00 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=RetryRunner:0:1 -s OK, so now Mailman started properly, and the lock file and perhaps qfile problems may be solved. The page continue with the error: Bug in Mailman version 2.1.9 We're sorry, we hit a bug! Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs. This error had nothing to do with the other problems. This error is apparently due to the configuration files for the cartaoberro list being corrupt. The error log entries you posted previously indicate that the data from the /usr/local/mailman/lists/cartaoberro/config.pck and /usr/local/mailman/lists/cartaoberro/config.pck.last files couldn't be loaded. It appears that these files are corrupt. If you have a backup, I suggest you try restoring these files from the backup. Without that, you can try to dump the files with Mailman's bin/dumpdb, but that will probably fail in the same way. If so, the best you may be able to do is use the strings command to try to extract as much information as possible from these files and use it to recreate the list. -- 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://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
Re: [Mailman-Users] Mailman clustering
On 3/11/08, Mark Sapiro quoted Luca Villani: As far as mm_cfg.py must be different on each server, it prevent to export the entire /usr/local/mailman. Correct. Couldn't you put both configuration files in the same directory, with slightly different file names, and then specify on the startup command-line which particular configuration file to use for which instance of Mailman? Okay, so you'd have to have /etc/init.d/whatever startup scripts that would be slightly different on the two machines, but at least the /usr/local/mailman stuff should be able to be fully shared via NFS. -- 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://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
Re: [Mailman-Users] installation - which files linked from http?
At 6:48 AM -0700 3/11/08, Mark Sapiro wrote: billc wrote: It isn't clear to me which files in my Mailman directory get symlinked from my http directory. Assuming you are using Apache or some similar web server, the answer is none. The archives have static HTML pages which may, in the case of a public archive, by accessed via something like (for Apache) Alias /pipermail/ /path/to/mailman/archives/public/ Everything else is served by CGI scripts which are accessed via wrappers via something like (for Apache) ScriptAlias /mailman/ /path/to/mailman/cgi-bin/ Yes, apache2 with Postfix. Ok, that makes sense now. Apache and Postfix have been restarted, but unfortunately I'm not connecting. Mailman list has been created. Testlist and testlist2 have been created. All three are in archives/private/ The Your new mailing list: testlist2 email was sent and received. I'm getting /mailman/admin/testlist2 was not found on this server, and similar for all other URLs I've attempted. I'm running virtual domains, in case that makes a difference. Obviously I'm missing something somewhere. Any clues gladly welcomed. -- Bill Christensen http://greenbuilder.com/contact/ Green Building Professionals Directory: http://directory.greenbuilder.com Sustainable Building Calendar: http://www.greenbuilder.com/calendar/ Green Real Estate: http://www.greenbuilder.com/realestate/ Straw Bale Registry: http://sbregistry.greenbuilder.com/ Books/videos/software: http://bookstore.greenbuilder.com/ -- 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