Re: [Mailman-Users] Member list...
David Boothe wrote: I habe the following set up as a cron job... /path/to/mailman/bin/list_members listname | mail -s 'List Names' [EMAIL PROTECTED] It sends the email to [EMAIL PROTECTED] but it is empty. You might try /path/to/mailman/bin/list_members listname /path/to/mail -s 'List Names' [EMAIL PROTECTED] You may need to specify the path to the mail depending on what you have PATH= set to for your crontab. Also, I've never tried to | in cron. I'm sure it's possible, but redirects the output of a cron command to wherever you've specified. -- Anne Ramey -- 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] Premature end of script headers
HI, check_perms doesn't find any problem, and SeLinux is disabled. Any other thoughts? Thanks, Mark Sapiro [EMAIL PROTECTED] wrote: test 123king wrote: I am installing mailman 2.1.9 on my Fedora 4 server running with Apache 2.0.54 and Sendmail 8.13.4. I configured mailman as below: ./configure --prefix=/usr/lib/mailman --with-mail-gid=mail --with-cgi-gid=apache But when I go to create email lists, I get Internal server error page, and on the http server error log I get Premature end of script headers: create. It looks like the cgi-gid was mis-configured, but on the server I can run the admin command as user apache without any problem: It's probably not a cgi group mismatch because in that case, the wrapper issues a very specific error message that should be either displayed or in the apache error log. Have you run bin/check_perms? (although if it's permissions, the apache error log should say so). Are you running SeLinux? If so, try turning it off to see what happens. -- Mark SapiroThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan - Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business. -- 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] Member list... (drifting off topic)
Anne Ramey wrote: You might try /path/to/mailman/bin/list_members listname /path/to/mail -s 'List Names' [EMAIL PROTECTED] This is shell dependent. doesn't work in all shells, but if it does, the effect of the above would be to write both stdout and stderr from the command /path/to/mailman/bin/list_members listname -s 'List Names' [EMAIL PROTECTED] to the file /path/to/mail (with luck, this would fail for lack of permission) You may need to specify the path to the mail depending on what you have PATH= set to for your crontab. The OP reported he received mail, so I don't think the path is the issue. Also, I've never tried to | in cron. I'm sure it's possible, but redirects the output of a cron command to wherever you've specified. cron passes the command line to the selected shell. If the shell recognizes | as a pipe it works. In bash for example redirects both stdout and stderr to a file (not to the stdin of a command), but in tcsh for example only does this, and doesn't work at all. To use in a cron command line, you'd need something like /path/to/mailman/bin/list_members listname /tmp/xxx ; mail -s 'List Names' [EMAIL PROTECTED] /tmp/xxx ; rm /tmp/xxx for the command 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] Premature end of script headers
test 123king wrote: check_perms doesn't find any problem, and SeLinux is disabled. Any other thoughts? In the OP you said running the cgi via sudo -u apache worked, but are you sure this is invoking the wrapper with the same user and group (group is the critical thing) as Apache does. Do you have User and/or Group directives in your httpd.conf? (defaults are #-1 for both). -- 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] Premature end of script headers
Yes, it is apache, please see below: [EMAIL PROTECTED] conf]# grep User httpd.conf # User/Group: The name (or #number) of the user/group to run httpd as. # . On SCO (ODT 3) use User nouser and Group nogroup. User apache [EMAIL PROTECTED] conf]# grep Group httpd.conf # User/Group: The name (or #number) of the user/group to run httpd as. # . On SCO (ODT 3) use User nouser and Group nogroup. # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET) # when the value of (unsigned)Group is above 6; # don't use Group #-1 on these systems! Group apache Also you can see is running under apache: [EMAIL PROTECTED] conf]# ps aux|grep httpd root 3345 0.0 0.9 40344 19628 ?Ss Sep28 0:02 /usr/sbin/httpd -k start apache 21980 0.0 1.3 49212 28704 ?S10:11 0:01 /usr/sbin/httpd -k start apa Thanks. Mark Sapiro [EMAIL PROTECTED] wrote: test 123king wrote: check_perms doesn't find any problem, and SeLinux is disabled. Any other thoughts? In the OP you said running the cgi via sudo -u apache worked, but are you sure this is invoking the wrapper with the same user and group (group is the critical thing) as Apache does. Do you have User and/or Group directives in your httpd.conf? (defaults are #-1 for both). -- Mark SapiroThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan - How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. -- 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] Premature end of script headers
test 123king wrote: I just found this in the suexec.log: uid: (632/listman) gid: (545/545) cmd: listinfo command not in docroot (/usr/lib/mailman/cgi-bin/listinfo) Does this make any sense? Maybe. It appears your Apache installation is using suEXEC and it is not properly configured (assuming there is a listinfo wrapper in /usr/lib/mailman/cgi-bin/ - in the OP you were talking about create). See http://httpd.apache.org/docs/2.0/suexec.html. Your prior post did not reveal any SuexecUserGroup directive in httpd.conf, but perhaps it is spelled Suexecusergroup. In any case, this seems to be an Apache issue, not a Mailman issue. -- 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] I need to get Sender: address
I have messages coming from a Gatewayed Message board to mailman. There is an extra field To: field and a Sender: field and I need to get the Sender e-mail address. I have tried modifying the SENDER_HEADERS to ('sender','from',None,'reply-to'), so sender is before from, but it still grabs the From even if Sender exists. -Rob -- 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] I need to get Sender: address
Great, thanks, that worked. I read about the USE_ENVELOPE_SENDER, but it did not seem that it applied, a little confused there. Thanks -Rob -Original Message- From: Mark Sapiro [mailto:[EMAIL PROTECTED] Sent: Friday, September 29, 2006 12:42 PM To: Rob Jackson; mailman-users@python.org Subject: Re: [Mailman-Users] I need to get Sender: address Rob Jackson wrote: I have messages coming from a Gatewayed Message board to mailman. There is an extra field To: field and a Sender: field and I need to get the Sender e-mail address. I have tried modifying the SENDER_HEADERS to ('sender','from',None,'reply-to'), so sender is before from, but it still grabs the From even if Sender exists. Which headers are searched and in which order depends on several things including context. You probably need to set USE_ENVELOPE_SENDER to Yes in mm_cfg.py. Here are the details: There are two Mailman.Message.Message methods for getting the sender. They are get_sender() and get_senders(). If USE_ENVELOPE_SENDER is Yes or True, get_sender() returns the first address found from the headers Sender:, From:, and the unixfrom or envelope sender. Otherwise the search order is From:, Sender:, unixfrom. OTOH, get_senders() returns a list of all the addresses found in all the headers listed in SENDER_HEADERS. Thus, changing SENDER_HEADERS has no effect on the address returned by get_sender() and reordering SENDER_HEADERS only affects the order of the addresses returned by get_senders(). The distinction is important, because in some contexts (e.g. determining whether the sender is a list member), get_senders() is used to get a list of addresses, whereas in other contexts (e.g. determining if the sender is in *_these_nonmembers), get_sender() is used to get a single address. -- 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] tracking log info
Hello, Running postfix I get the following log entry, however I am not able to find where this was received in any of the mailman logs. I thought I would be able to track it by E84DC2659F but I am not able to find this number repeated in the mailman logs. The mail never appears to be delivered to the list. Sep 12 12:57:26 maillists.nac.uci.edu postfix/local[20280]: [ID 197553 mail.info ] E84DC2659F: to=[EMAIL PROTECTED], relay=local, delay=1, statu s=sent (|/usr/local/mailman/mail/mailman post hopsinfolitcig) I have had a hard time tracking messages through the mailman system in the past. Any help would be appreciated. Con Wieland Network and Academic Computing Services University of California at Irvine Sep 12 12:57:26 maillists.nac.uci.edu postfix/local[20280]: [ID 197553 mail.info ] E84DC2659F: to=[EMAIL PROTECTED], relay=local, delay=1, statu s=sent (|/usr/local/mailman/mail/mailman post hopsinfolitcig) -- 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] tracking log info
Con Wieland wrote: Running postfix I get the following log entry, however I am not able to find where this was received in any of the mailman logs. I thought I would be able to track it by E84DC2659F but I am not able to find this number repeated in the mailman logs. The mail never appears to be delivered to the list. Is it in the archive? Sep 12 12:57:26 maillists.nac.uci.edu postfix/local[20280]: [ID 197553 mail.info ] E84DC2659F: to=[EMAIL PROTECTED], relay=local, delay=1, statu s=sent (|/usr/local/mailman/mail/mailman post hopsinfolitcig) I have had a hard time tracking messages through the mailman system in the past. Any help would be appreciated. Delivery of incoming messages to the 'post' script and resultant entry in the 'in' queue is not logged by Mailman. If there are no holds or other issues on the message, the only entries will be in the 'post' and 'smtp' logs upon delivery to the eligible message recipients. Holds will cause an entry in the 'vette' log as will discards, but auto rejects will not. Various exceptions that occur in the process will cause entries in the 'error' log. None of these log entries will contain the postfix ID (E84DC2659F) because Mailman doesn't know it. -- 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] fix_url error
[Using Mailman v 2.1.6] I'm getting the following error when I try to run fix_url. Can someone tell me what is wrong and how to fix it? Running fix_url.fix_url()... Loading list listname (locked) Traceback (most recent call last): File bin/withlist, line 297, in ? main() File bin/withlist, line 275, in main r = do_list(listname, args, func) File bin/withlist, line 194, in do_list m = MailList.MailList(listname, lock=LOCK) File /usr/local/mailman/Mailman/MailList.py, line 127, in __init__ self.Lock() File /usr/local/mailman/Mailman/MailList.py, line 164, in Lock self.Load() File /usr/local/mailman/Mailman/MailList.py, line 640, in Load raise Errors.MMCorruptListDatabaseError, e Mailman.Errors.MMCorruptListDatabaseError: [Errno 2] No such file or directory: '/usr/local/mailman/lists/listname/config.db.last' --Catherine -- 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] fix_url error
Catherine Maxwell wrote: I'm getting the following error when I try to run fix_url. Can someone tell me what is wrong and how to fix it? Command line? Running fix_url.fix_url()... Loading list listname (locked) Traceback (most recent call last): File bin/withlist, line 297, in ? main() File bin/withlist, line 275, in main r = do_list(listname, args, func) File bin/withlist, line 194, in do_list m = MailList.MailList(listname, lock=LOCK) File /usr/local/mailman/Mailman/MailList.py, line 127, in __init__ self.Lock() File /usr/local/mailman/Mailman/MailList.py, line 164, in Lock self.Load() File /usr/local/mailman/Mailman/MailList.py, line 640, in Load raise Errors.MMCorruptListDatabaseError, e Mailman.Errors.MMCorruptListDatabaseError: [Errno 2] No such file or directory: '/usr/local/mailman/lists/listname/config.db.last' The lists/listname directory for the listname you provided on the command line contains no readable (writable) config.pck, config.pck.last, config.db or config.db.last file. There shouldn't be a config.db or config.db.last file, but there should be good config.pck and config.pck.last files. Do you have permission to write to them? -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] (no subject)
How do I use this App? My incoming mail has been down for 24 hours. Thanks 310.208.0118 -- 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] (no subject)
How do I use this App on my Mac G4 with OS X? My incoming mail has been down for 24 hours. I also have .Mac Thanks 310.208.0118 -- 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] can't access /admin or /admindb/ for one of my lists, other lists work fine
Hi Folks I've googled the archives and poked around as much as I could, but cannot find the answer to my problem, so I figured I'd post to the list to see if anyone had any ideas. We had a very large number of moderation messages for one of our lists (33,000+) so I went to mailman/data and manually rm'ed them (them being heldmsg-listname-*.pck). I've done this in the past without any problems but for some reason this time it seems to have possibly screwed up my list config such that I can no longer access the admin or admindb URLs. The request is sent but the browser times out waiting for a response. We're running maybe a dozen other lists on the same machine, and there's absolutely no problems accessing those lists' /admin and /admindb URLs. I've tried restarting mailman (it's worth mentioning that mailmanctl stop doesnt actually stop mailman and it has to be manually killed and restarted with the -s option) and apache, but nothing helps. It's also worth mentioning that there don't seem to be any problems with /options/listname. I've run check_perm and check_db on the list specifically, but there's no reported problems. Does anyone have any suggestions as to what might be wrong here, or of any other diagnostics I could avail myself of? tia, w -- 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] can't access /admin or /admindb/ for one of mylists, other lists work fine
wallace winfrey wrote: We had a very large number of moderation messages for one of our lists (33,000+) so I went to mailman/data and manually rm'ed them (them being heldmsg-listname-*.pck). That's part of the problem. When you just rm the heldmsg-listname-.pck, you are only removing the message, you are not removing the entries about the message from the mailman/lists/listname/request.pck and mailman/lists/listname/pending.pck files. You should use bin/discard data/heldmsg-listname-*.pck or with 33,000 messages bin/discard --quiet data/heldmsg-listname-*.pck to supress the 33,000 Discarded held msg ... reports. I've done this in the past without any problems but for some reason this time it seems to have possibly screwed up my list config such that I can no longer access the admin or admindb URLs. The request is sent but the browser times out waiting for a response. I'm not sure what's going on with the admin page. The list may be locked. The admindb page is still looking at all those entries in requests.pck. We're running maybe a dozen other lists on the same machine, and there's absolutely no problems accessing those lists' /admin and /admindb URLs. I've tried restarting mailman (it's worth mentioning that mailmanctl stop doesnt actually stop mailman and it has to be manually killed and restarted with the -s option) and apache, but nothing helps. It's also worth mentioning that there don't seem to be any problems with /options/listname. I've run check_perm and check_db on the list specifically, but there's no reported problems. Does anyone have any suggestions as to what might be wrong here, or of any other diagnostics I could avail myself of? As I suggested, you can look at mailman/locks/ to see if there might be a stale lock for the list and if so, remove it. Can you access an actual member's options page, or just the options login page? If the former, then the list probably isn't locked. In either case, this shows the config.pck is OK. Assuming you're not concerned about losing possible other request like subscription approvals, etc. you can try just moving requests.pck out of the lists/listname/ directory. You may have to do the same with pending.pck. Mailman will create new 'empty' ones when you go to the admindb page. -- 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] can't access /admin or /admindb/ for one of mylists, other lists work fine
At 6:38 PM -0700 9/29/06, Mark Sapiro wrote: or with 33,000 messages bin/discard --quiet data/heldmsg-listname-*.pck to supress the 33,000 Discarded held msg ... reports. With 33,000 messages, I imagine that command-line wildcard expansion won't work. You may have to do something like: find /usr/local/mailman/data/heldmsg-listname-\*.pck -print | xargs bin/discard --quiet All as one line, of course. -- 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 Founding Individual Sponsor of LOPSA. 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] (no subject)
On 9/29/06 6:12 PM, Robert Scott at [EMAIL PROTECTED] wrote: How do I use this App on my Mac G4 with OS X? The FAQ http://www.python.org/cgi-bin/faqw-mm.py will lead you to instructions on how to do that, except... My incoming mail has been down for 24 hours. Mailman won't help you a bit with that problem. Mailman is a mailing list server, not a mail server. And how are you going to read this reply if you have no incoming mail? I also have .Mac Completely irrelevant. Why don't you tell us what problem you are trying to solve. -- Larry Stone [EMAIL PROTECTED] http://www.stonejongleux.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] can't access /admin or /admindb/ for one of mylists, other lists work fine
Mark Sapiro wrote: You should use bin/discard data/heldmsg-listname-*.pck or with 33,000 messages bin/discard --quiet data/heldmsg-listname-*.pck to supress the 33,000 Discarded held msg ... reports. OK, thanks for the reminder. I think I remember seeing something about this in the docs, now that I'm thinking about it. Duh. As I suggested, you can look at mailman/locks/ to see if there might be a stale lock for the list and if so, remove it. Can you access an actual member's options page, or just the options login page? If the former, then the list probably isn't locked. In either case, this shows the config.pck is OK. OK, great. Yeah, it's the former. Assuming you're not concerned about losing possible other request like subscription approvals, etc. you can try just moving requests.pck out of the lists/listname/ directory. You may have to do the same with pending.pck. Mailman will create new 'empty' ones when you go to the admindb page. Subscriptions aren't moderated, so no big deal. However, I noticed that posting to the list seems to have stopped working since I removed all those files. Is this a side-effect of corrupting the pending.pck and/or config.pck files And would removing them to create new empty ones fix this problem? cheers w -- 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] can't access /admin or /admindb/ for one ofmylists, other lists work fine
wallace winfrey wrote: I've tried restarting mailman (it's worth mentioning that mailmanctl stop doesnt actually stop mailman and it has to be manually killed and restarted with the -s option) and apache, but nothing helps. After you do mailmanctl stop, what's still running. Presumably, still mailmanctl, but which if any qrunners? Also, what's in Mailman's qrunner log? Also, did you manually kill *all* Mailman processes before starting again? See http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.068.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] can't access /admin or /admindb/ for one ofmylists, other lists work fine
Mark Sapiro wrote: After you do mailmanctl stop, what's still running. Presumably, still mailmanctl, but which if any qrunners? Also, what's in Mailman's qrunner log? Also, did you manually kill *all* Mailman processes before starting again? See http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq04.068.htp. mailman 23733 0.0 0.7 18692 16056 ? S17:20 0:07 /usr/bin/python /usr/local/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s I *do* manually kill them all off before starting again. cheers w -- 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] fix_url error
Catherine Maxwell wrote: Yes, command line. Sorry for being cryptic. By command line? I meant what was the command line you typed? These are the files that are on the server: -rw-rw 1 mailman mailman 216198 Sep 29 00:41 config.pck -rw-r- 1 mailman mailman 93225 Oct 3 2005 config.pck.bak -rw-rw 1 mailman mailman 216192 Sep 29 00:41 config.pck.last -rw-rw 1 mailman mailman 27421 Sep 28 20:04 digest.mbox -rw-rw 1 mailman mailman 11615 Sep 29 00:41 pending.pck -rw-rw-r-- 1 mailman mailman6430 Sep 29 00:41 request.pck And did you run the withlist -r fix_url command as the mailman user? Do you know a command to resurrect the list? At this point, Mailman is saying that there is no list by that name. In what context? I.e. what URL or command is reporting no list? You could try mv config.pck config.pck.2.bak mv config.pck.last config.pck If there is a problem with the config.pck, this may help. It will undo whatever was done at Sep 29 00:41, but I'm not yet convinced there is a problem with the config.pck. -- 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] can't access /admin or /admindb/ for one of mylists, other lists work fine
wallace winfrey wrote: Assuming you're not concerned about losing possible other request like subscription approvals, etc. you can try just moving requests.pck out of the lists/listname/ directory. You may have to do the same with pending.pck. Mailman will create new 'empty' ones when you go to the admindb page. Subscriptions aren't moderated, so no big deal. However, I noticed that posting to the list seems to have stopped working since I removed all those files. Is this a side-effect of corrupting the pending.pck and/or config.pck files And would removing them to create new empty ones fix this problem? It looks like a bunch of messages in the meantime have popped up in the mailman/data directory; presumably some of them are posts from subscribers that didn't make it out to the list ? Any idea on how to fix this? (I'm still wondering why I didn't shoot myself in the foot the last time I did this). thx w -- 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] can't access /admin or /admindb/ for one ofmylists, other lists work fine
wallace winfrey wrote: Mark Sapiro wrote: As I suggested, you can look at mailman/locks/ to see if there might be a stale lock for the list and if so, remove it. Can you access an actual member's options page, or just the options login page? If the former, then the list probably isn't locked. In either case, this shows the config.pck is OK. OK, great. Yeah, it's the former. On second thought I'm not sure that getting the user's options tries to lock the list. It may only lock when you Submit My Changes. Assuming you're not concerned about losing possible other request like subscription approvals, etc. you can try just moving requests.pck out of the lists/listname/ directory. You may have to do the same with pending.pck. Mailman will create new 'empty' ones when you go to the admindb page. Subscriptions aren't moderated, so no big deal. However, I noticed that posting to the list seems to have stopped working since I removed all those files. Is this a side-effect of corrupting the pending.pck and/or config.pck files And would removing them to create new empty ones fix this problem? Hard to say without knowing the cause. I would investigate the locks. -- 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] can't access /admin or /admindb/ for one ofmylists, other lists work fine
wallace winfrey wrote: It looks like a bunch of messages in the meantime have popped up in the mailman/data directory; presumably some of them are posts from subscribers that didn't make it out to the list ? Any idea on how to fix this? They are held messages, so mail is getting that far which is good. (I'm still wondering why I didn't shoot myself in the foot the last time I did this). Removing (rm) a data/heldmsg... file doesn't cause a problem per se, but when there are 33,000 of them it creates a huge amount of work for the admindb script as it goes through the requests.pck, finds a held message, reports it in the HTML it's creating, etc. and then ultimately tries to do something with the message only to find it's not there. The basic problem is not that you rm'd the data/heldmsg files; it's that there were 33,000 requests, and you didn't delete them. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] fix_url error
Please include the list in your replies. Catherine Maxwell wrote: At 10:21 PM 9/29/2006, you wrote: Sorry for being cryptic. By command line? I meant what was the command line you typed? Oh. bin/withlist -l -r fix_url listname -u hostname.com But that isn't the most of it. All attempts for the list are stating that no list by that name. Error logs are stating this (from the same timestamp): Sep 30 03:21:01 2006 (778) couldn't load config file /usr/local/mailman/lists/listname/config.pck Sep 30 03:21:01 2006 (778) couldn't load config file /usr/local/mailman/lists/listname/config.pck.last Sep 30 03:21:01 2006 (778) couldn't load config file /usr/local/mailman/lists/listname/config.db [Errno 2] No such file or directory: '/usr/local/mailman/lists/listname/config.db' Sep 30 03:21:01 2006 (778) couldn't load config file /usr/local/mailman/lists/listname/config.db.last [Errno 2] No such file or directory: '/usr/local/mailman/lists/listname/config.db.last' Sep 30 03:21:01 2006 (778) All listname fallbacks were corrupt, giving up Sep 30 03:21:01 2006 gate_news(778): Traceback (most recent call last): Sep 30 03:21:01 2006 gate_news(778): File /usr/local/mailman/cron/gate_news, line 284, in ? Sep 30 03:21:01 2006 gate_news(778): main() Sep 30 03:21:01 2006 gate_news(778): File /usr/local/mailman/cron/gate_news, line 264, in main Sep 30 03:21:01 2006 gate_news(778): process_lists(lock) Sep 30 03:21:01 2006 gate_news(778): File /usr/local/mailman/cron/gate_news, line 199, in process_lists Sep 30 03:21:01 2006 gate_news(778): mlist = MailList.MailList(listname, lock=0) Sep 30 03:21:01 2006 gate_news(778): File /usr/local/mailman/Mailman/MailList.py, line 129, in __init__ Sep 30 03:21:01 2006 gate_news(778): self.Load() Sep 30 03:21:01 2006 gate_news(778): File /usr/local/mailman/Mailman/MailList.py, line 640, in Load Sep 30 03:21:01 2006 gate_news(778): raise Errors.MMCorruptListDatabaseError, e Sep 30 03:21:01 2006 gate_news(778): Mailman.Errors . MMCorruptListDatabaseError : [Errno 2] No such file or directory: '/u sr/local/mailman/lists/listname/config.db.last' These are the files that are on the server: -rw-rw 1 mailman mailman 216198 Sep 29 00:41 config.pck -rw-r- 1 mailman mailman 93225 Oct 3 2005 config.pck.bak -rw-rw 1 mailman mailman 216192 Sep 29 00:41 config.pck.last -rw-rw 1 mailman mailman 27421 Sep 28 20:04 digest.mbox -rw-rw 1 mailman mailman 11615 Sep 29 00:41 pending.pck -rw-rw-r-- 1 mailman mailman6430 Sep 29 00:41 request.pck And did you run the withlist -r fix_url command as the mailman user? I normally just run it as the vroot user. In what context? I.e. what URL or command is reporting no list? For example: bin/list_members latinteach No such list: latinteach You could try mv config.pck config.pck.2.bak mv config.pck.last config.pck I tried that. It didn't make any difference. We had a power outage last night and today we had issues with the lists distributing mail and digesting. I think that I have fixed all the other lists but this list seems to be the only one with this latent problem. I can't figure it out. The messages in the archive seem to be in place (at least I can read them with pine). I created a new list to work around this but when I try to get the members list, it states no such list. So I'm stuck. What does bin/list_lists report? What does bin/check_perms run as root report? What are the permissions on the lists/listname directory itself? What does bin/dumpdb lists/listname/config.pck report? (You can elide all the membership info. In fact, if you get a reasonable looking report, you can just compare it to that of another list to verify that it looks good.) -- 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