Re: [Mailman-Users] changing Mailman layout
Hi all, The best way to add css or similar things to these pages is to modify the Format() method of the Document() class in Mailman/htmlformat.py. What something like that work or do I need to learn python? :) output.append('META http-equiv=Content-Type ' 'content=text/html; charset=%s' % charset) output.append('META http-equiv=Content-Type ' 'content=text/html; charset=%s' % charset \n 'link rel=stylesheet href=domain.tld/stylesheet.css type=text/css') Many thanks for further ideas! -- Zbigniew Szalbot www.LCWords.com -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] changes at aol
Brad Knowles wrote: Yeah, but rate-limiting is nothing like having all your e-mail silently dropped on the floor. At least you're getting something through, and you usually know something about that fact. Obviously ... I just mentioned it to show AOL's general perspective towards people who participate in the feedback loop program. david -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] changing Mailman layout
Zbigniew Szalbot wrote: What something like that work or do I need to learn python? :) output.append('META http-equiv=Content-Type ' 'content=text/html; charset=%s' % charset) output.append('META http-equiv=Content-Type ' 'content=text/html; charset=%s' % charset \n 'link rel=stylesheet href=domain.tld/stylesheet.css type=text/css') Learning Python is always worthwhile :) The above replacement won't work for a few technical reasons. Do it this way: output.append('META http-equiv=Content-Type ' 'content=text/html; charset=%s' % charset) output.append('link rel=stylesheet ' 'href=domain.tld/stylesheet.css type=text/css') -- 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://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
[Mailman-Users] set up HTML form to feed into Mailman
Hi all How hard would it be to create an HTML form for a website which could be used to subscribe people to a list, rather than using the one on the mailman site for the list? Thanks Dave Briggs [EMAIL PROTECTED] | www.davepress.net | 07525 209589 -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] set up HTML form to feed into Mailman
Dave Briggs wrote: How hard would it be to create an HTML form for a website which could be used to subscribe people to a list, rather than using the one on the mailman site for the list? See FAQ 4.33 http://wiki.list.org/x/hIA9. -- 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://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] set up HTML form to feed into Mailman
Dave, You mean instead of using the python driven web form that comes with mailman? You can create a front-end to the existing subscription processes using an html form that collects the necessary parameters and submits them to mailman via the form's ACTION=your mailman url/LISTNAME. Here are the required params: email, fullname, pw, pw-conf (confirmed...same as pw), digest, email-button Here's a super-simple example: html head titleSubscribe to List/title /head body form action=http://yourmailman.server.com/mailman/subscribe/listname method=post Email: input name=email type=textbr Full Name: input name=fullname type=textbr Password: input name=pw type=passwordbr Confirm: input name=pw-conf type=passwordbr Digest: select name=digest option value=1Yes/option option value=0No/option /select input type=submit name=email-button value=Submit /form /body /html Keep in mind - you'll probably want to implement or write a cgi script to verify some of the input fields and scrub the data... and verify that the pw matches pw-conf... but it's a start. I wrote a script that allows folks to subscribe remotely from command line on a unix/linux server as long as they have cURL installed... will forward that along if anybody's interested. Here's the important line from the script. The $VARS are collected from the stdin or prompted. curl -s $MAILMANURL/${LIST}?email=${UEMAIL}fullname=$FIRSTNAME%20$LASTNAMEpw=$ PWpw-conf=$PWdigest=0email-button=Submit YMMV. Rgds, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Briggs Sent: Thursday, August 14, 2008 12:02 PM To: Mailman-Users@python.org Subject: [Mailman-Users] set up HTML form to feed into Mailman Hi all How hard would it be to create an HTML form for a website which could be used to subscribe people to a list, rather than using the one on the mailman site for the list? Thanks Dave Briggs [EMAIL PROTECTED] | www.davepress.net | 07525 209589 -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/michael_lynn%40ml.c om Security Policy: http://wiki.list.org/x/QIA9 This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] changes at aol
On 8/14/08, Ralf Hildebrandt wrote: Care to share a picture of how it looks? No retard aoluser was able to send me a screenshot. Yet. It differs depending on which version of which client you're running on which platform. Is there a specific version you're looking for? -- Brad Knowles [EMAIL PROTECTED] LinkedIn Profile: http://tinyurl.com/y8kpxu -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] changes at aol
On 8/14/08, David Gibbs wrote: Obviously ... I just mentioned it to show AOL's general perspective towards people who participate in the feedback loop program. Their attitude towards us is better than their attitude towards the rest of the effluent. At least we're floating on top. -- Brad Knowles [EMAIL PROTECTED] LinkedIn Profile: http://tinyurl.com/y8kpxu -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] changes at aol
Brad Knowles wrote: On 8/14/08, David Gibbs wrote: Obviously ... I just mentioned it to show AOL's general perspective towards people who participate in the feedback loop program. Their attitude towards us is better than their attitude towards the rest of the effluent. At least we're floating on top. End original message. - Yes, but being on a shaky, leaky canoe ready to sink or capsize on top of a cesspool is still not a very nice place to be. ;-) Dragon ~~~ Venimus, Saltavimus, Bibimus (et naribus canium capti sumus) ~~~ -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] Newsrunner infinite loop
Max Lanfranconi wrote: I have a mailman 2.1.11 installation running about 1000 mailing lists. Each of them is bi-directionally gatewayed via NNTP. I have been hitting the following scenario: Email 'a' is made of a text body and email 'b' as a text attachment. Is the attachment Content-Type: text/plain or message/rfc822? Email 'b' is made of a text body and another non-text attachment. Posting email 'a' to any mailing list gets email a distributed to all the mailing list members but puts NewsRunner in the following infinite loop (1 traceback per second. Needless to say, the posting never makes it to the newsgroup) Aug 13 14:36:30 2008 (25129) Uncaught runner exception: Aug 13 14:36:30 2008 (25129) Traceback (most recent call last): File /usr/local/mailman/Mailman/Queue/NewsRunner.py, line 86, in _dispose conn.quit() File /usr/lib/python2.4/nntplib.py, line 600, in quit resp = self.shortcmd('QUIT') File /usr/lib/python2.4/nntplib.py, line 260, in shortcmd return self.getresp() File /usr/lib/python2.4/nntplib.py, line 215, in getresp resp = self.getline() File /usr/lib/python2.4/nntplib.py, line 207, in getline if not line: raise EOFError EOFError Any hint about what may cause this ? The immediate cause is NewsRunner has a try: ... finally: and in the finally: clause does finally: if conn: conn.quit() to close the nntp connection if it is open. It appears that the connection may be already closed at this point because of a prior exception. Are there any '(NNTPDirect) xxx error for list ...' messages in the error log?. If not you could locate the following in Mailman/Queue/NewsRunner.py except nntplib.error_temp, e: syslog('error', '(NNTPDirect) NNTP error for list %s: %s', mlist.internal_name(), e) except socket.error, e: syslog('error', '(NNTPDirect) socket error for list %s: %s', mlist.internal_name(), e) finally: if conn: conn.quit() and replace except nntplib.error_temp, e: with except nntplib.NNTPError, e: and see if that gives any more information. nntplib does have a debug facility, but don't try to use it because it writes the debug output to stdout and NewsRunner doesn't have a stdout so this just causes more problems. -- 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://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] changes at aol
On 8/14/08, Dragon wrote: Yes, but being on a shaky, leaky canoe ready to sink or capsize on top of a cesspool is still not a very nice place to be. Who said you had the luxury of being in a canoe? You're swimming in it, buddy. They're squatting somewhere above you, and you just hope that you have enough time to swim away from the direction and area of impact when they decide to let loose again. Oh, and you want to be real careful when you try to breathe. -- Brad Knowles [EMAIL PROTECTED] LinkedIn Profile: http://tinyurl.com/y8kpxu -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] Manually bouncing messages to a mailman list
Cristian Rigamonti wrote: On Wed, Aug 13, 2008 at 08:33:14AM -0700, Mark Sapiro wrote: I don't yet understand why Mailman would discard the message, but I am able to duplicate the problem, so I will investigate further tomorrow. Thank you very much! Let me know if I can help you somehow (reminder: I'm using mailman version 2.1.9) It turns out I was mistaken. I can't duplicate the problem. I only thought I could because the test list I was using had generic_nonmember_action set to Discard. When I set that to Hold, the mutt bounced message is held as expected. If you are sure that you don't have some list setting like the above that's causing this, you can bounce a message to both the list and to me [EMAIL PROTECTED], and I'll look at it further. If you do this, also send me an email from you so I don't just ignore the 'bounced' email as spam. -- 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://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] set up HTML form to feed into Mailman
How hard would it be to create an HTML form for a website which could be used to subscribe people to a list, rather than using the one on the mailman site for the list? See FAQ 4.33 http://wiki.list.org/x/hIA9. Off the top of your head Mark, would that be viable in a cPanel situation?? Tnx, as always!! Ed -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] set up HTML form to feed into Mailman
Ed at JustBrits wrote: How hard would it be to create an HTML form for a website which could be used to subscribe people to a list, rather than using the one on the mailman site for the list? See FAQ 4.33 http://wiki.list.org/x/hIA9. Off the top of your head Mark, would that be viable in a cPanel situation?? Yes. -- 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://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9