[Mailman-Users] Virtual Host problem with 2.1.7
I am moving a couple list from a server that was running version 2.0.8. I have got the list in place and the archives in place ran bin/withlist -l -r fix_url listname -u This may be where I messed up since I used the virtual hostname (should I have used the default host name?) But whatever when I attempted to start mailman I get add_vituralhost(virtual1.tld, mail.vurtual1.tld) NameError: name 'virtual1.tld' is not defined. Where did I miss the boat. I do have my mm_cfg.py configured -- System Janitor/Network Plumber http://www.nwla.com Linux User #25446Linux 2.6.14 -- 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] Virtual Host problem with 2.1.7
Well I found the problem missed a silly tic in the add_virtualhost in the host name, now How can I fix the archives so they are visible? -- System Janitor/Network Plumber http://www.nwla.com Linux User #25446Linux 2.6.14 -- 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] broken mbox files: No blank lines before From
Hi, I've been browsing the archives, bug lists and google for a while but was unable to find a solution for my problem, so I'm asking here. The mbox archive of one of my lists (~ 15.000 mails in 2 years) is a little broken: In approx. 5% (guessed) of the cases, two mails are not correctly separated by a blank line, i.e. the From header of the latter email is directly under the last (non-empty) line of the preceding letter. This results in some problems: 1) I am in the process of converting the mbox file to a different format - this will not work with broken mbox files like this. 2) List archives are not correctly rebuilt by ~mailman/bin/arch Do you know how this problem occurs? Should I report this to mailman's bug tracker? Do you have any idea how to fix the problem? I'd be happy to hack a newline in all necessary places - but the box is a little big... Do you have any knowledge of some fix-my-mbox-program that does the job? Can anyone help me with a perl one-liner or sth? Thx, Bastian -- Bastian Friedrich [EMAIL PROTECTED] Adress Fon available on my HP http://www.bastian-friedrich.de/ \~\ \ A chicken is an egg's way of producing more eggs. -- 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] notification system
At 9:18 PM -0500 2006-01-21, Matt Gostick wrote: I have installed Mailman in hopes of using it as a type of 'notification' system. For example, a user subscribes to the list, and after subscribing I can send him/her an email notifiying them an event that happens on my website. Send a notice to that list, and all recipients will receive a copy. But you don't have a list per recipient. If you did, then why would you bother with a mailing list system -- why not just send a message directly to each of those users?\ The event would be unique for this user and should only be sent to him/her. That's not going to work. Is mailman the appropriate program for me? If not, can anyone suggest another standard program that would do the job? If every user has a unique event that only they care about, you will probably need to build your own system -- just have a database of users and what events they're interested in, and then send out e-mail messages every time one of those events happen. Yeah, that is what I do now, but I am at the point where I am sending so many emails per day that my penetration rate is decreasing b/c of Junk/Spam folders. I was hoping that using a standard program where the unsubscribe/subscribe system was known and trusted by isp's that I would get better penetration. Thanks, Matt. -- 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] Group Mismatch error
Myo Zaw Nyunt wrote: I got the following error after I post my first mail to the list. I am using Sendmail. I don't know what to do. Regards, Myo Gyi Servername Mailman mail-wrapper: Group mismatch error. Mailman expected the mail wrapper script to be executed as group mailman, but the system's mail server executed the mail script as group mailnull. Try tweaking the mail server to run the script as group mailman, or re-run configure, providing the command line option `--with-mail-gid=mailnull'. Do what it says. If you installed from source, rerun configure, adding or changing the option --with-mail-gid=mailnull, and then run 'make install' If you installed from a package, there may be some package dependent way of changing the group the wrapper expects. Or, if you can, you can tell sendmail to run as gropp 'mailman' when executing the wrapper. See http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.016.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] notification system
Matt Gostick wrote: I was hoping that using a standard program where the unsubscribe/subscribe system was known and trusted by isp's that I would get better penetration. I don't think that's the way ISP's work in general. I think they consider the source IP of the mail, not the software that apparently delivered it. In any case, I doubt that any ISP would whitelist mail simply because it appeared to be sent from Mailman. Mailman can be a abused too. -- 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] Virtual Host problem with 2.1.7
Mel Sojka wrote: now How can I fix the archives so they are visible? I'm not sure what the issue is with your archives. Can you give more details of the problem? You may have to run bin/arch --wipe to rebuild the archives in order to update embedded URLs. -- 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] Determine List Bandwidth
On 21/01/06, Bryan Carbonnell [EMAIL PROTECTED] wrote: On 19/01/06, Bryan Carbonnell [EMAIL PROTECTED] wrote: Is there any facility within Mailman to determine the bandwidth used by a specific list? Since there is no inbuilt way to do this with Mailman, I wrote a Python script to parse the POST log and take the size of the posts to a specific list and then multiply that by the number of active subscribers at the time this script was run. This gets the stats from the day before the script is run. I also said that I would let everyone know if I found a way to do it, here is the script. Keep in mind that I don't know Python (I spent an awful lot of time googling and read Python Docs :) This is an updated version, which now includes that facility to e-mail the results. I have also tried it on my server and it works fine for me. I think that some of the commands or modules require Python 2.3 or higher. I have set it up as a cron job, so tomorrow will be the really big test. If I get an e-mail with the stats, then I know my first Python program really does work :-) Again, let me know if you see any way this can be improved. Also, is there someplace on Sourceforge that I can post this, so that everyone can enjoy it too? #!/usr/local/bin/python import os import re import datetime import commands import smtplib from email.MIMEText import MIMEText # Full path to the post log file FILE = '/var/log/mailman/post' # The list of interest LISTNAME = 'LISTNAME' # E-Mail Address of sender of e-mail SENDER = [EMAIL PROTECTED] RECPTS = [EMAIL PROTECTED] # Prefix of the Mailman Installation PREFIX = '/var/mailman' # No changes should be required below here # Setup some default values n = 0 bw = 0 # Get yesterdays date yesterday = datetime.datetime.today() - datetime.timedelta(days=1) # check for existence of file if os.path.exists(FILE): # open file if it exists input = open(FILE, 'r') #Loop through file line by line for line in input: # Check to see if we are on a record from yesterday restr = yesterday.strftime(%b %d ) + \d\d:\d\d:\d\d \ + yesterday.strftime( %Y) if re.findall(r'%s' % restr, line): # Check to see if the listname is in the line if re.findall(r'%s' % LISTNAME, line): ret = re.findall(r'size=\d*', line) ret2 = re.findall(r'\d*', ret[0]) bw = bw + long(ret2[5]) n = n + 1 # Now check and see how many members are subscribed to the listi membs = 0 op = commands.getoutput('%s/bin/list_members %s' % (PREFIX, LISTNAME)) for line in op.splitlines(): membs = membs + 1 # Now count mebers that are set to nomail membn = 0 op = commands.getoutput('%s/bin/list_members --nomail %s' % (PREFIX,LISTNAME)) for line in op.splitlines(): membn = membn + 1 # Now calculate members that are receiving mail membt = membs - membn # Now calculate the bandwidth tbw = bw * membt # Now lets send an e-mail # Build the body text msg = '%s posts to %s on %s\n' %(n, LISTNAME, yesterday.strftime('%b %d, %Y')) msg = msg + '%s bytes received\n' % bw msg = msg + '%s members subscribed\n' % membs msg = msg + '%s members receiving list mail\n' % membt msg = msg + Approximately %s bytes sent\n % tbw msgMIME = MIMEText(msg) msgMIME['Subject'] = 'Bandwidth of %s - %s' % (LISTNAME, yesterday.strftime('%b %d, %Y')) msgMIME['From'] = SENDER msgMIME['To'] = RECPTS # Send the message via our own SMTP server, but don't include the # envelope header. s = smtplib.SMTP() s.connect() s.sendmail(SENDER, RECPTS, msgMIME.as_string()) s.close() else: print log file not found -- Bryan Carbonnell - [EMAIL PROTECTED] Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting What a great ride! -- 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] broken mbox files: No blank lines before From
Bastian Friedrich wrote: The mbox archive of one of my lists (~ 15.000 mails in 2 years) is a little broken: In approx. 5% (guessed) of the cases, two mails are not correctly separated by a blank line, i.e. the From header of the latter email is directly under the last (non-empty) line of the preceding letter. This results in some problems: Do you have any knowledge of some fix-my-mbox-program that does the job? Can anyone help me with a perl one-liner or sth? bin/cleanarch should do the job. -- 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] Determine List Bandwidth
Bryan Carbonnell Again, let me know if you see any way this can be improved. I haven't looked in great detail, but here are some random thoughts I have on the subject for your consideration. If you rotate logs on your system, you may need to concatenate the two most recent logs to be sure you have all the info for one day. If you have digest members, you may or may not be concerned that the digest may not be sent until the 'next day'. Also, if a post is scrubbed for the digest, it may be significantly smaller than the size in the post log. You could match message id's from the post log with the smtp log to get the exact number of recipients without counting members, but this will only get the message recipients, not digest. You can see digests in the smtp log, but not how big or even for what list Also, is there someplace on Sourceforge that I can post this, so that everyone can enjoy it too? You can post it to the Mailman patches tracker. See http://sourceforge.net/tracker/index.php?func=detailaid=1123383group_id=103atid=300103 for an example of a different script with a different purpose to see how this works. -- 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] Virtual Host problem with 2.1.7
Well I might need to post this to the list but I am now having errors on the moved list that got it locked down can't find the config.pck.last no such file or directory. Below is what I am getting form the error log. Last few entries are new looks like I have problems related to the move. Need a FAQ for sure. -- System Janitor/Network Plumber http://www.nwla.com Linux User #25446Linux 2.6.14 Jan 14 12:00:01 2006 (20978) couldn't load config file /usr/local/mailman/lists/maillist/config.pck.last [Errno 2] No such file or directory: '/usr/local/mailman/lists/maillist/config.pck.last' Jan 22 11:18:12 2006 mailmanctl(248): Traceback (most recent call last): Jan 22 11:18:12 2006 mailmanctl(248): File /usr/local/mailman/bin/mailmanctl, line 547, in ? Jan 22 11:18:12 2006 mailmanctl(248): main() Jan 22 11:18:12 2006 mailmanctl(248): File /usr/local/mailman/bin/mailmanctl, line 473, in main Jan 22 11:18:12 2006 mailmanctl(248): pid, status = os.wait() Jan 22 11:18:12 2006 mailmanctl(248): File /usr/local/mailman/bin/mailmanctl, line 433, in sigalrm_handler Jan 22 11:18:12 2006 mailmanctl(248): lock.refresh() Jan 22 11:18:12 2006 mailmanctl(248): File /usr/local/mailman/Mailman/LockFile.py, line 229, in refresh Jan 22 11:18:12 2006 mailmanctl(248): raise NotLockedError, '%s: %s' % (repr(self), self.__read()) Jan 22 11:18:12 2006 mailmanctl(248): Mailman.LockFile . NotLockedError : LockFile 1080919564: /usr/local/mailman/locks/master-qrunner [unlocked: 108000sec] pid=248: /usr/local/mailman/locks/master-qrunner.cat1.9186 -- 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] Virtual Host problem with 2.1.7
Mel Sojka I am now having errors on the moved list that got it locked down can't find the config.pck.last no such file or directory. Below is what I am getting form the error log. Last few entries are new looks like I have problems related to the move. Need a FAQ for sure. Jan 14 12:00:01 2006 (20978) couldn't load config file /usr/local/mailman/lists/maillist/config.pck.last [Errno 2] No such file or directory: '/usr/local/mailman/lists/maillist/config.pck.last' These are two different errors. The one above, is something is having some diffilcuty with /usr/local/mailman/lists/maillist/config.pck. The mention of config.pck.last may be a red herring because lists instantiation tries all the names and only reports the last one. Jan 22 11:18:12 2006 mailmanctl(248): Traceback (most recent call last): Jan 22 11:18:12 2006 mailmanctl(248): File /usr/local/mailman/bin/mailmanctl, line 547, in ? Jan 22 11:18:12 2006 mailmanctl(248): main() Jan 22 11:18:12 2006 mailmanctl(248): File /usr/local/mailman/bin/mailmanctl, line 473, in main Jan 22 11:18:12 2006 mailmanctl(248): pid, status = os.wait() Jan 22 11:18:12 2006 mailmanctl(248): File /usr/local/mailman/bin/mailmanctl, line 433, in sigalrm_handler Jan 22 11:18:12 2006 mailmanctl(248): lock.refresh() Jan 22 11:18:12 2006 mailmanctl(248): File /usr/local/mailman/Mailman/LockFile.py, line 229, in refresh Jan 22 11:18:12 2006 mailmanctl(248): raise NotLockedError, '%s: %s' % (repr(self), self.__read()) Jan 22 11:18:12 2006 mailmanctl(248): Mailman.LockFile . NotLockedError : LockFile 1080919564: /usr/local/mailman/locks/master-qrunner [unlocked: 108000sec] pid=248: /usr/local/mailman/locks/master-qrunner.cat1.9186 This one seems to say that somehow the master qrunner lock got removed within the preceding 24 hours. Was a 'bin/mailmanctl -s start' run while another bin/mailmanctl was still running? -- 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] broken mbox files: No blank lines before From
Mark Sapiro wrote: bin/cleanarch should do the job. bin/cleanarch seems to be broken. A patch is attached that will fix it, or you can download a fixed version at http://cvs.sourceforge.net/viewcvs.py/mailman/mailman/bin/cleanarch?view=log -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan --- test-mailman-2.1/bin/cleanarch 2005-08-26 19:40:16.0 -0700 +++ test-mailman/bin/cleanarch 2006-01-22 12:22:55.15625 -0800 @@ -59,7 +60,7 @@ # From RFC 2822, a header field name must contain only characters from 33-126 # inclusive, excluding colon. I.e. from oct 41 to oct 176 less oct 072. Must # use re.match() so that it's anchored at the beginning of the line. -fre = re.compile(r'[\041-\071\073-\0176]+') +fre = re.compile(r'[\041-\071\073-\176]+') -- 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] notification system
At 11:34 AM -0500 2006-01-22, Matt Gostick wrote: Yeah, that is what I do now, but I am at the point where I am sending so many emails per day that my penetration rate is decreasing b/c of Junk/Spam folders. Ahh. Yes, that could be a problem. I was hoping that using a standard program where the unsubscribe/subscribe system was known and trusted by isp's that I would get better penetration. There are lots of spammers out there that use Mailman to spew their sewage, or they do a pretty decent job of spoofing Mailman while actually using other tools. Just having the Mailman name on the outgoing message wouldn't save you anything. -- Brad Knowles, [EMAIL PROTECTED] Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See http://www.lopsa.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] Determine List Bandwidth
At 1:27 PM -0500 2006-01-22, Bryan Carbonnell wrote: Is there any facility within Mailman to determine the bandwidth used by a specific list? Since there is no inbuilt way to do this with Mailman, I wrote a Python script to parse the POST log and take the size of the posts to a specific list and then multiply that by the number of active subscribers at the time this script was run. This gets the stats from the day before the script is run. [ ... deletia ... ] This is an updated version, which now includes that facility to e-mail the results. I have also tried it on my server and it works fine for me. I think that some of the commands or modules require Python 2.3 or higher. Thinking about this some more, this sounds kind of like what I'm doing with the MailMan Daily Status Report (mmdsr) script, which you can find at http://sourceforge.net/tracker/index.php?func=detailaid=1123383group_id=103atid=300103. I'm working to get this included in the contrib/ directory of Mailman, so that everyone will get a copy of it with the tarball, as opposed to having to download it separately. Of course, my stuff is written in Bourne shell and not Python, but there might be some stuff there that you find useful. I recommend you check it out and see what you think. If you find anything useful and that you want to incorporate into your tool, I would ask that you please let me know, although that isn't required according to the terms of the BSD-style license that I use. If you've got stuff that you think I might find interesting, I'd appreciate getting more information from you on the kind of output you think is useful and how you're creating it. -- Brad Knowles, [EMAIL PROTECTED] Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 LOPSA member since December 2005. See http://www.lopsa.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] broken mbox files: No blank lines before From
Hi, On Sunday 22 January 2006 19:55, Mark Sapiro wrote: Bastian Friedrich wrote: not correctly separated by a blank line, i.e. the From header of the latter email is directly under the last (non-empty) line of the preceding letter. bin/cleanarch There it was... directly at my hands... :) Thx a lot, cleanarch did a perfect job (although my fscked up SuSE Linux installation will not execute it... *grrr*) Bastian -- Bastian Friedrich [EMAIL PROTECTED] Adress Fon available on my HP http://www.bastian-friedrich.de/ \~\ \ My keyboard has an F1 key. Where is the NASCAR key? -- 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] broken mbox files: No blank lines before From
Bastian Friedrich schrieb: Do you have any knowledge of some fix-my-mbox-program that does the job? Can anyone help me with a perl one-liner or sth? Look for a typical From-Line like | From [EMAIL PROTECTED] Fri Sep 8 13:21:43 2003 (I'd use a regular expression for that) with a non-empty line before it and replace that $line with \n$line. -thh -- 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] is driving me crazy
We moved this client from one server to other because his mailing list were going down every week, in fact for some reason is shutid donw the whole mailman, hope someone could help us with this, we re installed mailman and also we deleted and created the list again, it ran for a month now again every week is going down, just a note...before we moved this list the mailman was working without problem in this server, so is something specific with this list, is crazy...any help? I did find some logs probably could help. --- Jan 18 17:59:46 2006 admin(4202): admin(4202): [- Mailman Version: 2.1.6 -] admin(4202): [- Traceback --] admin(4202): Traceback (most recent call last): admin(4202): File /usr/local/cpanel/3rdparty/mailman/scripts/driver, line 109, in run_main admin(4202): sys.stdout.write(tempstdout.getvalue()) admin(4202): IOError: [Errno 32] Broken pipe admin(4202): [- Python Information -] admin(4202): sys.version = 2.2.3 (#1, Feb 2 2005, 12:20:51) [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-49)] admin(4202): sys.executable = /usr/bin/python2 admin(4202): sys.prefix = /usr admin(4202): sys.exec_prefix = /usr admin(4202): sys.path= /usr admin(4202): sys.platform= linux2 admin(4202): [- Environment Variables -] admin(4202):PATH_INFO: /mercedes_striplin.net admin(4202):HTTP_COOKIE: banned_striplin.net+admin=eaa7cd64623739; mercedes_striplin.net+admin=4b51ce66366534 admin(4202):SERVER_SOFTWARE: Apache admin(4202):PYTHONPATH: /usr/local/cpanel/3rdparty/mailman admin(4202):SCRIPT_FILENAME: /usr/local/cpanel/3rdparty/mailman/cgi-bin/admindb admin(4202):SERVER_ADMIN: [EMAIL PROTECTED] admin(4202):SCRIPT_NAME: /mailman/admindb admin(4202):REQUEST_METHOD: GET admin(4202):HTTP_HOST: striplin.net admin(4202):HTTP_KEEP_ALIVE: 300 admin(4202):SERVER_PROTOCOL: HTTP/1.1 admin(4202):QUERY_STRING: admin(4202):REQUEST_URI: /mailman/admindb/mercedes_striplin.net admin(4202):HTTP_ACCEPT: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 admin(4202):HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7 admin(4202):HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) admin(4202):HTTP_CONNECTION: keep-alive admin(4202):SERVER_NAME: www.striplin.net admin(4202):REMOTE_ADDR: 70.184.21.183 admin(4202):REMOTE_PORT: 3450 admin(4202):HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5 admin(4202):PATH_TRANSLATED: /home/okiebenz/public_html/mercedes_striplin.net admin(4202):SERVER_PORT: 80 admin(4202):GATEWAY_INTERFACE: CGI/1.1 admin(4202):HTTP_ACCEPT_ENCODING: gzip,deflate admin(4202):SERVER_ADDR: 67.18.66.132 admin(4202):DOCUMENT_ROOT: /home/okiebenz/public_html - Also when i loged in shell, in fact right now after i restarted mailman and was the shell openit geting the following messages Traceback (most recent call last): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 270, in ? main() File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 230, in main qrunner.run() File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py, line 70, in run filecnt = self._oneloop() File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py, line 99, in _oneloop msg, msgdata = self._switchboard.dequeue(filebase) File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Switchboard.py, line 143, in dequeue fp = open(filename) IOError: [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/qfiles/in/1137970125.9761269+9cb39062150386402d39380ce999525996a8a87c.pck' Traceback (most recent call last): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 270, in ? main() File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 230, in main qrunner.run() File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py, line 70, in run filecnt = self._oneloop() File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py, line 99, in _oneloop msg, msgdata = self._switchboard.dequeue(filebase) File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Switchboard.py, line 143, in dequeue fp = open(filename) IOError: [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/qfiles/bounces/1137970235.609026+0692b87b5f7b8faa6b88f82f4aa6f0394d3a7c35.pck' Thank you in advance! -- Mailman-Users mailing list Mailman-Users@python.org
Re: [Mailman-Users] is driving me crazy
ArteryPlanet.Net :: Manuel Kissoyan wrote: We moved this client from one server to other because his mailing list were going down every week, in fact for some reason is shutid donw the whole mailman, hope someone could help us with this, we re installed mailman and also we deleted and created the list again, it ran for a month now again every week is going down, just a note...before we moved this list the mailman was working without problem in this server, so is something specific with this list, is crazy...any help? I don't think these log entries/error reprorts are relevant to the issue. See below. First, see http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.011.htp. That said, in order to help, we need more specific information about the problem. I.e., at this point, is it just the list, or the whole Mailman server that's down. If the whole server, which if any queue runners are still running. What's in the 'qrunner' log. What current entries are in the 'error' log?. Where are the posts going, i.e. which qfiles/* directories have entries. If it's only the one list, presumably the qrunners are OK, but the other questions apply. Also, what happens if you move the lists/LIST_NAME/digest.mbox file aside? Does that help? Also see http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq01.023.htp. I did find some logs probably could help. --- Jan 18 17:59:46 2006 admin(4202): admin(4202): [- Mailman Version: 2.1.6 -] admin(4202): [- Traceback --] admin(4202): Traceback (most recent call last): admin(4202): File /usr/local/cpanel/3rdparty/mailman/scripts/driver, line 109, in run_main admin(4202): sys.stdout.write(tempstdout.getvalue()) admin(4202): IOError: [Errno 32] Broken pipe admin(4202): [- Python Information -] admin(4202): sys.version = 2.2.3 (#1, Feb 2 2005, 12:20:51) [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-49)] admin(4202): sys.executable = /usr/bin/python2 admin(4202): sys.prefix = /usr admin(4202): sys.exec_prefix = /usr admin(4202): sys.path= /usr admin(4202): sys.platform= linux2 admin(4202): [- Environment Variables -] admin(4202):PATH_INFO: /mercedes_striplin.net admin(4202):HTTP_COOKIE: banned_striplin.net+admin=eaa7cd64623739; mercedes_striplin.net+admin=4b51ce66366534 admin(4202):SERVER_SOFTWARE: Apache admin(4202):PYTHONPATH: /usr/local/cpanel/3rdparty/mailman admin(4202):SCRIPT_FILENAME: /usr/local/cpanel/3rdparty/mailman/cgi-bin/admindb admin(4202):SERVER_ADMIN: [EMAIL PROTECTED] admin(4202):SCRIPT_NAME: /mailman/admindb admin(4202):REQUEST_METHOD: GET admin(4202):HTTP_HOST: striplin.net admin(4202):HTTP_KEEP_ALIVE: 300 admin(4202):SERVER_PROTOCOL: HTTP/1.1 admin(4202):QUERY_STRING: admin(4202):REQUEST_URI: /mailman/admindb/mercedes_striplin.net admin(4202):HTTP_ACCEPT: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 admin(4202):HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7 admin(4202):HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) admin(4202):HTTP_CONNECTION: keep-alive admin(4202):SERVER_NAME: www.striplin.net admin(4202):REMOTE_ADDR: 70.184.21.183 admin(4202):REMOTE_PORT: 3450 admin(4202):HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5 admin(4202):PATH_TRANSLATED: /home/okiebenz/public_html/mercedes_striplin.net admin(4202):SERVER_PORT: 80 admin(4202):GATEWAY_INTERFACE: CGI/1.1 admin(4202):HTTP_ACCEPT_ENCODING: gzip,deflate admin(4202):SERVER_ADDR: 67.18.66.132 admin(4202):DOCUMENT_ROOT: /home/okiebenz/public_html - This indicates a user has log-in cookies as the list-admin for the 'banned' and 'mercedes' lists and is going to the admindb page for mercedes and has possibly quit or stopped the browser before the requested page was returned. The actual error trace is not relevant (it just indicates the script driver is trying to write to Apache which has already closed the pipe), but the fact that there may have been a long delay in building the page may indicate a problem with the list's request.pck or other file. Also when i loged in shell, in fact right now after i restarted mailman and was the shell openit geting the following messages Traceback (most recent call last): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 270, in ? main() File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 230, in main qrunner.run() File
Re: [Mailman-Users] is driving me crazy
Thanx mark, here are some of your answers...i already contacted cpanel they reinstalled mailman in the other server before we moved this account and that didnt help, also in this server we deleted this list and created it from zero. I remember i saw qrunners in the server process when the mailing list were down but somehow when i restart mailman looks like the whole list were down, because it starting send all the lists queued mails. the qrunner logs at the same hour when the list gone down are: Jan 18 17:29:19 2006 (23105) VirginRunner qrunner started. Jan 18 18:15:51 2006 (10568) Master qrunner detected subprocess exit (pid: 23055, sig: None, sts: 1, class: VirginRunner, slice: 1/1) [restarting] Jan 18 18:15:51 2006 (11632) VirginRunner qrunner started. Jan 18 18:16:03 2006 (480) Master qrunner detected subprocess exit (pid: 23105, sig: None, sts: 1, class: VirginRunner, slice: 1/1) [restarting] Jan 18 18:16:03 2006 (480) Qrunner VirginRunner reached maximum restart limit of 10, not restarting. these are the last lines right now in the error log: Jan 22 23:51:22 2006 qrunner(1449): Traceback (most recent call last): Jan 22 23:51:22 2006 qrunner(1449): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 270, in ? Jan 22 23:51:22 2006 qrunner(1449): main() Jan 22 23:51:22 2006 qrunner(1449): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 230, in main Jan 22 23:51:22 2006 qrunner(1449): qrunner.run() Jan 22 23:51:22 2006 qrunner(1449): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py, line 70, in run Jan 22 23:51:22 2006 qrunner(1449): filecnt = self._oneloop() Jan 22 23:51:22 2006 qrunner(1449): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py, line 99, in _oneloop Jan 22 23:51:22 2006 qrunner(1449): msg, msgdata = self._switchboard.dequeue(filebase) Jan 22 23:51:22 2006 qrunner(1449): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Switchboard.py, line 144, in dequeue Jan 22 23:51:22 2006 qrunner(1449): os.unlink(filename) Jan 22 23:51:22 2006 qrunner(1449): OSError : [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/qfiles/in/1137973882.55214+4702c7f0c4fdea7d0473729ec90428cec740947e.pck' Jan 22 23:51:23 2006 qrunner(20729): Traceback (most recent call last): Jan 22 23:51:23 2006 qrunner(20729): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 270, in ? Jan 22 23:51:23 2006 qrunner(20729): main() Jan 22 23:51:23 2006 qrunner(20713): Traceback (most recent call last): Jan 22 23:51:23 2006 qrunner(20729): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 230, in main Jan 22 23:51:23 2006 qrunner(20713): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 270, in ? Jan 22 23:51:23 2006 qrunner(20729): qrunner.run() Jan 22 23:51:23 2006 qrunner(20729): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py, line 70, in run Jan 22 23:51:23 2006 qrunner(20713): main() Jan 22 23:51:23 2006 qrunner(20729): filecnt = self._oneloop() Jan 22 23:51:23 2006 qrunner(20713): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 230, in main Jan 22 23:51:23 2006 qrunner(20729): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py, line 99, in _oneloop Jan 22 23:51:23 2006 qrunner(20713): qrunner.run() Jan 22 23:51:23 2006 qrunner(20729): msg, msgdata = self._switchboard.dequeue(filebase) Jan 22 23:51:23 2006 qrunner(20713): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py, line 70, in run Jan 22 23:51:23 2006 qrunner(20729): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Switchboard.py, line 144, in dequeue Jan 22 23:51:23 2006 qrunner(20713): filecnt = self._oneloop() Jan 22 23:51:23 2006 qrunner(20729): os.unlink(filename) Jan 22 23:51:23 2006 qrunner(20713): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py, line 99, in _oneloop Jan 22 23:51:23 2006 qrunner(20713): msg, msgdata = self._switchboard.dequeue(filebase) Jan 22 23:51:23 2006 qrunner(20729): OSError : [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/qfiles/out/1137973882.55214+536fcf4d659766a32e9b94e92bfde66798394acb.pck' Jan 22 23:51:23 2006 qrunner(20713): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Switchboard.py, line 143, in dequeue Jan 22 23:51:23 2006 qrunner(20713): fp = open(filename) Jan 22 23:51:23 2006 qrunner(20713): IOError : [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/qfiles/archive/1137973882.55214+331cf1e3f1102872474d59b9f53a1fb197f0316f.pck' Jan 22 23:52:41 2006 qrunner(21835): Traceback (most recent call last): Jan 22 23:52:41 2006 qrunner(21835): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 270, in ? Jan 22 23:52:41 2006 qrunner(21835): main() Jan 22 23:52:41 2006 qrunner(21835): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 230, in
Re: [Mailman-Users] is driving me crazy
ArteryPlanet.Net :: Manuel Kissoyan wrote: I remember i saw qrunners in the server process when the mailing list were down but somehow when i restart mailman looks like the whole list were down, because it starting send all the lists queued mails. This only means that perhaps one runner was down and starting anew created multiple copies of some. Hint: only run 'bin/mailmanctl -s start' in an init file that runs on system (re)boot. Under normal circumstances when running bin/mailmanctl manually, don't use '-s'. the qrunner logs at the same hour when the list gone down are: Jan 18 17:29:19 2006 (23105) VirginRunner qrunner started. Jan 18 18:15:51 2006 (10568) Master qrunner detected subprocess exit (pid: 23055, sig: None, sts: 1, class: VirginRunner, slice: 1/1) [restarting] Jan 18 18:15:51 2006 (11632) VirginRunner qrunner started. Jan 18 18:16:03 2006 (480) Master qrunner detected subprocess exit (pid: 23105, sig: None, sts: 1, class: VirginRunner, slice: 1/1) [restarting] Jan 18 18:16:03 2006 (480) Qrunner VirginRunner reached maximum restart limit of 10, not restarting. So VirginRunner isn't (wasn't on Jan 18) running. Are there any error log entries from Jan 18 coincident with these subprocess exits? these are the last lines right now in the error log: snip Jan 22 23:51:22 2006 qrunner(1449): OSError : [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/qfiles/in/1137973882.55214+4702c7f0c4fdea7d0473729ec90428cec740947e.pck' snip Jan 22 23:51:23 2006 qrunner(20729): OSError : [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/qfiles/out/1137973882.55214+536fcf4d659766a32e9b94e92bfde66798394acb.pck' snip Jan 22 23:51:23 2006 qrunner(20713): IOError : [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/qfiles/archive/1137973882.55214+331cf1e3f1102872474d59b9f53a1fb197f0316f.pck' snipJan 22 23:52:41 2006 qrunner(21835): IOError : [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/qfiles/bounces/1137973961.4684539+a97050f66bcd30b95df8d86fb97378a830687d6f.pck' So, there are probably multiple copies of at least IncomingRunner, OutgoingRunner, ArchRunner and BounceRunner. Do ps -fAw | grep 'python' or however you spell the ps options on your system to get all processes including command lines. There should be exactly one each of mailmanctl, ArchRunner, BounceRunner, CommandRunner, IncomingRunner, NewsRunner, OutgoingRunner, VirginRunner and RetryRunner, except in the unlikely case that you are processing your queues in slices in which case there should be one of each runner for each unique slice. If there are more, first do bin/mailmanctl stop. Then if there are any left, send them SIGTERM until they're all gone. Then start mailman again. aboutWhere are the posts going, i.e. which qfiles/* directories have entries., could you please clarify...the following are the directories in /qfiles drwxrwsr-x 11 mailman mailman 4096 May 28 2004 ./ drwxrwsr-x 22 mailman mailman 4096 Jul 20 2005 ../ drwxrws---2 mailman mailman 4096 Jan 22 23:51 archive/ drwxrws---2 mailman mailman 4096 Jan 22 23:52 bounces/ drwxrws---2 mailman mailman 4096 Jan 19 01:41 commands/ drwxrws---2 mailman mailman 8192 Jan 22 23:51 in/ drwxrws---2 mailman mailman 4096 May 28 2004 news/ drwxrws---2 mailman mailman 53248 Jan 22 23:51 out/ drwxrws---2 mailman mailman 4096 Jan 22 22:37 retry/ drwxrws---2 mailman mailman 8192 Dec 17 04:39 shunt/ drwxrws---2 mailman mailman 36864 Jan 22 23:44 virgin/ And what is in the archive/, bounces/, etc. directories? More importantly, when things are not working, in which of those 9 directories (queues) are the messages getting stuck? About Also, what happens if you move the lists/LIST_NAME/digest.mbox file aside? Does that help? you mean delete that file? remember we already removed this list and re-created it so that file was created new before it gone down. The lists/LIST_NAME/digest.mbox file is where posts are collected for an eventual digest. When it reaches digest_size_threshold size or when cron/senddigests runs if digest_send_periodic is yes, it is used to create the digest and then removed. I.e., under usual circumstances, it is removed by Mailman every day. The issue is that there are known cases when a somehow malformed or badly encoded post has been posted and saved to digest.mbox, and this has stopped processing for that list. This is why I suggested moving it aside - i.e. moving it out of the lists/LIST_NAME/ directory to see if that allows the list's processing to resume. This would indicate the problem is a 'bad' post in digest.mbox. If moving the file aside didn't help, then the problem is elsewhere. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan
Re: [Mailman-Users] is driving me crazy
ArteryPlanet.Net :: Manuel Kissoyan wrote: So VirginRunner isn't (wasn't on Jan 18) running. Are there any error log entries from Jan 18 coincident with these subprocess exits? the following rae the complete january 18 error logs: snip Jan 18 17:29:18 2006 qrunner(11252): Traceback (most recent call last): Jan 18 17:29:18 2006 qrunner(11252): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 270, in ? Jan 18 17:29:18 2006 qrunner(11252): main() Jan 18 17:29:18 2006 qrunner(11252): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 230, in main Jan 18 17:29:18 2006 qrunner(11252): qrunner.run() Jan 18 17:29:18 2006 qrunner(11252): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py, line 70, in run Jan 18 17:29:18 2006 qrunner(11252): filecnt = self._oneloop() Jan 18 17:29:18 2006 qrunner(11252): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py, line 99, in _oneloop Jan 18 17:29:18 2006 qrunner(11252): msg, msgdata = self._switchboard.dequeue(filebase) Jan 18 17:29:18 2006 qrunner(11252): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Switchboard.py, line 143, in dequeue Jan 18 17:29:18 2006 qrunner(11252): fp = open(filename) Jan 18 17:29:18 2006 qrunner(11252): IOError : [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/qfiles/virgin/1137605342.444644+3e6a3d42a04f469e9141ef703b4839b34ee8d6f0.pck' The above is the error that caused VirginRunner to die and be restarted at 17:29:19 (from your previous post). snip Jan 18 18:15:50 2006 qrunner(23055): Traceback (most recent call last): Jan 18 18:15:50 2006 qrunner(23055): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 270, in ? Jan 18 18:15:51 2006 qrunner(23055): main() Jan 18 18:15:51 2006 qrunner(23055): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 230, in main Jan 18 18:15:51 2006 qrunner(23055): qrunner.run() Jan 18 18:15:51 2006 qrunner(23055): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py, line 70, in run Jan 18 18:15:51 2006 qrunner(23055): filecnt = self._oneloop() Jan 18 18:15:51 2006 qrunner(23055): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py, line 99, in _oneloop Jan 18 18:15:51 2006 qrunner(23055): msg, msgdata = self._switchboard.dequeue(filebase) Jan 18 18:15:51 2006 qrunner(23055): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Switchboard.py, line 144, in dequeue Jan 18 18:15:51 2006 qrunner(23055): os.unlink(filename) Jan 18 18:15:51 2006 qrunner(23055): OSError : [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/qfiles/virgin/1137608150.1634059+d951b6ced74ddea7b7260e43d84b8062057dd5ca.pck' And the above caused the exit at 18:15:51 Jan 18 18:16:03 2006 qrunner(23105): Traceback (most recent call last): Jan 18 18:16:03 2006 qrunner(23105): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 270, in ? Jan 18 18:16:03 2006 qrunner(23105): main() Jan 18 18:16:03 2006 qrunner(23105): File /usr/local/cpanel/3rdparty/mailman/bin/qrunner, line 230, in main Jan 18 18:16:03 2006 qrunner(23105): qrunner.run() Jan 18 18:16:03 2006 qrunner(23105): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py, line 70, in run Jan 18 18:16:03 2006 qrunner(23105): filecnt = self._oneloop() Jan 18 18:16:03 2006 qrunner(23105): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py, line 99, in _oneloop Jan 18 18:16:03 2006 qrunner(23105): msg, msgdata = self._switchboard.dequeue(filebase) Jan 18 18:16:03 2006 qrunner(23105): File /usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Switchboard.py, line 143, in dequeue Jan 18 18:16:03 2006 qrunner(23105): fp = open(filename) Jan 18 18:16:03 2006 qrunner(23105): IOError : [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/qfiles/virgin/1137608150.1682301+f5aca5ce19934f2c956292d95317005e899072bf.pck' And the above caused the exit at 18:16:03 from which it didn't restart I just shuted down mailman and were more than one processes running i had kille them and restarted it, ill wait another week to see what hapen,. It looks like you've had miltiple runners running for some time, however this is probably the result of attempts to correct the problems, not the cause of the problems. I.e., in the above case, it looks like there were two VirginRunners running until 18:16:03 on Jan 18 at which point one died and didn't restart perhaps leaving only one. In the future, try to get some information when the list is not working. If some, but not all qrunners have died, check the qrunner and error logs. Then if not all qrunners are running, first do 'bin/mailmanctl stop' to stop what's running, and only do 'bin/mailmanctl start' to resume after checking with ps to be sure all the Mailman processes have stopped. -- Mark Sapiro [EMAIL PROTECTED] The highway is for
Re: [Mailman-Users] FW: Output from cron command
Mark Sapiro wrote: mcnutt wrote: File /usr/local/mailman/Mailman/ListAdmin.py, line 138, in __getmsgids ids = [k for k, (op, data) in self.__db.items() if op == rtype] ValueError: too many values to unpack It looks like some lists/listname/request.pck (or request.db for pre 2.1.5) file may be corrupted. Also, see http://mail.python.org/pipermail/mailman-users/2005-August/046235.html My 2.1.7 upgrade produced the same error that mcnutt got, but only for a few of many lists. I followed the above advice and removed request.pck, but what do I do now to return the pending requests so that all the individual list admins can address them? (is this even possible?) All help is sincerely appreciated, and I want to echo Glenn Sieb's earlier comments on the overall lack of problems that Mailman has given me. I too have been running Mailman for 5+ years, and the upgrades are generally painless and easy to deal with. Kudos to the developers for all their skilled work, which is the true reason that Mailman works so well. -Jim P. -- 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] FW: Output from cron command
Jim Popovitch wrote: Mark Sapiro wrote: mcnutt wrote: File /usr/local/mailman/Mailman/ListAdmin.py, line 138, in __getmsgids ids = [k for k, (op, data) in self.__db.items() if op == rtype] ValueError: too many values to unpack It looks like some lists/listname/request.pck (or request.db for pre 2.1.5) file may be corrupted. Also, see http://mail.python.org/pipermail/mailman-users/2005-August/046235.html My 2.1.7 upgrade produced the same error that mcnutt got, but only for a few of many lists. I followed the above advice and removed request.pck, but what do I do now to return the pending requests so that all the individual list admins can address them? (is this even possible?) I assume you are no longer getting errors from cron/checkdbs. What happens if you put the request.pck back and try to go to the admindb page for the list? Does this produce the error? If not, does it update the request.pck? If so, this may fix the problem. If none of this helps, or if you have a new request.pck with requests since removing the old one, you could try bin/dumpdb on the request.pck files to see what's in them, although I'm not sure how you would use this information if you couldn't use the files themselves. -- 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] FW: Output from cron command
Mark Sapiro wrote: I assume you are no longer getting errors from cron/checkdbs. What happens if you put the request.pck back and try to go to the admindb page for the list? Does this produce the error? Yes. If not, does it update the request.pck? If so, this may fix the problem. If I delete the request.pck files Mailman recreates them, but then the admin pages show no pending issues. If none of this helps, or if you have a new request.pck with requests since removing the old one, you could try bin/dumpdb on the request.pck files to see what's in them, although I'm not sure how you would use this information if you couldn't use the files themselves. bin/dumpdb shows me the data from the various request.pck files, what is the format of entires, presumably they are subscription/post requests? Thanks for the help, -Jim P. -- 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] FW: Output from cron command
Jim Popovitch wrote: Mark Sapiro wrote: I assume you are no longer getting errors from cron/checkdbs. What happens if you put the request.pck back and try to go to the admindb page for the list? Does this produce the error? Yes. If not, does it update the request.pck? If so, this may fix the problem. If I delete the request.pck files Mailman recreates them, but then the admin pages show no pending issues. I meant what if you restore the old request.pck and then go to the admindb page for the list. If none of this helps, or if you have a new request.pck with requests since removing the old one, you could try bin/dumpdb on the request.pck files to see what's in them, although I'm not sure how you would use this information if you couldn't use the files themselves. bin/dumpdb shows me the data from the various request.pck files, what is the format of entires, presumably they are subscription/post requests? Yes, they are. The file is a pickled dictionary with keys and values. The keys are generally numbers called msgids (not to be confused with email Message-Id:) and the values are 2-tuples consisting of an operation and data. There is a special key = 'version' with data (0, 1), i.e. operation = 0 and data = version number currently = 1. The rest of the keys are numeric and the operations are numbers as follows: 1 - held message 2 - subscription request 3 - unsub request The data varies according to the operation. For a held message, data is a 6-tuple consisting of time, sender, subject, hold reason, message filename and message metadata dictionary. For a sub, data is a 6-tuple consisting of time, address, full name, password, digest flag and language. For an unsub, data is just the address. See Mailman/ListAdmin.py for more detail. -- 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] notification system
Matt == Matt Gostick [EMAIL PROTECTED] writes: Matt I have installed Mailman in hopes of using it as a type of Matt 'notification' system. For example, a user subscribes to Matt the list, and after subscribing I can send him/her an email Matt notifiying them an event that happens on my website. The Matt event would be unique for this user and should only be sent Matt to him/her. Is mailman the appropriate program for me? No. Matt If not, can anyone suggest another standard program that Matt would do the job? You want an issue tracker: I would suggest Roundup or RT, but I'm sure there are others that would do a good job. If you don't need to handle incoming mail (for subscriptions or other user interaction) and are hoping to grow to where you need an industrial-strength solution, Bugzilla. (Not that Roundup or RT aren't industrial strength, just that the very large issue trackers I know of are roll-yer-own, like Debian BTS and SourceForge Tracker, or Bugzilla.) -- School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp University of TsukubaTennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can do free software business; ask what your business can do for free software. -- 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