[Mailman-Users] deleting a big message queue
Hi. I have a very big message queue for a mailing list. The queue is so big that the web page http://lists.xxx/mailman/admindb/yyy takes to long that the server times out. How can I delete the message queue using mailman internal API? Thanks Manlio Perillo -- 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
Re: [Mailman-Users] nginx + thttpd configuration for mailman
Manlio Perillo ha scritto: Hi. I have successfully configured nginx to handle the mailman web interface. CGI executions is delegated to thttpd. If someone is interested I can post the configuration. I have posted the configuration guide in: http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.023.htp Manlio Perillo -- 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] nginx + thttpd configuration for mailman
Hi. I have successfully configured nginx to handle the mailman web interface. CGI executions is delegated to thttpd. If someone is interested I can post the configuration. Manlio Perillo -- 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] move a mailman instance to a new server (and new version)
Hi. I need to move a Mailman instance to a new server, and from a 2.1.5-8 (Debian Sarge) to 2.1.9-8 (Ubuntu Gutsy). In /var/lib there are a lot of pickle serialized data. What can be moved and how? I would like to copy the configuration for each list and the mailman state (to make sure not to lost some messages). Thanks Manlio Perillo -- 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] move a mailman instance to a new server (and newversion)
Mark Sapiro ha scritto: Manlio Perillo wrote: I need to move a Mailman instance to a new server, and from a 2.1.5-8 (Debian Sarge) to 2.1.9-8 (Ubuntu Gutsy). See http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.004.htp. Done. In /var/lib there are a lot of pickle serialized data. Directly in /var/lib/ as in /var/lib/*.pck or in some subdirectories? /var/lib/mailman/lists/list/*.pck Are they current? Are they group owned by 'mailman'? What do you mean by 'current'? Yes they are owned by list. Without more information such as directory, filename and/or results of bin/dumpdb, I don't have any idea what these might be. They are pickle dumps. What I would like to know if it is safe to load these files with a different mailman version (ad a different version of Python). It seems that it is only a dictionary, so it should be safe. Thanks Manlio Perillo -- 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] a few questions about the NNTP gateway
Brad Knowles ha scritto: On 8/25/07, Manlio Perillo wrote: Do the debian maintainer of Mailman frequent this mailing list? Not so far as I know. Improved contact between our project and the other projects which take our code and create binary packages is one thing that we would like to work on, but of course the two biggest problems are: [...] That's strange. One of the Debian policicy is the strict contact between the package maintainer and the upstream software authors. The Debian maintainer(s) of Mailman can be easily found at: http://packages.qa.debian.org/m/mailman.html Regards Manlio Perillo -- 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] a few questions about the NNTP gateway
Barry Finkel ha scritto: [...] Sorry for the late response. I think that the lack of documentation in the code can be considered a bug. Then I would have to file a bug report on almost all of the Debian/Ubuntu patches to Mailman. I looked at them all, and I discarded most. I kept a few that were related to where libraries were put. I was not interested in making source code modifications where 1) I don't fully understand the source that comes from SourceForge, and 2) there is no documentation as to what the Debian changes do. It would be nice to know what each change does, but since I am not installing most of them, it really does not matter. Do the debian maintainer of Mailman frequent this mailing list? Regards Manlio Perillo -- 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] a few questions about the NNTP gateway
Barry Finkel ha scritto: [...] The patches were, for the most part, undocumented, so I had no idea exactly what they did. Nor did I know if they would fit into the 2.1.9 source, as some of the patches were based on pre-2.1.5 code. Manlio Perillo replied: This was unexpected! Do you have opened a bug report? No, because [...] 2) I have no idea if there is a bug. I Sorry for the late response. I think that the lack of documentation in the code can be considered a bug. Regards Manlio Perillo -- 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] a few questions about the NNTP gateway
Mark Sapiro ha scritto: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manlio Perillo wrote: 1) The messages from the newsgroup are not sent on the mailing list. I don't know why, there is nothing in the error log Is Mailman's cron/gate_news being run every five minutes from Mailman's crontab? Thanks: the cron tab entry is still commented. However I think that this should be documented in the admnistrative web interface. Regards Manlio Perillo -- 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] a few questions about the NNTP gateway
Barry Finkel ha scritto: Brad Knowles wrote in reply to a posting: And I'm not at all convinced that security problems are not a problem, with Debian or any other OS, for that matter. Especially not with an old binary package that is based on old code that is known to have security flaws. When I was comparing the sources for Ubuntu/Debian Mailman 2.1.5 against the SourceForge 2.1.9 source, I had to check the three security patches in 2.1.9. Two of the patches matched; one was completely different (different code in a different module). I do not have enough knowledge of the internals of Mailman to be able to determine if this third patch resolved the security problem. I ended up building my own Ubuntu package from the 2.1.9 SourceForge source, in the process eliminating almost all of the Debian/Ubuntu patches. The patches were, for the most part, undocumented, so I had no idea exactly what they did. Nor did I know if they would fit into the 2.1.9 source, as some of the patches were based on pre-2.1.5 code. This was unexpected! Do you have opened a bug report? However the life of a Debian package maintainer is not easy. It should maintain a package to a stable version for 1-2 years. Regards Manlio Perillo -- 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] a few questions about the NNTP gateway
Hi all. I'm using Mailman 2.1.5. I have enabled the NNTP Gateway but there are some problems. 1) The messages from the newsgroup are not sent on the mailing list. I don't know why, there is nothing in the error log 2) When sending a message to the newsgroup, Mailman does not obscure the email address (there is an obscure_addresses, but it only works for the web archiver) I would like to know if 2) has been implemented in recent Mailman releases. One last thing. What happens when Mailman have to send an email message with a broken Subject header (R: instead of Re) to the newsgroup? Thanks Manlio Perillo -- 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] a few questions about the NNTP gateway
Brad Knowles ha scritto: On 8/6/07, Manlio Perillo wrote: I'm using Mailman 2.1.5. BTW, the most recent version of Mailman is 2.1.9, which has a number of new features and some fixes for certain security holes. I'd strongly encourage you to upgrade. Mailman runs on a Debian Sarge server, so this can be a problem without an upgrade to Etch (but security problems are not a problem, with Debian). I have enabled the NNTP Gateway but there are some problems. 1) The messages from the newsgroup are not sent on the mailing list. I don't know why, there is nothing in the error log Go to the web admin page for your list, then go to the sub-page for Mail-News gateways. Is the news server hostname filled in? Yes Is the newsgroup name filled in? Yes Is the moderation policy set correctly? The mailing list is not moderated (but requires subscription), the newsgroup is not moderated, so I have set the value None Do you have the radio buttons set correctly for passing traffic both ways? Yes In your mm_cfg.py file, do you have the correct definitions for the username and password you need to use when logging into the news server to retrieve and post articles? The NNTP server requires no password 2) When sending a message to the newsgroup, Mailman does not obscure the email address (there is an obscure_addresses, but it only works for the web archiver) Correct. Mailman does not attempt to obscure addresses when posting mail messages to a newsgroup. Ok. I would like to know if 2) has been implemented in recent Mailman releases. Not so far as I know, but it shouldn't be hard to add. However, one problem you'll have is that many news servers will reject your articles, if you use an address obfuscation scheme that they don't support. Not sure. As an example I always use an obsured email address on usenet, without problems. But, indeed, I see that on comp.lang.python many people use their real email address. So, your choices are to not do any obfuscation at all for news articles (which is what Mailman does today), or see if there is some common format of obfuscation that virtually all news servers are known to support. Of course, if they support it then the spammers probably already know about it as well, and anything you can do they are likely to be able to un-do. Yes, this is true, unfortunately. One last thing. What happens when Mailman have to send an email message with a broken Subject header (R: instead of Re) to the newsgroup? I think what happens is that the subject header will get treated as a normal subject, and may have additional things tacked onto the front of the subject line, whereas normally Mailman would have recognized the Re: portion and potentially tacked those things on between the Re: string(s) and the rest of the subject. It would be nice if mailman can apply a filter to the subject, and to fix it. But one of the core Mailman developers would be more likely to know the answer to that question, and they're also on this list. Hopefully they'll be able to respond to you within a few days. Thanks and regards Manlio Perillo -- 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] a few questions about the NNTP gateway
Brad Knowles ha scritto: On 8/7/07, Manlio Perillo wrote: Mailman runs on a Debian Sarge server, so this can be a problem without an upgrade to Etch (but security problems are not a problem, with Debian). You could always install Mailman from source on that system, or you may be able to find a pre-built package that is based on the latest source. This is one of the typical problems when using programs from pre-built packages, because you're totally dependant on the person/group/entity that creates the packages. Well, having a pre-built packages systems has also some benefits. And I'm not at all convinced that security problems are not a problem, with Debian or any other OS, for that matter. Especially not with an old binary package that is based on old code that is known to have security flaws. The Debian Secutiry team still supports Debian Sarge. And in theory, if a security problem is found in an upstream package, the fix should be back ported on the Debian package. I help run the Mailman server and the mail servers for python.org, and we use Debian Linux for the OS. But we don't use any binary pre-packaged software, at least not for the critical bits like Mailman. Ok, thanks. I will try to install the new version. [...] And certainly, addresses that come in from USENET in an obscured fashion will most likely have their messages thrown away by most modern mail servers, even if the Mailman server accepts them and processes them as normal. So, when you run that gateway, you pretty much always want to use real addresses and not make any attempt to obfuscate addresses crossing one way or the other. Well, the question of email in clear was raised by an it.comp.lang.python newsgroup user. And on this newsgroup, many of us do not use their real email address. I think what happens is that the subject header will get treated as a normal subject, and may have additional things tacked onto the front of the subject line, whereas normally Mailman would have recognized the Re: portion and potentially tacked those things on between the Re: string(s) and the rest of the subject. It would be nice if mailman can apply a filter to the subject, and to fix it. There's a limit to what Mailman can do to fix the subject line, at least in terms of out-of-the-box code. If you're a Python programmer, it shouldn't be hard for you to add your own module to the system to handle these things, and to hook that into the appropriate place in the flow of messages through the system. In that case, we'd ask you to contribute your changes back to the project via the Mailman patch page on SourceForge, so that others may benefit from your experience. Ok. Thanks and regards Manlio Perillo -- 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] using mailman for newsletter
Hi. Is it possible to use Mailman for sending newsletter (where each user should receive a personalized version of the email, using a template)? Thanks Manlio Perillo -- 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] using mailman for newsletter
Mark Sapiro ha scritto: Manlio Perillo wrote: Is it possible to use Mailman for sending newsletter (where each user should receive a personalized version of the email, using a template)? It is possible to 'fully personalize' a Mailman list which will put the recipient's address in the To: header of the message sent to that recipient and which allows some personal information to be inserted in the list's msg_header and msg_footer, What params can be specified with msg_header and footer? Regards Manlio Perillo -- 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] hot to setup a commits list?
Hi. I have created a list used to post commits messages, generated by a script hook for Subversion. The list is moderated but, since it is a nuisance to have to approve all messages, I'm thinking to remove the moderation flag on the address used by the script. Any better solutions? Thanks Manlio Perillo -- 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] hot to setup a commits list?
Brad Knowles ha scritto: At 1:52 PM -0200 2006-05-16, Manlio Perillo wrote: The list is moderated but, since it is a nuisance to have to approve all messages, I'm thinking to remove the moderation flag on the address used by the script. This is precisely what we do for several commits type lists that I run for the NTP Public Services Project. Works fine for us. Ok, but it is not secure. But, as I can see, it is the only solution. Thanks and regards -- 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] hot to setup a commits list?
Brad Knowles ha scritto: [...] But, as I can see, it is the only solution. Unless you can get the commit notification process to add an Approved: password line to the headers of your message, or the first line of the message body, Thanks, I'm new to Mailman and I was not aware of this header. But the password is the list administrator's one? Regards Manlio Perillo -- 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] delivery off
Mark Sapiro ha scritto: Manlio Perillo wrote: As a response to the set show command, I obtain: delivery off (a causa degli errori il Wed, 12 Apr 2006 01:21:46 -) cause of errors on I've tried to send a delivery on command, but this seems not to work. What's the problem? Did you include a set authenticate your member password preceding the set delivery on command? The first time no! But I do this later, without effects. Maybe I have to unsubscribe/subscribe? Thanks and regards Manlio Perillo -- 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] delivery off
Mark Sapiro ha scritto: Manlio Perillo wrote: But I do this later, without effects. Do you get any reply at all to your email? Yes: - Risultati: Impostata opzione delivery - Finito. - Results: delivery option set - End. But a later set show gave always delivery off. Maybe I have to unsubscribe/subscribe? Can you visit your options page on the web and set delivery on there? I've already solved by unsubscribe/subscribe. I still don't understand the problem. Mailman tried to send a response to my (ISP) MTA and failed? Thanks and regards Manlio Perillo -- 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] delivery off
Hi. As a response to the set show command, I obtain: delivery off (a causa degli errori il Wed, 12 Apr 2006 01:21:46 -) cause of errors on I've tried to send a delivery on command, but this seems not to work. What's the problem? Only the administrator can fix this? Thanks and regards Manlio Perillo -- 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] FAQ 6.9 on Debian Sarge
Manlio Perillo ha scritto: [...] Mailman explicitly set the umask to 002 but postalias ignore it. Moreover in the manual page it is stated that, without the -p option, postalias should inherit file permission from the input file. I was wrong, it only inherits read access permission. However I got an useful solution from one of postfix developers, LaMont Jones: Code not tested # Mailman/MTA/Postfix.py def _update_maps(): # ... acmd = mm_cfg.POSTFIX_ALIAS_CMD + ' ' + ALIASFILE + \ ' chmod g+w ' + ALIASFILE # ... Regards Manlio Perillo -- 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] FAQ 6.9 on Debian Sarge
Manlio Perillo ha scritto: Hi. I hit the problem described in the FAQ 6.9. However I don't want to chmod 0666 data/aliases* A better solution, IMHO, is: chmod 0660 data/aliases.db chmod 0660 data/virtual-mailman.db adduser www-data list I have done more investigations and the problem seems to be postalias in the Postfix distribution. Mailman explicitly set the umask to 002 but postalias ignore it. Moreover in the manual page it is stated that, without the -p option, postalias should inherit file permission from the input file. Regards Manlio Perillo -- 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] strange porblem with apache
Patrick Bogen ha scritto: On 3/25/06, Manlio Perillo [EMAIL PROTECTED] wrote: pGli amministratori possono visitare a href=http:/lists.python.mydebian/mailman/adminla pagina di supervisione per gli amministratori/a per trovare l'interfaccia di gestione della tua lista. You are missing the extra forward-slash following http:. It should be 'http://lists...', but you have 'http:/lists...' The problem is with your DEFAULT_URL_PATTERN that you listed in your first email Thanks very much, really! Regards Manlio Perillo -- 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] FAQ 6.9 on Debian Sarge
Hi. I hit the problem described in the FAQ 6.9. However I don't want to chmod 0666 data/aliases* A better solution, IMHO, is: chmod 0660 data/aliases.db chmod 0660 data/virtual-mailman.db adduser www-data list Regards Manlio Perillo -- 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] FAQ 6.9 on Debian Sarge
Mark Sapiro ha scritto: Manlio Perillo wrote: But if the files are not group writeable, how can the CGI script modify them? Yes, they need to be group writable, but they shouldn't need to be world writable. Ok. I just notice that there exist a bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=235112 On Woody the alias file gets updates, the problem is with virtual-mailman! I have submitted a new bug report. The question is what should the FAQ say (moot at the moment, because the FAQ apparently can't be updated, but I trust that will be fixed)? I don't understand the need for the 'adduser' you mentioned in your first post. In Debian Sarge Apache2 runs under www-data user and group privileges (and so the CGI cgi-bin/create). This means that, in order for the script to modify the alias* files, www-data should be in the list group. Or, as written in the FAQ, these files have to be world writeable. Perhaps you can clarify what the permissions, etc. are in the Debian package as shipped, and what is required so we can get the FAQ right. Is it sufficient to chmod 0660 data/aliases.db chmod 0660 data/virtual-mailman.db Yes. and if so, why would Steinmetz [EMAIL PROTECTED] say On Debian Sarge mailman:mailman does not exist The only way I found was to chmod 0666 data/aliases* The FAQ say: chmod 0666 data/aliases* (as mailman:mailman does not exist - permissions are for root:list) Indeed permissions are root:list. But I don't understand why to allow them to be world writeable. P.S. I'm not a Unix expert! Regards Manlio Perillo -- 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] FAQ 6.9 on Debian Sarge
Mark Sapiro ha scritto: Manlio Perillo wrote: In Debian Sarge Apache2 runs under www-data user and group privileges (and so the CGI cgi-bin/create). This means that, in order for the script to modify the alias* files, www-data should be in the list group. Or, as written in the FAQ, these files have to be world writeable. This should not be required because the Mailman cgi-bin/create wrapper should be group owned by 'list' and SETGID. This means the create script is no longer running as the group of 'www-data', it is already running in the 'list' group, so it should not be necessary to add 'www-data' to the 'list' group. Oh, you are right! I have just tested it and works. Thanks and regards Manlio Perillo -- 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] FAQ 6.9 on Debian Sarge
Todd Zullinger ha scritto: [...] But I'm sure I'm not the only one to use Mailman on a Debian! Nobody hits this problem? All of them use newlist to create a new mailing list? I doubt you're the only one. ;-) But IIRC, the default MTA on Debian is Exim. So there are probably less users testing the postfix integration in the packages. That's my guess. You are right, but, as an example, Postfix is used on: http://www.debianhelp.co.uk/mailman.htm (maybe Postfix was the default up to Woody?) Regards Manlio Perillo -- 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] FAQ 6.9 on Debian Sarge
Todd Zullinger ha scritto: [...] I would wager that Steinmetz tried to follow the FAQ as written but was thrown off by the fact that Debian doesn't use mailman as the owner or group for the mailman files. And if you're not familiar with how postfix works and runs the postalias command as the user/group of the alias file, you might resort to a chmod 0666. In this specific case, postalias is run by mailman create CGI script Traceback (most recent call last): File /usr/local/mailman/scripts/driver, line 87, in run_main main() File /usr/local/mailman/Mailman/Cgi/create.py, line 55, in main process_request(doc, cgidata) File /usr/local/mailman/Mailman/Cgi/create.py, line 217, in process_request sys.modules[modname].create(mlist, cgi=1) File /usr/local/mailman/Mailman/MTA/Postfix.py, line 226, in create _update_maps() File /usr/local/mailman/Mailman/MTA/Postfix.py, line 47, in _update_maps raise RuntimeError, msg % (acmd, status, errstr) RuntimeError: command failed: /usr/sbin/postalias /usr/local/mailman/data/aliases (status: 1, Operation not permitted) Regards Manlio Perillo -- 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] FAQ 6.9 on Debian Sarge
Todd Zullinger ha scritto: [...] But IIRC, the default MTA on Debian is Exim. So there are probably less users testing the postfix integration in the packages. That's my guess. You are right, but, as an example, Postfix is used on: http://www.debianhelp.co.uk/mailman.htm I notice that they don't use the web interface to create a list in that tutorial. Perhaps that's why there's no note of potential troubles? Dunno. I have submitted the bug and the solution. I'm waiting some response from the package maintainer. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=359134 (maybe Postfix was the default up to Woody?) That I couldn't tell you. I don't know for sure that Exim is the default in Sarge either. It's just what I thought I've seen. I'm not a Debianista. :) Yes, Exim is the default on Debian Sarge. I had to install Postfix on my test machine because this is the MTA on the production server (http://python.it) Regards Manlio Perillo -- 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] strange porblem with apache
Mark Sapiro ha scritto: Manlio Perillo wrote: I have installed Mailman on my test machine (Debian Sarge on VMWare) but I have hit a strange problem. Here is my configuration: # mm_cfg.py MAILMAN_SITE_LIST = 'mailman' DEFAULT_URL_PATTERN = 'http:/%s/mailman/' PRIVATE_ARCHIVE_URL = '/mailman/private' What's this?? [...] The configuration file is correct. snip The problem is with the web interfaces. On http://lists.python.mydebian/mailman/listinfo I get links of type: http://lists.python.mydebian/lists.python.mydebian/mailman/admin instead of http://lists.python.mydebian/mailman/admin Why? The strange thing is the the *source* page has the correct links; the same if I read the page with python httplib... That is strange. If the source HTML has the correct link, why does your browser mung it? is the source link absolute - i.e., does it start with http://? The link is correct: a href=http:/lists.python.mydebian/mailman/admin Did you create the list before arriving at the above mm_cfg.py settings?. If so, the web_page_url list attribute is probably wrong. The easiest way to fix it is with bin/fix_url.py. Already done, the problem is not here. I have done tests with lynx, Mozilla, Firefox, Opera; with all of them the browser add a lists.python.mydebian after the domain name... Moreover in a first installation (I have installed and removed the mailman package up to 3 times for testing purpose) all was ok (but the configuration was a bit different). Thanks and regards Manlio Perillo -- 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] strange porblem with apache
Mark Sapiro ha scritto: [...] And do you have something like VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) following your redefinitions of DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST? Yes, but I don't have a VIRTUAL_HOSTS.clear(). The link is correct: a href=http:/lists.python.mydebian/mailman/admin snip I have done tests with lynx, Mozilla, Firefox, Opera; with all of them the browser add a lists.python.mydebian after the domain name... Does this only happen on admin pages? No. I can't use any of the admin task, such as list creation. If it happens also to links on the admin overview, the listinfo overview or a specific listinfo page, perhaps you could give us a real URL so we can see the actual generated HTML. The actual generated HTML is ok. The link is correct. It is only the browser that seems to add that URL fragment. Here is an example using httplib (sorry, but the language is italian): import httplib con = httplib.HTTPConnection('lists.python.mydebian') con.request('GET', '/mailman/listinfo') r = con.getresponse() print r.status, r.reason 200 OK print r.msg Date: Sat, 25 Mar 2006 03:38:24 GMT Server: Apache/2.0.54 (Debian GNU/Linux) DAV/2 SVN/1.1.4 mod_python/3.1.3 Python/2.3.5 mod_ssl/2.0.54 OpenSSL/0.9.7e Cache-control: no-cache Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1 print r.read() HTML HEAD LINK REL=SHORTCUT ICON HREF=/images/mailman/mm-icon.png META http-equiv=Content-Type content=text/html; charset=iso-8859-1 TITLEListe su lists.python.mydebian/TITLE /HEAD [...] pGli amministratori possono visitare a href=http:/lists.python.mydebian/mailman/adminla pagina di supervisione per gli amministratori/a per trovare l'interfaccia di gestione della tua lista. pSe hai difficoltagrave;, invia domande o commenti a a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a.p/td /tr [...] /HTML As one can see, the link to /mailman/admin is correct. But the browser sees the link as http://lists.python.mydebian/lists.python.mydebian/mailman/admin I really can't understand! This seems to have nothing to do with Mailman or Apache Or, you could try saving the HTML from one of the admin pages to a file and opening the file in your web browser. If that still has the problem, maybe you could make that file available to us via the web. Moreover in a first installation (I have installed and removed the mailman package up to 3 times for testing purpose) all was ok (but the configuration was a bit different). Specifically what was different? The links where correct. As I can remember I had a: POSTFIX_STYLE_VIRTUAL_DOMAINS = [] in mm_cfg.py But now, even if I try to change some options, the result don't change... And are you installing from source or is this a debian or other package? debian precompiled package aptitude install mailman Thanks and regards Manlio Perillo -- 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] strange porblem with apache
Hi. I have installed Mailman on my test machine (Debian Sarge on VMWare) but I have hit a strange problem. Here is my configuration: # mm_cfg.py MAILMAN_SITE_LIST = 'mailman' DEFAULT_URL_PATTERN = 'http:/%s/mailman/' PRIVATE_ARCHIVE_URL = '/mailman/private' IMAGE_LOGOS = '/images/mailman/' DEFAULT_EMAIL_HOST = 'lists.python.mydebian' DEFAULT_URL_HOST = 'lists.python.mydebian' POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.python.mydebian'] # apache2 VirtualHost *:80 ServerName lists.python.mydebian ServerAdmin [EMAIL PROTECTED] Alias /images/mailman/ /var/lib/mailman/icons/ Alias /pipermail/ /var/lib/mailman/archives/public/ Directory /var/lib/mailman/archives/public AddDefaultCharset Off /Directory ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/ RedirectMatch ^/$ /mailman/listinfo CustomLog /var/log/apache2/access_python_lists.log combined /VirtualHost The problem is with the web interfaces. On http://lists.python.mydebian/mailman/listinfo I get links of type: http://lists.python.mydebian/lists.python.mydebian/mailman/admin instead of http://lists.python.mydebian/mailman/admin Why? The strange thing is the the *source* page has the correct links; the same if I read the page with python httplib... Thanks and regards Manlio Perillo -- 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