Re: [Mailman-Users] multi-alternative
Lawrence Bowie wrote: I have a user telling me .. It looks like the pipermail installation is hosed in some interesting way. The emails that I send have both text/html and text/multipart sections. It scrubbed the text/html part, but didn't bother including the text/plain part. But yet ... Default.py: DEFAULT_PASS_MIME_TYPES = ['multipart/mixed', 'multipart/alternative', 'text/plain'] This just determines the defaults for Content filtering-pass_mime_types for a new list. The only thing that means anything is the settings on the Content filtering page. When the user says scrubbed does she mean as in An HTML attachment was scrubbed... URL: url or does she mean removed by content filtering? There was an upgrade over the weekend. So something unexpected must have happened. Any ideas? I would try to find the message as delivered from the list to message subscribers, or find it in the archives/private/listname.mbox/listname.mbox file and also look at the raw HTML (source) for the archive page to see if there is really an inconsistency. I would also wonder if this was a single occurrence or is repeatable. If it is not repeatable, I think you may find that the message in the .mbox file had no text/plain part. -- 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] List marked private, still accessible from web?
Richard Barrett wrote: On 10 May 2006, at 23:29, Michael Urashka wrote: But these pages give a 'Forbidden' error: http://www.somesite.com/pipermail/ http://www.somesite.com/pipermail/somelist/ http://www.somesite.com/pipermail/somelist/2005-October/ Looking in Apache's httpd.conf there's an alias for pipermail into: Alias /pipermail/ /usr/local/mailman/archives/private/ This should probably read: Alias /pipermail/ /usr/local/mailman/archives/public/ Richard is correct about this. It should definitely point to the public/ directory, not the private/ directory. Will changing this (or commenting it out) likely break access to any of the public lists on the same server? You don't want to comment it out as that will break all public archive access for sure. You need to make it as Richard says or you will be able to access private archives via the pipermail URL. Then, if that doesn't fix the problem, you need to remember this from my first reply in this thread. Running check_perms showed that the /private archives had the +x for 'other' set so I toggled that to -x. This will probably break access to your remainin public archive via the 'pipermail' URL. If it doesn't, that's great - leave it o-x, but I think you'll probably need to put it back to o+x to access public archives via the 'pipermail URL. -- 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] Remove sender from list?
Thanks guys for having enough patience with me. It helped me a lot. Alan Mark Sapiro wrote: alan wrote: First, what is MUA? (Sorry, but I'm quite new in using mailing lists.) Brad has answered this one. Second, the reason I'm bothering you all with this is to avoid sending big attachments back to the user and save him the trouble of seing mail again, as you said. But I have no trouble sending him the indication of reposting. OK. That seems like a good reason. Now, since I'm a newbee, can you please explain this to me in more simpla way. This is What I understood: asumming user is user1 and list is 123 To: 123; Cc:user1; Yes, that's what I meant. I am using Thunderbird (or OE sometimes) as a mail client to post to the list. I don't understand this part of your answer: instead of posting from your MUA which will send the Cc:, post the message directly with sendmail or equivalent, sending the envelope to the list only. This is the tricky part. Of course, if you just sent the message addressed as above, 'user1' would receive the direct Cc:, thus defeating the attempt to spare the user from receiving it again. This may be more trouble than it's worth, but what you'd need to do in Tbird is compose/forward/whatever the entire post, addressed as above, but instead of sending it, save it as a draft (you can't save it directly as a file because that only saves the 'body'). Then open the draft and save that as a file. Now you have a file containing the raw message with headers including the Cc: user1. Now you need to deliver that message to a mail server with a recipient of *only* the list. Then it will be sent to the list only, and Mailman will see the Cc: user1 and not send it to user1 assuming user1 has 'avoid dups' set in her options. This last step is not easy in a MS Windows environment. If you have a mail client that supports a 'resend' or 'redirect' operation, you could open the message with that client and 'resend' it to the list, but I don't think either MSOE or Tbird will do this. The following is a minimal python script that can do this. import sys import smtplib SMTPHOST = 'mail.example.com' SMTPPORT = 25 SMTP_USERNAME = '[EMAIL PROTECTED]' SMTP_PASSWORD = 'yourpw' fp = open(sys.argv[1]) msg = fp.read() fp.close() rcpts = [sys.argv[2]] env = SMTP_USERNAME x = smtplib.SMTP() x.connect(SMTPHOST,SMTPPORT) x.login(SMTP_USERNAME, SMTP_PASSWORD) x.sendmail(env,rcpts,msg) x.quit() To use the above, you first have to install python http://www.python.org/ on your Windows computer. Then save the above script in the file 'sendmail.py'. Then in a command window, give the command python path\to\sendmail.py path\to\saved\message [EMAIL PROTECTED] This will send the saved message to [EMAIL PROTECTED] only, even though the saved message contains a Cc: user1 header. Certain obvious things need to be changed in the above script. Also, this will only work with an SMTP server that uses user/password authorization. -- 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] New installation issues? Need help!
Vishal Mahajan wrote: We are running OX5 on RHEL4. The mail flow was fine, SMTP was working fine. We installed mailman-2.1.5-33 through the RPM created for RHEL4. The installed postfix is 2.1.5-4.2. We followed the instructions as http://www.gnu.org/software/mailman/site.html Did you set up Postfix integration per http://www.gnu.org/software/mailman/mailman-install/node13.html Tried sending the mail to the list but same result. Its not even coming to the archives either. I did another test, tries sending mail to the OX Mail server accounts from outside and even from the same accounts and the weared thing I found that that accounts have lost the energy of receiving mails. YES MAIL CAN GO OUT BUT NO INCOMING MAIL. Dont know whats the problem, some configuration while configuring changed the incoming SMTP setting for mail server too. Are you saying that NO incoming mail is delivered whether or not it's for a Mailman list? If so, you have a Postfix problem somewhere. Recheck the changes you made for Mailman, check Postfix's logs, and if you still can't figure it out, go to a Postfix support resource. -- 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] How to configure simple unsubscribe results page?
Hi I'm configuring my first ever Mailman list... and would appreciate a hint from an old hand. I want my users to be able to enter their email address and click Unsubscribe on one of my pages - http://test.nratlas.nsw.gov.au/mailman/listinfo/nratlas-news - and see a simple message that an email has been sent to confirm their unsubscription, rather than the confusing options-login page: http://test.nratlas.nsw.gov.au/mailman/options/[EMAIL PROTECTED]login-unsub=Unsubscribe TIA Jonathan Doig - This message is intended for the addressee named and may contain confidential/privileged information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of the Department. You should scan any attached files for viruses. - -- 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] multi-alternative
Mark Sapiro wrote: Lawrence Bowie wrote: I have a user telling me .. It looks like the pipermail installation is hosed in some interesting way. The emails that I send have both text/html and text/multipart sections. It scrubbed the text/html part, but didn't bother including the text/plain part. But yet ... Default.py: DEFAULT_PASS_MIME_TYPES = ['multipart/mixed', 'multipart/alternative', 'text/plain'] This just determines the defaults for Content filtering-pass_mime_types for a new list. The only thing that means anything is the settings on the Content filtering page. When the user says scrubbed does she mean as in An HTML attachment was scrubbed... URL: url or does she mean removed by content filtering? Yes, removed. There was an upgrade over the weekend. So something unexpected must have happened. Any ideas? I would try to find the message as delivered from the list to message subscribers, or find it in the archives/private/listname.mbox/listname.mbox file and also look at the raw HTML (source) for the archive page to see if there is really an inconsistency. I would also wonder if this was a single occurrence or is repeatable. If it is not repeatable, I think you may find that the message in the .mbox file had no text/plain part. Thank you .. LDB -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] mailman + Postfix - posts appear in archive but are not delivered
Hi there, Thanks to those that answered my previous post. I am very nearly at the stage of having a working mailman mailing list server! Mailman appears to be functioning normally. Checkperms yeilds no errors. My mail server is working, and I can send and receive administrative emails using my email client and the web interface. But, when an email is posted to a list, it is not received by recipients. It is placed in the Mailman archive, though, and there are no obvious signs of trouble in the logs I've looked in. Everything seems normal in mailman's SMTP log: May 11 13:11:40 2006 (2237) [EMAIL PROTECTED] smtp to michael for 1 recips, completed in 0.038 seconds And as far as I can tell, Postfix hasn't had any problems either (from Postfix's maillog): May 11 13:11:42 list postfix/smtp[10675]: 33504BD81B5: to= [EMAIL PROTECTED], relay=gmail-smtp-in.l.google.com[64.233.183.27], delay=2, status=sent (250 2.0.0 OK 1147349502 c28si796656nfb) May 11 13:11:42 list postfix/qmgr[10493]: 33504BD81B5: removed But still, the email doesn't reach the recipients. I'm pretty sure it isn't a problem with communication between the server and the destination email account, as I can successfully send them an email using telnet to access Postfix on the mailing list server. The mailing list used in the example above was created with bin/newlist command, with no extra configuration. I have a number of other lists set up, but the problem is repeated with all of them. I would put it down to a problem outside mailman, but the thing is that the mailman admin emails get through. Any ideas? Many thanks, Michael -- 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] Scrubbing charset-unspecified text
Sorry for breaking the thread, I seem to have accidentally deleted Mark's original reply, and the web archive doesn't include the Message-ID. On 02/05/2006 17:47, Mark Sapiro wrote: Here is a suggested change to the code you quoted. Replace if part.get('content-disposition') and \ not part.get_content_charset(): omask = os.umask(002) with if part.get('content-disposition') and \ msg.is_multipart() and \ not part.get_content_charset(): omask = os.umask(002) This is not really a proper fix, but I think it will avoid the problem in your case. Thank you. Having applied it I can confirm it does now allow that particular email through. Roger -- 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] Scrubbing charset-unspecified text
Roger Lynn wrote: Sorry for breaking the thread, I seem to have accidentally deleted Mark's original reply, and the web archive doesn't include the Message-ID. That's OK, but if you want to maintain the thread in these cases, you can find the Message-ID: in the Downloadable version monthly text file. On 02/05/2006 17:47, Mark Sapiro wrote: snip This is not really a proper fix, but I think it will avoid the problem in your case. Thank you. Having applied it I can confirm it does now allow that particular email through. Thanks for the feedback. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] mailman + Postfix - posts appear in archive but arenot delivered
Michael McAndrew wrote: But, when an email is posted to a list, it is not received by recipients. It is placed in the Mailman archive, though, and there are no obvious signs of trouble in the logs I've looked in. Everything seems normal in mailman's SMTP log: May 11 13:11:40 2006 (2237) [EMAIL PROTECTED] smtp to michael for 1 recips, completed in 0.038 seconds This says it was successfully delivered to Postfix. And as far as I can tell, Postfix hasn't had any problems either (from Postfix's maillog): May 11 13:11:42 list postfix/smtp[10675]: 33504BD81B5: to= [EMAIL PROTECTED], relay=gmail-smtp-in.l.google.com[64.233.183.27], delay=2, status=sent (250 2.0.0 OK 1147349502 c28si796656nfb) May 11 13:11:42 list postfix/qmgr[10493]: 33504BD81B5: removed And Postfix is saying it sent the mail to gmail-smtp-in.l.google.com for [EMAIL PROTECTED] and received confirmation (250 2.0.0 OK 1147349502 c28si796656nfb) from that server. But still, the email doesn't reach the recipients. I'm pretty sure it isn't a problem with communication between the server and the destination email account, as I can successfully send them an email using telnet to access Postfix on the mailing list server. The mailing list used in the example above was created with bin/newlist command, with no extra configuration. I have a number of other lists set up, but the problem is repeated with all of them. I would put it down to a problem outside mailman, but the thing is that the mailman admin emails get through. It definitely seems to be outside of Mailman and even your local Postfix. Since it only affects posts, it seems it must have something to do specifically with the sender, headers or body of the post itself. One thing that may be different is the envelope sender if you are using Mailman virtual hosts. In this case, (un-VERPed) list mail will have an envelope sender of [EMAIL PROTECTED], but some administrative messages may be sent by [EMAIL PROTECTED] See http://mail.python.org/pipermail/mailman-users/2006-April/050706.html which is not exactly relevant to your situation, but may be interesting. -- 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] Cannot access admin list page for one of my lists
Hello everyone, I am facing a weird problem with Mailman. Until last week everything was working fine, really smooth. But this week I simply can't access any web page related to one of my lists, al the other lists work fine. I used de check_db tool and it seems to be ok. The apache log say: Premature end of script headers: admin, referer besides that I don't have any other clue. Version of mailman: 2.1.8rc1 Any help will be apreciated. -- Fabiano de Carvalho Breves [EMAIL PROTECTED] -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] mailman + Postfix - posts appear in archive but arenot delivered
Yes, you are right - it was a remote problem. I was put off the scent because all three mail servers I was sending to silently rejected the email. I added an email with from a 4th different server and it succeeded. Even though the problem occured 'outside' of my server, I'm sure a solution can be found within it. Here are the headers from the email that got through. Do they give you any clues as to why it was rejected by the others? Return-Path: [EMAIL PROTECTED] Delivery-Date: Thu, 11 May 2006 17:35:12 +0200 Received-SPF: none (mxeu1: 212.158.231.226 is neither permitted nor denied by domain of list.vawcvs.org) client-ip=212.158.231.226; envelope-from= [EMAIL PROTECTED]; helo=list.vawcvs.org; Received: from [212.158.231.226] (helo=list.vawcvs.org) by mx.kundenserver.de (node=mxeu1) with ESMTP (Nemesis), id 0MKpV6-1FeDC41ASD-00016j for [EMAIL PROTECTED]; Thu, 11 May 2006 17:35:12 +0200 Received: from list.vawcvs.org (list.vawcvs.org [127.0.0.1]) by list.vawcvs.org (Postfix) with ESMTP id EFA08BD8197; Thu, 11 May 2006 16:35:06 +0100 (BST) X-Original-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: from nz-out-0102.google.com (nz-out-0102.google.com [ 64.233.162.199]) by list.vawcvs.org (Postfix) with ESMTP id C4673BD8197 for [EMAIL PROTECTED]; Thu, 11 May 2006 16:35:05 +0100 (BST) Received: by nz-out-0102.google.com with SMTP id 18so250453nzp for [EMAIL PROTECTED]; Thu, 11 May 2006 08:35:05 -0700 (PDT) Received: by 10.36.247.53 with SMTP id u53mr978874nzh; Thu, 11 May 2006 08:35:05 -0700 (PDT) Received: by 10.36.104.3 with HTTP; Thu, 11 May 2006 08:35:04 -0700 (PDT) Message-ID: [EMAIL PROTECTED] Date: Thu, 11 May 2006 16:35:04 +0100 From: Michael McAndrew [EMAIL PROTECTED] To: [EMAIL PROTECTED] MIME-Version: 1.0 Subject: [VAW staff] Please email [EMAIL PROTECTED] if you receive this message. X-BeenThere: [EMAIL PROTECTED] X-Mailman-Version: 2.1.7 Precedence: list List-Id: vaw-staff.list.vawcvs.org List-Unsubscribe: http://list.vawcvs.org/mailman/listinfo/vaw-staff, mailto:[EMAIL PROTECTED] List-Archive: http://list.vawcvs.org/pipermail/vaw-staff List-Post: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Subscribe: http://list.vawcvs.org/mailman/listinfo/vaw-staff, mailto:[EMAIL PROTECTED] Content-Type: multipart/mixed; boundary1733620005== Sender: [EMAIL PROTECTED] Errors-To: [EMAIL PROTECTED] Envelope-To: [EMAIL PROTECTED] X-NAS-Classification: 0 X-NAS-MessageID: 8 X-NAS-Validation: {A2AF7F64-406D-45BA-AC23-F071B8419E46} And in case it's of any use, the servers that failed are gmail's mail server, and one operating on Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830. And the one that succeeded was called (mxeu14) Welcome to Nemesis ESMTP server. Many thanks again, Michael On 5/11/06, Mark Sapiro [EMAIL PROTECTED] wrote: Michael McAndrew wrote: But, when an email is posted to a list, it is not received by recipients. It is placed in the Mailman archive, though, and there are no obvious signs of trouble in the logs I've looked in. Everything seems normal in mailman's SMTP log: May 11 13:11:40 2006 (2237) [EMAIL PROTECTED] smtp to michael for 1 recips, completed in 0.038 seconds This says it was successfully delivered to Postfix. And as far as I can tell, Postfix hasn't had any problems either (from Postfix's maillog): May 11 13:11:42 list postfix/smtp[10675]: 33504BD81B5: to= [EMAIL PROTECTED], relay=gmail-smtp-in.l.google.com[64.233.183.27 ], delay=2, status=sent (250 2.0.0 OK 1147349502 c28si796656nfb) May 11 13:11:42 list postfix/qmgr[10493]: 33504BD81B5: removed And Postfix is saying it sent the mail to gmail-smtp-in.l.google.com for [EMAIL PROTECTED] and received confirmation (250 2.0.0 OK 1147349502 c28si796656nfb) from that server. But still, the email doesn't reach the recipients. I'm pretty sure it isn't a problem with communication between the server and the destination email account, as I can successfully send them an email using telnet to access Postfix on the mailing list server. The mailing list used in the example above was created with bin/newlist command, with no extra configuration. I have a number of other lists set up, but the problem is repeated with all of them. I would put it down to a problem outside mailman, but the thing is that the mailman admin emails get through. It definitely seems to be outside of Mailman and even your local Postfix. Since it only affects posts, it seems it must have something to do specifically with the sender, headers or body of the post itself. One thing that may be different is the envelope sender if you are using Mailman virtual hosts. In this case, (un-VERPed) list mail will have an envelope sender of [EMAIL PROTECTED] , but some administrative messages may be sent by [EMAIL PROTECTED] See http://mail.python.org/pipermail/mailman-users/2006-April/050706.html which is not
Re: [Mailman-Users] mailman + Postfix - posts appear in archive but arenot delivered
Michael McAndrew wrote: Yes, you are right - it was a remote problem. I was put off the scent because all three mail servers I was sending to silently rejected the email. I added an email with from a 4th different server and it succeeded. Even though the problem occured 'outside' of my server, I'm sure a solution can be found within it. Here are the headers from the email that got through. Do they give you any clues as to why it was rejected by the others? I don't see anything obvious, but one thing to consider is you're posting from your gmail address and one of your failed recipients is your gmail address. I have seen reports that because of the way gmail treats conversations, it ignores messages with the same Message-ID: as one already in the conversation. This could explain the issue with gmail, but presumably not the other failing addresses. Perhaps you could compare the headers that you posted with those from an admin mail that was received and check for differences. -- 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] Custom footer based on sender's email
Sorry about that. I could be going about this all wrong. Also, I am fairly new to python, I normally do perl, so learning how this softwar works has been just a little difficult. Here it is. +++ /u1/mailman/Mailman/Handlers/Decorate.py2006-05-10 11:36:43.0 -0600 @@ -188,6 +188,12 @@ del msg['content-disposition'] msg['Content-Type'] = 'multipart/mixed' +#Testing to replace footer +pl = msg.get_payload(decode=True) +re.sub('AZ', 'new text', pl) +msg.set_payload(pl) + + def decorate(mlist, template, what, extradict={}): -Original Message- From: Mark Sapiro [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 12:42 PM To: Rob Jackson; mailman-users@python.org Subject: RE: [Mailman-Users] Custom footer based on sender's email Rob Jackson wrote: This is the diff on the Decorate.py 191,196d190 #Testing to replace footer pl = msg.get_payload(decode=True) re.sub('AZ', 'new text', pl) msg.set_payload(pl) Please either give me a unified context diff (diff -u) or at least tell me what Mailman version this is. -- 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] Custom footer based on sender's email
Rob Jackson wrote: Here it is. +++ /u1/mailman/Mailman/Handlers/Decorate.py2006-05-10 11:36:43.0 -0600 @@ -188,6 +188,12 @@ del msg['content-disposition'] msg['Content-Type'] = 'multipart/mixed' +#Testing to replace footer +pl = msg.get_payload(decode=True) +re.sub('AZ', 'new text', pl) +msg.set_payload(pl) + + def decorate(mlist, template, what, extradict={}): Elvis has left the building... I.e. putting the code there will only get those messages in which the mailman header/footer has been added as a separate mime part to a message not already multipart/mixed. Starting from the top of Decorate.process() we have several exits: # Escape hatch if both the footer and header are empty if not header and not footer: return If there is no defined msg_header or msg_footer, we leave. # If we couldn't add the header or footer in a less intrusive way, we can # at least do it by MIME encapsulation. We want to keep as much of the # outer chrome as possible. if not wrap: return If we have managed to add the header and/or footer to a text/plain message, or if the message was already multipart/mixed and we added the header and/or footer as separate mime parts, we are done and leave here. The only thing that gets beyond here is the case where we create a new multipart/mixed 'wrapper' with header and/or footer parts and the original message as a message/rfc822 part. You first have to see whether or not you have msg_header and or msg_footer for the list, and also what the structure of the incoming message is. In the simplest case of a single part text/plain message, you could add the three lines just prior to # Escape hatch if both the footer and header are empty if not header and not footer: return -- 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] Cannot access admin list page for one of my lists
Fabiano Breves wrote: I am facing a weird problem with Mailman. Until last week everything was working fine, really smooth. But this week I simply can't access any web page related to one of my lists, al the other lists work fine. I used de check_db tool and it seems to be ok. check_db only tests to see that the config can be loaded. It doesn't test the integrity of the loaded data. The apache log say: Premature end of script headers: admin, referer besides that I don't have any other clue. What does Mailman's error log say? The admin script is dying without producing output. Since other lists work, this has to be a problem with the list's config.pck data. Try bin/dumpdb, and if it works, perhaps compare it's output to that of a similar, working 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] How to configure simple unsubscribe results page?
Jonathan Doig wrote: I want my users to be able to enter their email address and click Unsubscribe on one of my pages - http://test.nratlas.nsw.gov.au/mailman/listinfo/nratlas-news - and see a simple message that an email has been sent to confirm their unsubscription, rather than the confusing options-login page: http://test.nratlas.nsw.gov.au/mailman/options/[EMAIL PROTECTED]login-unsub=Unsubscribe Then instead of posting to the options page as above, you will have to either create your own cgi or use some kind of scripting on your page to request the unsub and produce the result you want. Assuming you want the confirming email, you could use wget in a script to get the options url above and then produce the simple message. -- 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] Custom footer based on sender's email
I was aware of the if not header and not footer: return And made sure that wasn't a problem. But it seems I was probably exiting out someplace else. I used to be getting an error when I had it other places, and then when I moved it to the end, the error went away, well it is back now that I am actualy hitting the code before it exits. Here is my error. Thanks for helping out with my ignorance. May 11 11:54:49 2006 (11951) Uncaught runner exception: global name 're' is not defined What is the best way to define 're' I have tried looking at other examples throught the program and have been unable to determine how I need to do this. Thanks -Rob -Original Message- From: Mark Sapiro [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 11:46 AM To: Rob Jackson; mailman-users@python.org Subject: RE: [Mailman-Users] Custom footer based on sender's email Rob Jackson wrote: Here it is. +++ /u1/mailman/Mailman/Handlers/Decorate.py2006-05-10 11:36:43.0 -0600 @@ -188,6 +188,12 @@ del msg['content-disposition'] msg['Content-Type'] = 'multipart/mixed' +#Testing to replace footer +pl = msg.get_payload(decode=True) +re.sub('AZ', 'new text', pl) +msg.set_payload(pl) + + def decorate(mlist, template, what, extradict={}): Elvis has left the building... I.e. putting the code there will only get those messages in which the mailman header/footer has been added as a separate mime part to a message not already multipart/mixed. Starting from the top of Decorate.process() we have several exits: # Escape hatch if both the footer and header are empty if not header and not footer: return If there is no defined msg_header or msg_footer, we leave. # If we couldn't add the header or footer in a less intrusive way, we can # at least do it by MIME encapsulation. We want to keep as much of the # outer chrome as possible. if not wrap: return If we have managed to add the header and/or footer to a text/plain message, or if the message was already multipart/mixed and we added the header and/or footer as separate mime parts, we are done and leave here. The only thing that gets beyond here is the case where we create a new multipart/mixed 'wrapper' with header and/or footer parts and the original message as a message/rfc822 part. You first have to see whether or not you have msg_header and or msg_footer for the list, and also what the structure of the incoming message is. In the simplest case of a single part text/plain message, you could add the three lines just prior to # Escape hatch if both the footer and header are empty if not header and not footer: return -- 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] Custom footer based on sender's email
Ok, never mind on the problem with re, I don't know why I couldln't figure that out before, I just didn't look hard enough. Although it still doesn't work. Here is what I have now. --- /u1/mailman1/Mailman/Handlers/Decorate.py 2006-02-24 17:31:06.0 -0700 +++ Decorate.py 2006-05-11 12:14:22.0 -0600 @@ -20,6 +20,7 @@ from types import ListType from email.MIMEText import MIMEText +import re from Mailman import mm_cfg from Mailman import Utils from Mailman import Errors @@ -66,6 +67,15 @@ header = decorate(mlist, mlist.msg_header, 'non-digest header', d) footer = decorate(mlist, mlist.msg_footer, 'non-digest footer', d) # Escape hatch if both the footer and header are empty + +sender = msgdata.get('original_sender', msg.get_sender()) +if sender == 'email-address': + footer = THIS IS A GATEWAY MESSAGE + +pl = msg.get_payload(decode=True) +re.sub('AZ', 'new text', pl) +msg.set_payload(pl) + if not header and not footer: return # Be MIME smart here. We only attach the header and footer by -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Jackson Sent: Thursday, May 11, 2006 12:07 PM To: 'Mark Sapiro'; mailman-users@python.org Subject: Re: [Mailman-Users] Custom footer based on sender's email I was aware of the if not header and not footer: return And made sure that wasn't a problem. But it seems I was probably exiting out someplace else. I used to be getting an error when I had it other places, and then when I moved it to the end, the error went away, well it is back now that I am actualy hitting the code before it exits. Here is my error. Thanks for helping out with my ignorance. May 11 11:54:49 2006 (11951) Uncaught runner exception: global name 're' is not defined What is the best way to define 're' I have tried looking at other examples throught the program and have been unable to determine how I need to do this. Thanks -Rob -Original Message- From: Mark Sapiro [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 11:46 AM To: Rob Jackson; mailman-users@python.org Subject: RE: [Mailman-Users] Custom footer based on sender's email Rob Jackson wrote: Here it is. +++ /u1/mailman/Mailman/Handlers/Decorate.py2006-05-10 11:36:43.0 -0600 @@ -188,6 +188,12 @@ del msg['content-disposition'] msg['Content-Type'] = 'multipart/mixed' +#Testing to replace footer +pl = msg.get_payload(decode=True) +re.sub('AZ', 'new text', pl) +msg.set_payload(pl) + + def decorate(mlist, template, what, extradict={}): Elvis has left the building... I.e. putting the code there will only get those messages in which the mailman header/footer has been added as a separate mime part to a message not already multipart/mixed. Starting from the top of Decorate.process() we have several exits: # Escape hatch if both the footer and header are empty if not header and not footer: return If there is no defined msg_header or msg_footer, we leave. # If we couldn't add the header or footer in a less intrusive way, we can # at least do it by MIME encapsulation. We want to keep as much of the # outer chrome as possible. if not wrap: return If we have managed to add the header and/or footer to a text/plain message, or if the message was already multipart/mixed and we added the header and/or footer as separate mime parts, we are done and leave here. The only thing that gets beyond here is the case where we create a new multipart/mixed 'wrapper' with header and/or footer parts and the original message as a message/rfc822 part. You first have to see whether or not you have msg_header and or msg_footer for the list, and also what the structure of the incoming message is. In the simplest case of a single part text/plain message, you could add the three lines just prior to # Escape hatch if both the footer and header are empty if not header and not footer: return -- 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/robertj%40linux4free.co m 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:
Re: [Mailman-Users] Custom footer based on sender's email
Rob Jackson wrote: I used to be getting an error when I had it other places, and then when I moved it to the end, the error went away, Because you were no longer executing the code. well it is back now that I am actualy hitting the code before it exits. Here is my error. Thanks for helping out with my ignorance. May 11 11:54:49 2006 (11951) Uncaught runner exception: global name 're' is not defined What is the best way to define 're' @@ -17,6 +17,7 @@ Decorate a message by sticking the header and footer around it. +import re import logging from email.MIMEText import MIMEText -- 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] Rpms for RHEL/Centos 4?
Hi Brad, I have been reading the patches from RedHat to mailman 2.1.5 Many of them are modification for RH and/or bug patches. But there is one patch that I found important, and it is the Filesystem Hierarchy Standard (FHS) patch. Does mailman 2.1.8 support FHS? Many thanks Oliver Brad Knowles wrote: At 12:55 PM -0400 2006-05-05, Oliver Schulze L. wrote: anyone knows where to find rpms for the latest version of mailman? I need for CentOS 4.3 Try looking on their pages, and using their resources for RPMs. We do not provide any binary package versions of Mailman, and we don't support any modifications that may have been made by someone who created a binary packaged version of Mailman. We support the version of Mailman that is available in our tarballs from our servers, and which you can install from source on your own server. Alternatively, you could pay someone else to install that for you, or you could use a service provided by someone else, etc To the degree that a binary packaged version of Mailman looks, smells, and feels just like the version that we make available in source form in our tarballs on our servers, we can provide support. -- Oliver Schulze L. [EMAIL PROTECTED] -- 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] remote controlling
Hello, I would like to remote control mailman to be able to display threads on a distant zope 3 website. I was wondering what would be the best way to do it: 1/ code a small python tcp server on the mailman server, that uses the Mailman python apis to expose it on XML-RPC 2/ somehow, use the maimman apache bind 3/ take the solution you guys will give me :) Regards Tarek -- Tarek Ziadé | Association AfPy | www.afpy.org Site personnel | http://programmation-python.org -- Tarek Ziadé | Association AfPy | www.afpy.org Site personnel | http://programmation-python.org -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Rpms for RHEL/Centos 4?
Oliver Schulze L. wrote: But there is one patch that I found important, and it is the Filesystem Hierarchy Standard (FHS) patch. Does mailman 2.1.8 support FHS? No. All we have at present, including 2.1.8, are the config options --prefix=dir --exec-prefix=dir --with-var-prefix=dir -- 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] Custom footer based on sender's email
Rob Jackson wrote: Although it still doesn't work. Here is what I have now. --- /u1/mailman1/Mailman/Handlers/Decorate.py 2006-02-24 17:31:06.0 -0700 +++ Decorate.py 2006-05-11 12:14:22.0 -0600 @@ -20,6 +20,7 @@ from types import ListType from email.MIMEText import MIMEText +import re from Mailman import mm_cfg from Mailman import Utils from Mailman import Errors @@ -66,6 +67,15 @@ header = decorate(mlist, mlist.msg_header, 'non-digest header', d) footer = decorate(mlist, mlist.msg_footer, 'non-digest footer', d) # Escape hatch if both the footer and header are empty + +sender = msgdata.get('original_sender', msg.get_sender()) +if sender == 'email-address': + footer = THIS IS A GATEWAY MESSAGE + +pl = msg.get_payload(decode=True) +re.sub('AZ', 'new text', pl) +msg.set_payload(pl) + if not header and not footer: return # Be MIME smart here. We only attach the header and footer by It looks OK to me. I assume by 'doesn't work' you mean there is no error in the log, but you don't get the desired result. What do the messages look like, both to and from the list? -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] Problem with the forward slash in digest announcements
Looks like in the last digest sent, and probably the original also, that a Subject line of Rpms for RHEL/Centos 4? gets chopped to Centos 4 in the attachment names due to the forward slash. Is this a know problem? Steve Campbell [EMAIL PROTECTED] Charleston Newspapers -- 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] No E-mail from mailman/postfix
I wrote: did step 13 in the installation instructions - Create your first mailing list. The fourth bullet is o Check your email for a message from Mailman informing you that your new mailing list was created. The web page after I had clicked on Create List had this text: Mailing list creation results You have successfully created the mailing list mmtestlist1 and notification has been sent to the list owner [EMAIL PROTECTED] You can now: * Visit the list's info page * Visit the list's admin page * Create another list There was no mail from my mailman/postfix system. I see nothing in /var/log/syslog from postfix. Yesterday I did step 8 (Create a site-wide mailing list); the last piece is You should also subscribe yourself to the site list. I did that, and there also was no mail from mailman/postfix. I do see in logs/vette one line for each of my attempts: May 08 13:43:07 2006 (16295) mailman: held subscription request from . Where do I look to see what the problem might be? Thanks. And Patrick Bogen replied: Check your web interface, logging in with the moderator/admin password, and approve the subscription request. Then, try re-sending a message to the site list. And Mark Sapiro replied: Your held subscription requests can be approved as Patrick notes. They are being held because Privacy options...-Subscription rules-subscribe_policy is set to Require approval or Confirm and approve. I approved the subscription request, and there still is no e-mail from mailman to postfix and back to me. When I run bin/show_qfiles qfiles/retry* I see ten mail messages queued. There is no indication of why they are queued, and there is no evidence from the postfix /var/log/syslog that the mail was even sent to postfix. In the logs directory I have errors - one error report from a few days ago when I ran a command before I started the qrunner subscribe - One line for a subscription via admin approval vette - Three lines for subscription requests held pending approval There are zero-length files in that logs directory post qrunner smtp smtp-failure I have not sent any test mail to the site-wide list or to a test list I created yesterday. If I have 10 messages queued, I assume (maybe incorrectly) that new mail will also remain queued. The ten pieces of queued mail are: 01) The mailing list `mailman' has just been created for you. 02) Your authorization is required for a mailing list subscription request ... 03) Your authorization is required for a mailing list subscription request ... 04) You are not allowed to post to this mailing list ... (I sent a help e-mail to [EMAIL PROTECTED]) 05) You are not allowed to post to this mailing list ... (I sent another help e-mail to [EMAIL PROTECTED]) 06) You are not allowed to post to this mailing list ... (I sent another help e-mail to [EMAIL PROTECTED]) 07) Your authorization is required for a mailing list subscription request ... 08) The mailing list `mmtestlist1' has just been created for you. 09) Welcome to the [EMAIL PROTECTED] mailing list! 10) has been successfully subscribed to Mailman. Where else do I look to determine what the problem might be? Thanks. -- 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
[Mailman-Users] odd little issues
Hi, We just migrated to mailman not to long ago and while I love it as the administrator my users are not pleased at this time. I've got some strange issues that I haven't been able to work out and I'm hoping someone here can help. I've done some googling and I've read quite a bit but for some reason I'm having trouble understanding what I need to do to resolve these issues. I apologize in advance for asking what may seem to be old questions: 1.Most of my lists allow anyone to post with no explicit destination required generic_nonmember_action = accept require_explicit_destination = no emergency moderation = no default_member_moderation = no yet I occasionally receive requests for an approval for posts by non-members. This is really bad since these are our customers. What else could be causing this to happen? What can I do to ensure that emails sent from certain domains (ie, that of my customers) are automatically accepted? 2.sigh I've seen this around but I need to fix it: I have Outlook users. They are receiving empty attachments when receiving mail from mailman. As they love to point out, this wasn't a problem with the old mail server (to which I respond - yeah - you didn't get any mail at all - but I guess we all forget the bad times) Anyway - they do get the message in the body but they get this crazy empty attachment and it's driving them nuts. Now removing HTML is not an option since a lot of our reports are sent this way. (My VP of Engineering has already made this clear). So I tried deleting the footer data thinking maybe this was the culprit but that didn't help. Exactly what do I need to do to prevent this attachment from being sent out from our lists? I don't know how to completely remove the footer but I don't know if that's actually causing the problem. 3.Is there any administrative interface that allows me to address all pending requests for all lists with out having to go through each and every list admin individually? Lately my mailman server has been sending me approval requests but when I go to the individual list admin there are no posts waiting for approval. I've noticed that many of these requests have a dash - proceeding the subject line. for ex: From: [EMAIL PROTECTED] Subject: -1 Expuk-reports moderator request(s) waiting However, when I go to the admin interface to approve the request, there is none. I get one for every list we have on this system. We have well over a hundred lists on this server and a couple of hundred on the other. I appreciate your assistance and patience -- 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] odd little issues
Carconni wrote: yet I occasionally receive requests for an approval for posts by non-members. This is really bad since these are our customers. What else could be causing this to happen? What can I do to ensure that emails sent from certain domains (ie, that of my customers) are automatically accepted? There are lots of reasons why a message can be held, e.g. 'too big' (General options-.max_message_size), too many recipients (Privacy options...-Recipient filters-max_num_recipients). Look in Mailman's vette log (or the admindb pabe or the moderator notification) for the reason and address that. 2.sigh I've seen this around but I need to fix it: I have Outlook users. They are receiving empty attachments when receiving mail from mailman. As they love to point out, this wasn't a problem with the old mail server (to which I respond - yeah - you didn't get any mail at all - but I guess we all forget the bad times) Anyway - they do get the message in the body but they get this crazy empty attachment and it's driving them nuts. What is does the full, raw message from Mailman look like? 3.Is there any administrative interface that allows me to address all pending requests for all lists with out having to go through each and every list admin individually? No. Lately my mailman server has been sending me approval requests but when I go to the individual list admin there are no posts waiting for approval. I've noticed that many of these requests have a dash - proceeding the subject line. for ex: From: [EMAIL PROTECTED] Subject: -1 Expuk-reports moderator request(s) waiting See http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.038.htp (it's a minus sign, i.e. 'negative one requests'). -- 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] Cannot access admin list page for one of my lists
Mark, Thanks for your attention. I'll try the dumpdb tool. Other information that I think is relevant is that if I put the wrong password the returns the error as usual. So it seems to be authenticating without any problems... I'll doublecheck my logs... tks... On 5/11/06, Mark Sapiro [EMAIL PROTECTED] wrote: Fabiano Breves wrote: I am facing a weird problem with Mailman. Until last week everything was working fine, really smooth. But this week I simply can't access any web page related to one of my lists, al the other lists work fine. I used de check_db tool and it seems to be ok. check_db only tests to see that the config can be loaded. It doesn't test the integrity of the loaded data. The apache log say: Premature end of script headers: admin, referer besides that I don't have any other clue. What does Mailman's error log say? The admin script is dying without producing output. Since other lists work, this has to be a problem with the list's config.pck data. Try bin/dumpdb, and if it works, perhaps compare it's output to that of a similar, working list. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Fabiano de Carvalho Breves [EMAIL PROTECTED] -- 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] No E-mail from mailman/postfix
Barry Finkel wrote: I approved the subscription request, and there still is no e-mail from mailman to postfix and back to me. When I run bin/show_qfiles qfiles/retry* I see ten mail messages queued. There is no indication of why they are queued, and there is no evidence from the postfix /var/log/syslog that the mail was even sent to postfix. In the logs directory I have errors - one error report from a few days ago when I ran a command before I started the qrunner subscribe - One line for a subscription via admin approval vette - Three lines for subscription requests held pending approval There are zero-length files in that logs directory post qrunner smtp smtp-failure Unless you have changed things like DELIVERY_MODULE or the SMTP_LOG_* settings in mm_cfg.py, there should be a 'smtp_failure' log entry for each message in the retry queue. Also, there should be 'qrunner' log entries. Are you sure you don't have Mailman logs somewhere other than where you are looking? Check mm_cfg.py and maybe Defaults.py for an assignment to LOG_DIR. -- 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] Custom footer based on sender's email
Mark Sapiro wrote: Rob Jackson wrote: snip +pl = msg.get_payload(decode=True) +re.sub('AZ', 'new text', pl) +msg.set_payload(pl) snip It looks OK to me. Actually, it's not OK. I overlooked the fact that Python strings are immutable and re.sub doesn't (can't) change them in place. Thus, re.sub('AZ', 'new text', pl) needs to be pl = re.sub('AZ', 'new text', pl) -- 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] remove lists part of the fully qualified domain name
Hello, I am able to connect to my mailman admin page, by going to this link: http://domain.com/mailman/admin/mailman However, after I enter the password and update any values that I would like to change in the admin page, when I click Submit Your Changes button, I get an error that the following does domain not exist: lists.domain.com The problem here is that lists.domain.com is not defined in our DNS server. So I am wondering, how can I configure mailman so that it is using domain.com instead of lists.domian.com. Any ideeas would be apreciated. Thanks you in advance. Regards, Floriola __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Problem with the forward slash in digestannouncements
Steve Campbell wrote: Looks like in the last digest sent, and probably the original also, that a Subject line of Rpms for RHEL/Centos 4? gets chopped to Centos 4 in the attachment names due to the forward slash. If I understand you correctly, you received a MIME format digest as a multipart/mixed message consisting of a few text/plain sub-parts as well as a multipart/digest sub-part in turn consisting of some message/rfc822 sub-parts, each of which is one list message, and your MUA (MS Outlook Express?) shows you the text/plain parts and a bunch of attachments, each of which is one of the messages and has a name which is normally the subject of the message, but in the case of the message with subject Rpms for RHEL/Centos 4?, was just Centos 4?. This naming of the attachments is strictly a function of your MUA. There is no actual Content-Disposition: header with a filename= parameter nor is there a name= parameter in the Content-Type: header of these message parts. Your MUA either is Outlook Express or does what it does which is to give the attachment a name which is that portion of the Subject: to the right of the rightmost slash. Thunderbird for example will give the same attachment a name equal to the Subject: whether or not it contains slashes. Mailman has nothing to do with this. -- 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] remove lists part of the fully qualified domain name
Floriola wrote: I am able to connect to my mailman admin page, by going to this link: http://domain.com/mailman/admin/mailman However, after I enter the password and update any values that I would like to change in the admin page, when I click Submit Your Changes button, I get an error that the following does domain not exist: lists.domain.com The mailman list has a web_page_url attribute of something like http://lists.domain.com/mailman/, most likely because when the list was created (and maybe still), the value of DEFAULT_URL_HOST was lists.domain.com. This causes the 'post' URL for the web pages to begin with http://lists.domain.com/mailman/. Search the FAQ wizard for fix_url or just go to http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.069.htp. -- 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] Rpms for RHEL/Centos 4?
Hi Mark, thanks for answering. I'm a litle late to the FHS discusion, do you know why the FHS patch from RH was not accepted? http://www.mail-archive.com/mailman-developers@python.org/msg08110.html Should I post the question to the -developers list? Thanks Oliver Mark Sapiro wrote: Oliver Schulze L. wrote: But there is one patch that I found important, and it is the Filesystem Hierarchy Standard (FHS) patch. Does mailman 2.1.8 support FHS? No. All we have at present, including 2.1.8, are the config options --prefix=dir --exec-prefix=dir --with-var-prefix=dir -- Oliver Schulze L. [EMAIL PROTECTED] -- 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] Rpms for RHEL/Centos 4?
Oliver Schulze L. wrote: I'm a litle late to the FHS discusion, do you know why the FHS patch from RH was not accepted? http://www.mail-archive.com/mailman-developers@python.org/msg08110.html At the time John developed the patch, Tokio was pretty much the only person actively working on the 2.1.x branch. The necessary 'additional testing' mentioned in the above referenced thread was not done for lack of resources. This doesn't mean the patch is dead - it is still potentially a candidate for 2.2. -- 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] Rpms for RHEL/Centos 4?
Mark Sapiro wrote: At the time John developed the patch, Tokio was pretty much the only person actively working on the 2.1.x branch. The necessary 'additional testing' mentioned in the above referenced thread was not done for lack of resources. This doesn't mean the patch is dead - it is still potentially a candidate for 2.2. I understand. Maybe the patch can be included (with a big warning) in the next alpha release of mailman 2.1.x so that people can test it. I think that if the patch does not change the behavior of the configure script until it is told to do so, it can be a nice addition to mailman. Because people who does not use it, won't be affected. Personally, I can test on RH Linux, from RH9 to RHEL 2.1/3/4 Thanks Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] Mailman and forwarded emails
Hi, I have a question about mailman. I am trying to have a situation where by I can send an email to [EMAIL PROTECTED] and have that then sent to my mailinglist. The [EMAIL PROTECTED] is just a mail forwarding rule at zonedit which forwards all mail to that address on to [EMAIL PROTECTED] which is the actual address for my mailinglist. The forwarding through zonedit is working AOK but there is some problem with the mailinglist at my moohoohoo.com domain. The mailinglist does not seem to receive the forwarded messages. I think there may be a filter or some other setting within the mailinglist which is preventing the forwarded messages getting on to the mailinglist. What do you think? Just so you know:- message - [EMAIL PROTECTED] - gets on to the list AOK message - [EMAIL PROTECTED] (set to forward to a standard email address) - gets on to the email address AOK message - [EMAIL PROTECTED] (set to forward to [EMAIL PROTECTED]) - does *not* get on to the list and seems to disappear (no error in delivery messages etc) I really think there must be some settings in the mailinglist software to fix this. Hoping you can help. Adrian -- 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