Re: [Mailman-Users] MemoryError
At 9:12 PM -0600 2005-10-30, [EMAIL PROTECTED] wrote: admin(7105): File /usr/local/cpanel/3rdparty/mailman/scripts/driver, line 101, in run_main Please see http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.011.htp. -- Brad Knowles, [EMAIL PROTECTED] Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 SAGE member since 1995. See http://www.sage.org/ for more info. -- 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] Problem with Mailman archives
Hi I use the Mailman program to run 5 mailing lists, great program to do it, but now (after an upgrade I think) the archives are no longer functioning: Not Found The requested URL /pipermail/listacac/ was not found on this server. Must I create the pipermail account? I have Mailman 2.1.5 in a Debian box (Linux gentzen 2.6.7 #2 SMP Mon Jul 19 16:03:29 WEST 2004 i686 GNU/Linux). Thanks. -- At\'e breve Professor Auxiliar Pedro Quaresma Departamento de Matem\'atica Faculdade de Ci\^encias e Tecnologia Universidade de Coimbra P-3001-454 COIMBRA, PORTUGAL correio-e: [EMAIL PROTECTED] p\'agina: http://www.mat.uc.pt/~pedro/ telef: +351 239 791 181; fax: +351 239 832 568 -- 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] We're sorry, we hit a bug! but no logs???
Thought I had cracked it. Click on Create to make my first list and I get: Bug in Mailman version 2.1.5 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. OK fine, but there are no files in $prefix/logs and nothing in the system log. Darkness is closing in! Thanks for any guidance as always. Brian -- 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] MemoryError
Mark, Here is your reply that you wanted bounced to the list. I did a little more digging with the customer and found out that he was trying to import 250,000 new emails to the list he created so your answer might have hit the nail on the head. Brad Thanks for your reply, I will make sure to check check with the CPanel folks as well when I run into issues. Thanks! Zeus -Original Message- From: Mark Sapiro Sent: Sunday, October 30, 2005 9:14 PM To: [EMAIL PROTECTED] Subject: RE: [Mailman-Users] MemoryError [EMAIL PROTECTED] wrote: Sorry, didnt realize I had missed that Oct 29 18:07:35 2005 admin(7105): admin(7105): [- Mailman Version: 2.1.6 -] admin(7105): [- Traceback --] admin(7105): Traceback (most recent call last): admin(7105): File /usr/local/cpanel/3rdparty/mailman/scripts/driver, line 101, in run_main admin(7105): main() admin(7105): File /usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admin.py, line 198, in main admin(7105): mlist.Save() admin(7105): File /usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py, line 557, in Save admin(7105): self.__save(dict) admin(7105): File /usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py, line 514, in __save admin(7105): cPickle.dump(dict, fp, 1) admin(7105): MemoryError I can't tell you a whole lot. First, please see http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.011.htp That said, the error occurs in saving the mail list object. This code is exercised continuously for all lists, so the error must have somethig to do with this list in particular. A MemoryError exception is a built-in Python exception Raised when an operation runs out of memory but the situation may still be rescued (by deleting some objects). How many members does this list have? According to the FAQ, the largest list reported to date has 147,000 members and presumably works. Possibly something in the cPanel implementation or your particular installation limits this to a greater degree. Possibly, there's something amis in the list's config.pck file, but short of dumping it with bin/dumpdb or maybe listing members with bin/list_members and examining those outputs for 'garbled data', I wouldn't know what to look for. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -Original Message- From: Mark Sapiro Sent: Sunday, October 30, 2005 12:37 AM To: [EMAIL PROTECTED]; mailman-users@python.org Subject: Re: [Mailman-Users] MemoryError [EMAIL PROTECTED] wrote: I am getting the following error with mailman 2.1.6, red-hat. It started to occur while a customer was importing a new set of email adresss into their mailinglist. They can login to the webadmin, but when they click on Membership they get the Weve Hit A Bug message. This is what I see in the error.log I have searched around for what it could be, but cant find anything on this specific problem admin(7105): MemoryError admin(7105): [- Python Information -] admin(7105): sys.version = 2.2.3 (#1, Feb 2 2005, 12:20:51) [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-49)] snip And what immediately precedes this in the log. The part that begins: mmm dd hh:mm:ss admin(pid): admin(pid): [- Mailman Version: 2.1.6 -] admin(pid): [- Traceback --] followed by the traceback. -- 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] We're sorry, we hit a bug! but no logs???
Thought I had cracked it. Click on Create to make my first list and I get: Bug in Mailman version 2.1.5 * * * I use 2.1.5 mailman version. This version has bugs ? better to use 2.1.6 ? Thanks ! antoine -- 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] Trimming archives
Hello, In reviewing posts to this mailing list, I found that it is not possible to prune the archives. However, we will need to do something shortly because the filesystem that we have mailman on is now 84% full, mostly due to the growing archives. We are using LVM under Linux and I can increase the space but I would like to see if we can compress any older files in the archive directory first. For instance, we have one mbox, ./archives/private/opr.mbox/opr.mbox that is 700MB is growing everyday. It is our operators list. Can I gzip it and create a new opr.mbox by touching it? Also, there are some text files ./archives/private/opr/2005-October.txt that is 500+ MB. Can .txt files compressed and still useable by the system? Is anybody doing anything to archive older, unused mailman archives to tape? We use Tivoli (TSM) here and wanted to know if anybody has something automated for this. Darren ODU -- 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] email from Mailman (cron)l
IOError: [Errno 13] Permission denied: '/var/lib/mailman/locks/gate_news.lock.aw.4567.0' It means the gate_news cron doesn't have permission to create a lock file. It appears that the crontab belongs to you (antoine). It needs to be installed as 'mailman' so it runs as group 'mailman'. ** ok ! But how to declare the cron job for mailman user ? I type : # cron crontab.in Many thanks. antoine -- 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] unwinding mailman's use of domains
Heather Madrone wrote: Another possibility (given that I know very little about Mailman's innards) is that configuring the host name at make time causes a different behavior than configuring it mm_cfg.py. I don't know whether that makes sense, but it is one of the things that I did differently this time around. Providing the correct names to configure causes the correct values to be assigned to DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST and the VIRTUAL_HOSTS dictionary (add_virtualhost) in Defaults.py so that none of these actually need to be mentioned in mm_cfg.py because they are already correct. That's all it does. (So much else is different -- different versions of Python, Mailman, Apache, Postfix instead of exim for the MTA, the operating system, the hardware -- that it might be difficult to figure out exactly what is causing the improved behavior.) When you visit the web interface using some 'other' host, e.g., http://localhost/mailman/listinfo, is that what appears in the address bar of the browser with the resulting page or is it http://www.host.domain/mailman/listinfo? If the latter, then Apache is rewriting it somehow. All my lists show on all hosts (this did not happen in my previous Mailman installation), Since VIRTUAL_HOST_OVERVIEW has the default On setting, I think this has to be Apache providing a fixed host name. For example, there might be a SetEnv or PassEnv in httpd.conf to set HTTP_HOST to www.host.domain in all cases. -- 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] Problem with Mailman archives
Pedro Quaresma wrote: I use the Mailman program to run 5 mailing lists, great program to do it, but now (after an upgrade I think) the archives are no longer functioning: Not Found The requested URL /pipermail/listacac/ was not found on this server. Must I create the pipermail account? This is normally handled in Apache with something like Alias /pipermail/ /var/mailman/archives/public/ in the appropriate place in httpd.conf. Also, the web server must follow symlinks in the /var/mailman/archives/public/ directory. (The actual path may be different in your case.) See http://www.list.org/mailman-install/node10.html. -- 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] We're sorry, we hit a bug! but no logs???
Brian Parish wrote: Thought I had cracked it. Click on Create to make my first list and I get: Bug in Mailman version 2.1.5 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. OK fine, but there are no files in $prefix/logs and nothing in the system log. By default, they're in $var_prefix/logs if that makes a difference. Look in mm_cfg.py for an assignment to LOG_DIR. If there isn't one, look in Defaults.py in case someone changed it there. -- 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] We're sorry, we hit a bug! but no logs???
--On 31. oktober 2005 15:20 +0100 antoine [EMAIL PROTECTED] wrote: Thought I had cracked it. Click on Create to make my first list and I get: Bug in Mailman version 2.1.5 * * * I use 2.1.5 mailman version. This version has bugs ? better to use 2.1.6 ? Thanks ! antoine I had the same error on my 2.1.6 on FreeBSD 5.4. The solution was to deinstall it and also delete directory mailman as well and the install new fresh copy. Why this happened I still don't know. But after that I haven't had any problems. Sasa pgpRFAAiLiH5q.pgp Description: PGP signature -- 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] Trimming archives
Darren G Pifer wrote: In reviewing posts to this mailing list, I found that it is not possible to prune the archives. I don't know what gave you that idea. Perhaps you saw my post at http://mail.python.org/pipermail/mailman-users/2005-October/047180.html, but that only said There is no option within Mailman to prune old messages from the archives. It meant an automatic process. There are lots of ways to do it manually. However, we will need to do something shortly because the filesystem that we have mailman on is now 84% full, mostly due to the growing archives. We are using LVM under Linux and I can increase the space but I would like to see if we can compress any older files in the archive directory first. For instance, we have one mbox, ./archives/private/opr.mbox/opr.mbox that is 700MB is growing everyday. It is our operators list. Can I gzip it and create a new opr.mbox by touching it? You can gzip it and Mailman will create a new one automatically for the next message. If you don't need the old archives online, you can do much more, but there is a CAVEAT which may or may not be important. If you do the following, the URLs of the remaining individual archive messages will change and any saved links to these messages will break or return the wrong message. Here's the process. Back up archives/private/opr.mbox/opr.mbox off line. Edit the file and delete all but the recent entries that you want to keep. Then do bin/arch --wipe opr This will rebuild the entire archive with only the recent messages. If preserving the message numbers and recent URLs is important, you have a couple of choices. Instead of deleting the old messages from the .mbox, you could edit them to replace the message body with something like Message archived off line. and then rebuild. Or you could just gzip or backup off line the .mbox and let Mailman create a new one starting with the next message. This way, the HTML archive will still be complete, but if you ever need to rebuild it, you have a more complex process. You will have to recreate the full .mbox at least temporarily and rebuild the archive from that or you can do it in pieces like bin/arch --wipe opr archived_opr.mbox bin/arch opr which recreates the archive with the old messages and then adds the current messages. Also see Brad's reply in this thread http://mail.python.org/pipermail/mailman-users/2005-October/047440.html. -- 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] email from Mailman (cron)l
antoine wrote: But how to declare the cron job for mailman user ? I type : # cron crontab.in First do su mailman -- 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] email from Mailman (cron)l
Mark Sapiro wrote: antoine wrote: But how to declare the cron job for mailman user ? I type : # cron crontab.in First do su mailman The above reply was a bit hasty. It may work in your case, but normally 'cron' would start the cron daemon and wouldn't take an argument. Normally the cron daemon is started by init at startup time. Maybe you meant you typed crontab crontab.in or maybe cron is an alias for crontab in your case. Installing a crontab for the mailman user can be done by root with crontab -u mailman crontab.in or if you can log in as mailman, you can just do crontab path/to/crontab.in The following: su mailman crontab crontab.in is not recommended. See 'man crontab'. -- 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] Mailing List: Only administrator / owner of list shall be allowed to post
Hello, I want to set up a mailing list, where only the administrator / owner of list shall be allowed to post messages to the list. How do I configure this? Oliver König -- 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] Mailing List: Only administrator / owner of list shall be allowed to post
In a flurry of recycled electrons, Oliver [K_nig] wrote: Hello, I want to set up a mailing list, where only the administrator / owner of list shall be allowed to post messages to the list. How do I configure this? please check the FAQ, url is below. (look for 'announce only' or some such) z! -- 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/cpz%40tuunq.com Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp -- 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] Mailing List: Only administrator / owner of list shall be allowed to post
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.011.htp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Carl Zwanzig Sent: Monday, October 31, 2005 12:06 PM To: Oliver [K_nig] Cc: mailman-users@python.org Subject: Re: [Mailman-Users] Mailing List: Only administrator / owner of list shall be allowed to post In a flurry of recycled electrons, Oliver [K_nig] wrote: Hello, I want to set up a mailing list, where only the administrator / owner of list shall be allowed to post messages to the list. How do I configure this? please check the FAQ, url is below. (look for 'announce only' or some such) z! -- 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/cpz%40tuunq.com Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp -- 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/cad%40cox.net Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp -- 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] Setting up mailman
Hi, I have installed the mailma successfully, In our school we use mailing list to inform thousands of students about the campus events, we run tiger (mac os X server) and as I look at the old configuration in our old servers (10.3), I can see the previous admin that he placed the list folder (contains text files with email address) and list_config folder (contains config files associate with those lists) residing in our file server(for back up purpose). I am not sure how this process works and if you can help me to setup mailman that my lists and config_lists are residing in another server, that would be great. thanks -Popak -- 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] ISO-8859-1/Latin1 vs UTF-8
On Mon, 2005-10-24 at 14:05 -0700, Mark Sapiro wrote: Bernd Petrovitsch wrote: I actually reported a bug (though it may not sound so): I enter (apparently) UTF-8 text (with Firefox it that is important) and it comes back disguised (and as part of) ISO-8859-1 text. The question is: Which part is doing something wrong and how to fix it? What happens here is that Mailman creates the web page with the META tag in the header META http-equiv=Content-Type content=text/html; charset= where is the encoding of the language of the list (default iso-8859-1 for German), but the web server sends its own http Content-Type: header specifying charset=utf-8. For reasons I don't understand, the HTML standard says the server provided Content-Type: charset takes priority over that specified by an HTML META tag. I don't understand it either but it is so. BTW I usually disable the feature in the webserver config. Thus your browser sets it's encoding as utf-8, but mailman thinks what it gets back is iso-8859-1 and thus garbles the multibyte unicode sequences. It can be fixed by setting the 'German' character set to utf-8 and recoding the German language templates, messages and list archives in utf-8 as discussed in the archive threads I mentioned previously. Done. I have now a German and an English template both specifying UTF-8 as charset *and* UTF-8 text in there (especially in the German one). But the crazy thing ist that the English page is - according to Page Info in Firefox and on the shell with `wget --post-data=language=de -S https://lists.funkfeuer.at/mailman/listinfo/user` - delivered as UTF-8 and the German one as ISO-8859-1 as you (and everybody else) can see on https://lists.funkfeuer.at/mailman/listinfo/user. The German summary on both pages has been entered through the web interface of the list administrator. Alternatively, it can be addressed in the web server by configuring it so it doesn't specify these documents as utf-8. This is IMHO the case. snip 711#grep AddDef /etc/apache2/apache2.conf AddDefaultCharset off snip Bernd -- Firmix Software GmbH http://www.firmix.at/ mobil: +43 664 4416156 fax: +43 1 7890849-55 Embedded Linux Development and Services -- 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] Bad error message
I just spent the day fixing what turned out to be a bad qmail install, but was compounded by a bad error message in mailman. I don't expect any help with the qmail issue, but I thought people might want to know about the bad error message from mailman. Basically, when a message came in from the Internet that was bound for a mailman list, I was seeing the following message in my qmail logs: ===8- delivery 13: deferral: Failure_to_find_group_name_nofiles.__Try_adding_this_group/ to_your_system,_or_re-run_configure,_providing_an/ existing_group_name_with_the_command_line_option_--with-mail-gid./ ===8- It was driving me nuts because the 'nofiles' group does exist in /etc/group and was being used by some of the qmail processes. After much digging around, I finally found that the message was coming from the 'mailman' program itself. In src/common.c, line 142, there is a fatal() call in 'check_caller()' if the caller's GID fails to resolve to a name (getgrgid() returns a NULL). The error message though is misleading. I thought that it had a group name (nofiles) and couldn't resolve it to a GID. Since there was a 'nofiles' group, I didn't know what was going on. As it turned out, the qmail delivery program was running under a GID that didn't have a group entry and was thus triggering the error. I think a better error message would be something like: Failure to find group name for GID %d: Once I changed the message to that, it was easy to see what was going on. /dwight -- Dwight N. Tovey email: [EMAIL PROTECTED] web: http://www.dtovey.net/~dwight --- dd if=/dev/zero of=/Win95 -- 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] Trying again with the latest version - bug in install doc?
I got 2.1.5 supposedly working, although it was failing to send messages to mailing list subscribers. Anyway, instead of debugging that I have decided to try the latest version. Installed from source using the default locations. Everything looks smooth until genaliases. Same problem as first time around, except that then I thought the reason was a fault in my settings in mm_cfg.py bin/genaliases runs without any errors, but generates only data/aliases, not data/virtual-mailman By the time we get to this step, the install docs have had me enter virtual-mailman in my postfix/main.cf, so the fact that it isn't generated breaks postfix very effectively. Presumably some later step creates the circumstances under which virtual-mailman is created? Anyway, my mm_cfg.py looks like this: - # Put YOUR site-specific settings below this line. IMAGE_LOGOS = '/icons/' MTA = 'Postfix' POSTFIX_STYLE_VIRTUAL_DOMAINS = ['univexhosting.com'] DEFAULT_URL_HOST = 'www.univexsystems.com' DEFAULT_EMAIL_HOST = 'univexhosting.com' # Because we've overriden the virtual hosts above add_virtualhost # MUST be called after they have been defined. add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) - and: [EMAIL PROTECTED] [/usr/local/mailman]# bin/genaliases [EMAIL PROTECTED] [/usr/local/mailman]# ll data total 44 drwxrwsr-x2 root mailman 4096 Nov 1 13:04 ./ drwxrwsr-x 20 root mailman 4096 Nov 1 13:12 ../ -rw-rw1 mailman mailman 357 Nov 1 14:28 aliases -rw-r-1 mailman mailman 12288 Nov 1 14:28 aliases.db -rw-r--r--1 root mailman10 Nov 1 12:51 last_mailman_version -rw-r--r--1 root mailman 14110 Nov 1 12:49 sitelist.cfg What am I missing here? TIA Brian -- 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] Trying again with the latest version - bug ininstall doc?
Brian Parish wrote: Installed from source using the default locations. Everything looks smooth until genaliases. Same problem as first time around, except that then I thought the reason was a fault in my settings in mm_cfg.py bin/genaliases runs without any errors, but generates only data/aliases, not data/virtual-mailman By the time we get to this step, the install docs have had me enter virtual-mailman in my postfix/main.cf, so the fact that it isn't generated breaks postfix very effectively. Presumably some later step creates the circumstances under which virtual-mailman is created? Anyway, my mm_cfg.py looks like this: - # Put YOUR site-specific settings below this line. IMAGE_LOGOS = '/icons/' MTA = 'Postfix' POSTFIX_STYLE_VIRTUAL_DOMAINS = ['univexhosting.com'] DEFAULT_URL_HOST = 'www.univexsystems.com' DEFAULT_EMAIL_HOST = 'univexhosting.com' # Because we've overriden the virtual hosts above add_virtualhost # MUST be called after they have been defined. add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) - and: [EMAIL PROTECTED] [/usr/local/mailman]# bin/genaliases [EMAIL PROTECTED] [/usr/local/mailman]# ll data total 44 drwxrwsr-x2 root mailman 4096 Nov 1 13:04 ./ drwxrwsr-x 20 root mailman 4096 Nov 1 13:12 ../ -rw-rw1 mailman mailman 357 Nov 1 14:28 aliases -rw-r-1 mailman mailman 12288 Nov 1 14:28 aliases.db -rw-r--r--1 root mailman10 Nov 1 12:51 last_mailman_version -rw-r--r--1 root mailman 14110 Nov 1 12:49 sitelist.cfg What am I missing here? Most likely your lists have host_name attributes different from 'univexhosting.com'. Run bin/fix_url.py stand alone for instructions on how to run it under withlist to fix this problem. -- 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] Trying again with the latest version - bug ininstall doc?
On Tuesday 01 November 2005 15:20, Mark Sapiro wrote: Brian Parish wrote: Installed from source using the default locations. Everything looks smooth until genaliases. Same problem as first time around, except that then I thought the reason was a fault in my settings in mm_cfg.py bin/genaliases runs without any errors, but generates only data/aliases, not data/virtual-mailman By the time we get to this step, the install docs have had me enter virtual-mailman in my postfix/main.cf, so the fact that it isn't generated breaks postfix very effectively. Presumably some later step creates the circumstances under which virtual-mailman is created? Anyway, my mm_cfg.py looks like this: - # Put YOUR site-specific settings below this line. IMAGE_LOGOS = '/icons/' MTA = 'Postfix' POSTFIX_STYLE_VIRTUAL_DOMAINS = ['univexhosting.com'] DEFAULT_URL_HOST = 'www.univexsystems.com' DEFAULT_EMAIL_HOST = 'univexhosting.com' # Because we've overriden the virtual hosts above add_virtualhost # MUST be called after they have been defined. add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) - and: [EMAIL PROTECTED] [/usr/local/mailman]# bin/genaliases [EMAIL PROTECTED] [/usr/local/mailman]# ll data total 44 drwxrwsr-x2 root mailman 4096 Nov 1 13:04 ./ drwxrwsr-x 20 root mailman 4096 Nov 1 13:12 ../ -rw-rw1 mailman mailman 357 Nov 1 14:28 aliases -rw-r-1 mailman mailman 12288 Nov 1 14:28 aliases.db -rw-r--r--1 root mailman10 Nov 1 12:51 last_mailman_version -rw-r--r--1 root mailman 14110 Nov 1 12:49 sitelist.cfg What am I missing here? Most likely your lists have host_name attributes different from 'univexhosting.com'. Run bin/fix_url.py stand alone for instructions on how to run it under withlist to fix this problem. Hmmm. At this point in the install, I don't have any lists. No less confused here, but I guess I'll go ahead and continue with the additional steps in the hope that once I have a list to fix, I can fix it and thereby address this problem. If that works, surely the sequence of steps in the install doc is borked. Thanks for the help Mark! cheers Brian -- 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] Bad error message
Dwight Tovey wrote: It was driving me nuts because the 'nofiles' group does exist in /etc/group and was being used by some of the qmail processes. After much digging around, I finally found that the message was coming from the 'mailman' program itself. In src/common.c, line 142, there is a fatal() call in 'check_caller()' if the caller's GID fails to resolve to a name (getgrgid() returns a NULL). The error message though is misleading. I thought that it had a group name (nofiles) and couldn't resolve it to a GID. Since there was a 'nofiles' group, I didn't know what was going on. As it turned out, the qmail delivery program was running under a GID that didn't have a group entry and was thus triggering the error. I think a better error message would be something like: Failure to find group name for GID %d: Once I changed the message to that, it was easy to see what was going on. Sorry you had such a runaround on this. If you had searched the archives of this list, you might have found http://mail.python.org/pipermail/mailman-users/2005-October/046934.html which might have helped. Anyway, thanks for the report. I have developed a patch for the message which will make it to SourceForge and into CVS as soon as I have a chance to compile and test it. -- 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] Trying again with the latest version - bug ininstall doc?
On Tuesday 01 November 2005 15:42, Brian Parish wrote: On Tuesday 01 November 2005 15:20, Mark Sapiro wrote: Brian Parish wrote: Installed from source using the default locations. Everything looks smooth until genaliases. Same problem as first time around, except that then I thought the reason was a fault in my settings in mm_cfg.py bin/genaliases runs without any errors, but generates only data/aliases, not data/virtual-mailman By the time we get to this step, the install docs have had me enter virtual-mailman in my postfix/main.cf, so the fact that it isn't generated breaks postfix very effectively. Presumably some later step creates the circumstances under which virtual-mailman is created? Anyway, my mm_cfg.py looks like this: - # Put YOUR site-specific settings below this line. IMAGE_LOGOS = '/icons/' MTA = 'Postfix' POSTFIX_STYLE_VIRTUAL_DOMAINS = ['univexhosting.com'] DEFAULT_URL_HOST = 'www.univexsystems.com' DEFAULT_EMAIL_HOST = 'univexhosting.com' # Because we've overriden the virtual hosts above add_virtualhost # MUST be called after they have been defined. add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) - and: [EMAIL PROTECTED] [/usr/local/mailman]# bin/genaliases [EMAIL PROTECTED] [/usr/local/mailman]# ll data total 44 drwxrwsr-x2 root mailman 4096 Nov 1 13:04 ./ drwxrwsr-x 20 root mailman 4096 Nov 1 13:12 ../ -rw-rw1 mailman mailman 357 Nov 1 14:28 aliases -rw-r-1 mailman mailman 12288 Nov 1 14:28 aliases.db -rw-r--r--1 root mailman10 Nov 1 12:51 last_mailman_version -rw-r--r--1 root mailman 14110 Nov 1 12:49 sitelist.cfg What am I missing here? Most likely your lists have host_name attributes different from 'univexhosting.com'. Run bin/fix_url.py stand alone for instructions on how to run it under withlist to fix this problem. Hmmm. At this point in the install, I don't have any lists. No less confused here, but I guess I'll go ahead and continue with the additional steps in the hope that once I have a list to fix, I can fix it and thereby address this problem. If that works, surely the sequence of steps in the install doc is borked. Update - after doing step 8 in the install - creating the site wide list I can use the fix_url script and virtual-mailman is created. So unless I missed a step somewhere, I would suggest that the install doc for postfix at step 6 needs to be reviewed. thanks again Brian -- 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