Re: [Mailman-Users] Need help very badly
Thanks a lot. I have done successfully by changing the permission of /var/lib/mailman/archives/private/ directory . Best regards, Kaiser - Original Message - From: Mark Sapiro [EMAIL PROTECTED] To: Kaiser Ahmed [EMAIL PROTECTED]; Mailman-Users@python.org Sent: Thursday, June 28, 2007 10:50 AM Subject: Re: [Mailman-Users] Need help very badly Kaiser Ahmed wrote: I am a new user of mailman. I setup my server and tried to create a mailing list. The following massage occurred. I don't know how to solve it. Please suggest me the steps to be taken to solve this issue. --- Bug in Mailman version 2.1.5 We're sorry, we hit a bug! If you would like to help us identify the problem, please email a copy of this page to the webmaster for this site with a description of what happened. Thanks! Traceback: Traceback (most recent call last): File /usr/lib/mailman/scripts/driver, line 87, in run_main main() File /usr/lib/mailman/Mailman/Cgi/create.py, line 55, in main process_request(doc, cgidata) File /usr/lib/mailman/Mailman/Cgi/create.py, line 187, in process_request mlist.Create(listname, owner, pw, langs, emailhost) File /usr/lib/mailman/Mailman/MailList.py, line 457, in Create self.InitVars(name, admin, crypted_password) File /usr/lib/mailman/Mailman/MailList.py, line 372, in InitVars baseclass.InitVars(self) File /usr/lib/mailman/Mailman/Archiver/Archiver.py, line 95, in InitVars os.mkdir(self.archive_dir()+'.mbox', 02775) OSError: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/english_news.mbox' The mailman group is unable to create the /var/lib/mailman/archives/private/english_news.mbox' directory. The most likely cause of this is insufficient permission on the /var/lib/mailman/archives/private/' directory (There is a bug in check_perms so it doesn't catch this). The minimum permissions on the /var/lib/mailman/archives/private/' directory are 02770 and group mailman, although on most systems, the permissions need to be 02771 for public archives to work. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- 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] Taboo body?
Mark Sapiro writes: Implementation of a custom handler to take action on a message based on pattern matches on the message body would not be difficult, but I don't know if anyone has done it. If you need something that's somewhat automatically extensible, the SpamBayes package is written in Python, and might be a very time-saving addition. I wonder if maybe Skip hasn't already done this? Also, remember that if possible you'd really like to stop this stuff at the MTA, and not permit it as far as Mailman. Of course, your rules for the lists may be stricter than for personal mail, or differ by list, etc, which would change the balance of judgment here. -- 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] Taboo body?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jun 28, 2007, at 5:45 AM, Stephen J. Turnbull wrote: Mark Sapiro writes: Implementation of a custom handler to take action on a message based on pattern matches on the message body would not be difficult, but I don't know if anyone has done it. If you need something that's somewhat automatically extensible, the SpamBayes package is written in Python, and might be a very time-saving addition. I wonder if maybe Skip hasn't already done this? There are some really old patches laying around somewhere (on SF perhaps?) that did a prototype integration of Spambayes and Mailman, hooking Mailman's moderation page to Spambayes training. It would probably need a fair bit of work to update, but it might serve as a good starting point. IIRC, the actual handler code wasn't very big. - -Barry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (Darwin) iQCVAwUBRoOc5XEjvBPtnXfVAQLknQP/b/MB/ZwaSoaDUXiCqmiwuLJdrQBSVNJD NDIUQTOaIMqmVwS7k0aMwsps0M6BGXYhFnTwka4mX/3jGj+sF2CDBD90g0Gcb554 p2BIyUi3Um5Q2YX0wEZLGnhmxqmwA6eov+o0NThA3WKl+/jLMi+HlHmDzTh/IKw7 QW4O2S/no1s= =7zlg -END 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
[Mailman-Users] A script for changing subscriber/owner email domains
I didn't know any other way to do this, so I wrote a script. Hope it's not politically incorrect around here to have used Perl. ;) Share and enjoy! Ben #!/usr/bin/perl -w # Change all Mailman email addresses from one domain to another. # Example: change_subscriber_domain tblc.lib.fl.us tblc.org my $from = $ARGV[0]; my $to= $ARGV[1]; print Old domain name: $from\n; print New domain name: $to\n\n; open FH, /usr/lib/mailman/bin/find_member --owners $from\$ |; while (FH) { if (/^([EMAIL PROTECTED]).(.*) found in:/) { my $old = [EMAIL PROTECTED]; my $new = [EMAIL PROTECTED]; print $old\n\t= $new\n; $old =~ s/(['])/\\$1/g; $new =~ s/(['])/\\$1/g; system /usr/lib/mailman/bin/clone_member --remove --admin --quiet $old $new\n; print \n; } } -- 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 script for changing subscriber/owner email domains
On 6/28/07, Ben Ostrowsky [EMAIL PROTECTED] wrote: I didn't know any other way to do this, so I wrote a script. Hope it's not politically incorrect around here to have used Perl. ;) It's probably more correctly done with a withlist script (which would by python), for what it's worth. -- - Patrick Bogen -- 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] Simple way to change archive settings
I know that this falls under the withlist command, but I am not really python savvy so How exactly would I go about deleting the archives for about 15 lists and setting their archive attributes to off? Pat -- 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] Blank Characters Removed from Subject: Line
Barry Finkel writes: I am running Mailman 2.1.9. I have a list where one posting has a Subject: line: Change in Procedure for Computers on list with possible Antivirus Problems The next posting in the thread has: Change in Procedure for Computers on list with possible AntivirusProblems Stephen J. Turnbull [EMAIL PROTECTED] replied: What is happening, I guess, is that Mailman is folding that header to keep it within some number of characters, maybe 76 or so. RFC 2822 specifies that this may be done by inserting a linebreak (CRLF) before whitespace. The RFC implies that the right thing to do in that case is to remove the CRLF only, but some MUAs also remove a space. I suspect that is what is happening to this case. Can you post a copy of the raw header as received by Mailman and as sent by Mailman? I am not sure I have this information. What I see (and posted) from the list .mbox file - is that what was received by Mailman or what was sent? -- Barry S. Finkel Computing and Information Systems Division Argonne National Laboratory Phone:+1 (630) 252-7277 9700 South Cass Avenue Facsimile:+1 (630) 252-4601 Building 222, Room D209 Internet: [EMAIL PROTECTED] Argonne, IL 60439-4828 IBMMAIL: I1004994 -- 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] Simple way to change archive settings
Pat Riehecky wrote: I know that this falls under the withlist command, but I am not really python savvy so How exactly would I go about deleting the archives for about 15 lists and setting their archive attributes to off? Actually, withlist is not the best tool for this. It is most easily done in a shell script that processes a few commands for each list. If the 15 lists are all the lists in the installation, you can get their names in the shell script from `bin/list_lists --bare` Otherwise, you could read the 15 names from a file. To set archiving off, you just do bin/config_list -i file $list where file contains the single line archive = 0 and $list contains the list name. To remove the existing archives you can do rm -rf archives/private/${list}/* rm -f archives/private/${list}.mbox/${list}.mbox rm -f archives/public/${list}.mbox You may or may not want to leave a stub index.html file in archives/private/${list}/ to say something about the list not having archives. You may or may not want to do rm -f archives/private/${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] Blank Characters Removed from Subject: Line
Barry Finkel wrote: Stephen J. Turnbull [EMAIL PROTECTED] replied: Can you post a copy of the raw header as received by Mailman and as sent by Mailman? I am not sure I have this information. What I see (and posted) from the list .mbox file - is that what was received by Mailman or what was sent? It's essentially the message as sent by Mailman to the list, but without the msg_header and msg_footer if any. To get the incoming message, you'd have to go to the poster's sent messages or get a Cc or Bcc from the poster. -- 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] Formatted email
When I send a message to my Mailman lists (for which I'm a member), I get the original formatted message. (I put pictures and dress it up: it's announcing theatre events, good to spice it up). Some (all?) of my membership apparently have the formatting stripped, and just get plain text. Does mailman strip formatting? If so, why does it appear formatted to me? And can I let the formatting pass on through? I see no obvious properties that seem to control this (plain on the Membership Management refers to a digest, which is not what I'm intending, nor wish to have used in that manner). Chuck Puckett, Esq., BS, ~MS, ThD blocked::http://www.puckettpublishing.com www.puckettpublishing.com The unexamined life is not worth living. (Socrates) The unexamined faith is not worth believing. (Chuck) Anger is a wind that blows out the lamp of the mind. (Arabian proverb) I don't want to steal the show... I only want to borrow it for a while. (Chuck) -- 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 and exim.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alberto V. I. wrote: I create mailman list and then I receive the notificacion to admin email, then I create anyother list without problems, beeing notified by mailman, but I cannot receive mails to list, If I send any mail to list, I obtain no result. I followed : /usr/share/doc/mailman/README.Exim4.Debian I did everything but/except : and list all your Mailman domains inPOSTFIX_STYLE_VIRTUAL_DOMAINS. All the rest things are made, do I need to use virtual domains? I have no idea what is in this Debian document, but the best instructions for Mailman/Exim integration are documents linked from http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq01.019.htp As far as POSTFIX_STYLE_VIRTUAL_DOMAINS is concerned, this is only applicable if you are using Postfix and have set MTA = 'Postfix' in mm_cfg.py. What is in your exim_main.log and/or your exim_reject.log for the posts you attempt to send to your Mailman lists? - -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) iD8DBQFGhBUZVVuXXpU7hpMRAt+1AJ4wzhQ4Ced1FcEs+4iTz9r+XnHuJACg9Rxj 8+0cy1vakXGzziBICIQVuHY= =HH4z -END 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] Formatted email
Chuck Puckett wrote: When I send a message to my Mailman lists (for which I'm a member), I get the original formatted message. (I put pictures and dress it up: it's announcing theatre events, good to spice it up). Some (all?) of my membership apparently have the formatting stripped, and just get plain text. Does mailman strip formatting? If so, why does it appear formatted to me? There are two possibilities. Posibility one is you are looking at your sent message or a Cc: or Bcc: that you sent to yourself. Possibility two is that the list is actually sending the post out as received from you, but it is multipart/alternative with a text/plain part and a text/html part and those users who don't see the formatting have their MUAs set to display the text/plain alternative or have MUAs that don't recognize MIME email. And can I let the formatting pass on through? I see no obvious properties that seem to control this (plain on the Membership Management refers to a digest, which is not what I'm intending, nor wish to have used in that manner). The controls are under Content filtering (Is that not obvious?). The simplest thing, especially if this is an announce list and you do all the posting, is to set filter_content to No. Then Mailman will send the post as received with only the possible addition of msg_header and msg_footer if any. If your list is already set this way, then the issue is probably possibility two above. -- 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] Formatted email
Mark, Hmmm. Not sure that Content Filtering is the obvious place, at least for me. I tend to separate (in my mind) content from format. And never been to that particular page before, so didn't really think about it. In any case: filter_content is already set to No. pass_mime_types has multipart/mixed, /alternative and text/plain. Instructions say Leave this field blank to skip this filter test, which might lead one to blank out the field. But I suspect this is default, yes? I've certainly never touched anything on this page. convert_html_to_plaintext is set to Yes, and that looks suspicious. Seems like I'd want it No, and pass_mime_types blanked out, if I understand commentary (which is doubtful). But the top guy is set to NO, so that implies rest of the settings are probably ignored. I mean, the people that are getting these messages are overwhelmingly Windows/likely Outlook users. I don't think most of them would know MIME from MISSOURI. Is there something they'd need to do that's not done by default? Btw: I never copy myself to CC: or BCC: I just send to the list, and I get a nicely formatted message. Chuck Puckett, Esq., BS, ~MS, ThD www.puckettpublishing.com The unexamined life is not worth living. (Socrates) The unexamined faith is not worth believing. (Chuck) Anger is a wind that blows out the lamp of the mind. (Arabian proverb) I don't want to steal the show... I only want to borrow it for a while. (Chuck) -Original Message- From: Mark Sapiro [mailto:[EMAIL PROTECTED] Sent: Thursday, June 28, 2007 3:30 PM To: Chuck Puckett; mailman-users@python.org Subject: Re: [Mailman-Users] Formatted email Chuck Puckett wrote: When I send a message to my Mailman lists (for which I'm a member), I get the original formatted message. (I put pictures and dress it up: it's announcing theatre events, good to spice it up). Some (all?) of my membership apparently have the formatting stripped, and just get plain text. Does mailman strip formatting? If so, why does it appear formatted to me? There are two possibilities. Posibility one is you are looking at your sent message or a Cc: or Bcc: that you sent to yourself. Possibility two is that the list is actually sending the post out as received from you, but it is multipart/alternative with a text/plain part and a text/html part and those users who don't see the formatting have their MUAs set to display the text/plain alternative or have MUAs that don't recognize MIME email. And can I let the formatting pass on through? I see no obvious properties that seem to control this (plain on the Membership Management refers to a digest, which is not what I'm intending, nor wish to have used in that manner). The controls are under Content filtering (Is that not obvious?). The simplest thing, especially if this is an announce list and you do all the posting, is to set filter_content to No. Then Mailman will send the post as received with only the possible addition of msg_header and msg_footer if any. If your list is already set this way, then the issue is probably possibility two above. -- 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] Formatted email
Chuck Puckett wrote: In any case: filter_content is already set to No. pass_mime_types has multipart/mixed, /alternative and text/plain. Instructions say Leave this field blank to skip this filter test, which might lead one to blank out the field. But I suspect this is default, yes? I've certainly never touched anything on this page. convert_html_to_plaintext is set to Yes, and that looks suspicious. Seems like I'd want it No, and pass_mime_types blanked out, if I understand commentary (which is doubtful). But the top guy is set to NO, so that implies rest of the settings are probably ignored. That is correct. if filter_content is No, no content filtering is done and the rest settings on the page are irrelevant. I mean, the people that are getting these messages are overwhelmingly Windows/likely Outlook users. I don't think most of them would know MIME from MISSOURI. Is there something they'd need to do that's not done by default? You are receiving the post as sent from Mailman. It is sent to everyone else in the same way. It is possible, but very unlikely that something in the mail delivery system is altering the message that these users see. Much, much more likely is that their actual MUA (mail reader, mail client) is not displaying the formatting. Many MUA's will not load images in formatted email by default for security/privacy reasons. I have no idea what the MS Outlook defaults are or how to change them. -- 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] post formatting and timing
Ivan Van Laningham wrote: I think something else is going on, besides just the LF only line ending. I'm using two versions of T-Bird, 1.5 and 2.0 something, and both display the message concerned the same way, all crammed together on a single line. I think there must be some encoding issue. It probably is some configuration issue with T-Bird, but I've not been able to find it. I can't find any relevant configuration setting in T-Bird, and I don't see the problem in T-Bird 2.0.0.4 with a utf-8 charset base64 encoded message I received through a test list. The message contained the following -- This should be a unicode encoded message. Throw in a few “funny” chars To get encoding -- The lines of dashes are separate lines and in between are a line of text, an empty line, a second line of text, a second empty line and a third line of text. I'm sending this in utf-8 charset (I hope), and it should come from the list encoded base64, and I expect it will display as described in my T-Bird 2.0.0.4. What do you see? -- 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