[Mailman-Users] Max OS X postfix 1 problems
I've followed the directions for setting up mailman 2.1.4 with postfix 1.1.12 on Mac OS X client 10.2 from the README.POSTFIX file. When I add a new list via the cgi interface, the mailman aliases file is updated, but I get the following error: Bug in Mailman version 2.1.4 We're sorry, we hit a bug! If you would like to help us identify the problem, please email a copy of this page to the webmaster for this site with a description of what happened. Thanks! Traceback: Traceback (most recent call last): File /Users/mailman/scripts/driver, line 87, in run_main main() File /Users/mailman/Mailman/Cgi/create.py, line 55, in main process_request(doc, cgidata) File /Users/mailman/Mailman/Cgi/create.py, line 226, in process_request sys.modules[modname].create(mlist, cgi=1) File /Users/mailman/Mailman/MTA/Postfix.py, line 234, in create _update_maps() File /Users/mailman/Mailman/MTA/Postfix.py, line 54, in _update_maps raise RuntimeError, msg % (acmd, status, errstr) RuntimeError: command failed: /sw/sbin/postalias /Users/mailman/data/aliases (status: 1, Operation not permitted) Wen I run postalias from the command line as the mailman user, I get this error: su-2.05a$ pwd /Users/mailman/data su-2.05a$ postalias aliases postalias: fatal: unsupported map type: db It seems to work if I do: su-2.05a$ postalias hash:aliases su-2.05a$ But if I edit the file, /Users/mailman/Mailman/MTA/Postfix.py, and add the hash: to the postalias command, like the following, it doesn't solve the problem: def _update_maps(): msg = 'command failed: %s (status: %s, %s)' acmd = mm_cfg.POSTFIX_ALIAS_CMD + ' hash:' + ALIASFILE #acmd = mm_cfg.POSTFIX_ALIAS_CMD + ' ' + ALIASFILE status = (os.system(acmd) 8) 0xff if status: errstr = os.strerror(status) syslog('error', msg, acmd, status, errstr) raise RuntimeError, msg % (acmd, status, errstr) if os.path.exists(VIRTFILE): vcmd = mm_cfg.POSTFIX_MAP_CMD + ' hash:' + VIRTFILE #vcmd = mm_cfg.POSTFIX_MAP_CMD + ' ' + VIRTFILE status = (os.system(vcmd) 8) 0xff if status: errstr = os.strerror(status) syslog('error', msg, vcmd, status, errstr) raise RuntimeError, msg % (vcmd, status, errstr) What am I doing wrong? I compiled mailman with --with-cgi-gid=www (the user apache runs as) and --with-mail-gid=daemon T -- Mailman-Users mailing list [EMAIL PROTECTED] 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/ This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] admin bounce notification
Is there some way to turn on bounce notification to the admin in version 2.1b4? Thanks Thomas -- Mailman-Users mailing list [EMAIL PROTECTED] 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/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] How to remove select archive messages
How do you remove select archive messages? Also how do you delete ALL archive messages without deleting the list? Thanks Thomas -- Mailman-Users mailing list [EMAIL PROTECTED] 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/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] How to delete archives?
How do you delete one archived post, or all archives for a list? Thanks -- Mailman-Users mailing list [EMAIL PROTECTED] 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/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] ALLOW_SITE_ADMIN_COOKIES
I've set ALLOW_SITE_ADMIN_COOKIES = 1 for mailman 2.1b3, but I'm still being prompted for a password at every admin operation. Am I missing something? Cookies worked fine with ver. 2.0.13. Also, I had to change the permissions on data/aliases and data/aliases.db files to allow the CGI user to read from the aliases and write to the aliases.db with postalias after creating a new list from the GUI. Is this the correct way to do it? Thanks Thomas -- Mailman-Users mailing list [EMAIL PROTECTED] 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/
[Mailman-Users] --with-mail-gid using postfix
I'm trying to compile mailman 2.0.13 to run with postfix. The following are the relevant lines from my postfix main.cf: mail_owner = postfix default_privs = nobody Apache is running as apache:apache. I tried --with-mail-gid=nobody --with-cgi-gid=apache --with-mail-gid=mail --with-cgi-gid=apache mail-gid=nobody is the only one that doesn't give the wanted 953 / got 99 error, but none of the mailman aliases work. I put some other test aliases in the same file as my mailman aliases and postfix uses them just fine. I did a chmod 2775 -R . in my /home/mailman directory then I recompiled and reinstalled, then I ran check_perms -f. logs/smtp and logs/smtp-failure are packed with errors, several per second mailman@earth mailman]#tail logs/smtp Aug 14 00:16:00 2002 (8455) All recipients refused: (111, 'Connection refused') Aug 14 00:16:00 2002 (8455) smtp for 1 recips, completed in 0.012 seconds Aug 14 00:16:00 2002 (8455) All recipients refused: (111, 'Connection refused') Aug 14 00:16:00 2002 (8455) smtp for 1 recips, completed in 0.011 seconds Aug 14 00:16:00 2002 (8455) All recipients refused: (111, 'Connection refused') Aug 14 00:16:00 2002 (8455) smtp for 1 recips, completed in 0.012 seconds Aug 14 00:16:00 2002 (8455) All recipients refused: (111, 'Connection refused') Aug 14 00:16:00 2002 (8455) smtp for 1 recips, completed in 0.011 seconds Aug 14 00:16:00 2002 (8455) All recipients refused: (111, 'Connection refused') Aug 14 00:16:00 2002 (8455) smtp for 1 recips, completed in 0.011 seconds mailman@earth mailman]#tail logs/smtp-failure Aug 14 00:15:01 2002 (8452) -1 [EMAIL PROTECTED] (ignore) Aug 14 00:15:01 2002 (8452) -1 [EMAIL PROTECTED] (ignore) Aug 14 00:15:02 2002 (8452) -1 [EMAIL PROTECTED] (ignore) Aug 14 00:15:02 2002 (8452) -1 [EMAIL PROTECTED] (ignore) Aug 14 00:16:00 2002 (8455) -1 [EMAIL PROTECTED] (ignore) Aug 14 00:16:00 2002 (8455) -1 [EMAIL PROTECTED] (ignore) Aug 14 00:16:00 2002 (8455) -1 [EMAIL PROTECTED] (ignore) Aug 14 00:16:00 2002 (8455) -1 [EMAIL PROTECTED] (ignore) Aug 14 00:16:00 2002 (8455) -1 [EMAIL PROTECTED] (ignore) Aug 14 00:16:00 2002 (8455) -1 [EMAIL PROTECTED] (ignore) mailman@earth mailman]#tail logs/post Aug 14 00:16:00 2002 (8455) post to yuba-list from [EMAIL PROTECTED], size=796, 1 failures Aug 14 00:16:00 2002 (8455) post to yuba-list from [EMAIL PROTECTED], size=1343, 1 failures Aug 14 00:16:00 2002 (8455) post to testing2 from [EMAIL PROTECTED], size=1340, 1 failures Aug 14 00:16:00 2002 (8455) post to testing3 from [EMAIL PROTECTED], size=1340, 1 failures Aug 14 00:17:00 2002 (8459) post to yuba-list from [EMAIL PROTECTED], size=796, 1 failures Aug 14 00:17:00 2002 (8459) post to the-collective from [EMAIL PROTECTED], size=1363, 1 failures Aug 14 00:17:00 2002 (8459) post to yuba-list from [EMAIL PROTECTED], size=796, 1 failures Aug 14 00:17:00 2002 (8459) post to yuba-list from [EMAIL PROTECTED], size=1343, 1 failures Aug 14 00:17:00 2002 (8459) post to testing2 from [EMAIL PROTECTED], size=1340, 1 failures Aug 14 00:17:00 2002 (8459) post to testing3 from [EMAIL PROTECTED], size=1340, 1 failures Thanks for any tips. Thomas -- Mailman-Users mailing list [EMAIL PROTECTED] 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/
RE: [Mailman-Users] --with-mail-gid using postfix
okay, I cleaned the directory, reinstalled the source, ran ./configure --with-mail-gid=943 (mailman) --with-cgi-gid=584 (apache). The configure script I noticed though converted my named gids to their numbers, so either way works. I moved the mailman aliases file to the mailman home folder, ran postalias on it with the mailman user. restarted postfix several times. it still doesn't work. I don't understand the 111 thing. mailman is trying to connect to an rpc server on port 111? weird. I'm not running any server on that port. what daemon usually runs on that port, portmap? why would it be trying to connect to that port? I haven't set mailman to use a particular port. I would assume it would use port 25 to connect to the smtp server. Thomas -Original Message- From: Tom Whiting [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 12:59 AM To: Thomas Spellman; [EMAIL PROTECTED] Subject: Re: [Mailman-Users] --with-mail-gid using postfix --with-mail-gid=nobody --with-cgi-gid=apache --with-mail-gid=mail --with-cgi-gid=apache mail-gid=nobody is the only one that doesn't give the wanted 953 / got 99 error, but none of the mailman aliases work. I put some other test aliases in the same file as my mailman aliases and postfix uses them just fine. Try with the ID'S (this is what it wants, not the names). Aug 14 00:16:00 2002 (8455) All recipients refused: (111, 'Connection refused') Looks like you need to restart postfix, or whatever your MTA is. Try to telnet to whatever port you're trying to get it to go to? usually 110, not 111. If you get connection refused, then you'll know where that problem lies. In fact, I'd bet that's the entirety of your second problem. TJW: Head tech, Dreamless Realms Mud: http://dreamless.wolfstream.net Snippets http://dreamless.wolfstream.net/ Telnet dreamless.wolfstream.net:9275 The OLC Pages http://olc.wolfstream.net -- Mailman-Users mailing list [EMAIL PROTECTED] 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/
RE: [Mailman-Users] --with-mail-gid using postfix
I downloaded the RPM version, which didn't run because of the --with-cgi-gid problem. I downloaded the SRPM and made sure the .spec file had the correct configure options. this time the username and groupname were already set as mail and the mail-gid=nobody. I made an rpm and installed, but then got the exact same errors as before. [RES: mail@earth mailman]$tail logs/smtp Aug 14 02:06:01 2002 (14664) All recipients refused: (111, 'Connection refused') Aug 14 02:06:01 2002 (14664) smtp for 1 recips, completed in 0.036 seconds Aug 14 02:07:01 2002 (14686) All recipients refused: (111, 'Connection refused') Aug 14 02:07:01 2002 (14686) smtp for 1 recips, completed in 0.021 seconds Aug 14 02:07:54 2002 (14704) All recipients refused: (111, 'Connection refused') Aug 14 02:07:54 2002 (14704) smtp for 1 recips, completed in 0.017 seconds Aug 14 02:08:02 2002 (14707) All recipients refused: (111, 'Connection refused') Aug 14 02:08:02 2002 (14707) smtp for 1 recips, completed in 0.037 seconds Aug 14 02:08:02 2002 (14707) All recipients refused: (111, 'Connection refused') Aug 14 02:08:02 2002 (14707) smtp for 1 recips, completed in 0.022 seconds -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tom Whiting Sent: Wednesday, August 14, 2002 12:59 AM To: Thomas Spellman; [EMAIL PROTECTED] Subject: Re: [Mailman-Users] --with-mail-gid using postfix --with-mail-gid=nobody --with-cgi-gid=apache --with-mail-gid=mail --with-cgi-gid=apache mail-gid=nobody is the only one that doesn't give the wanted 953 / got 99 error, but none of the mailman aliases work. I put some other test aliases in the same file as my mailman aliases and postfix uses them just fine. Try with the ID'S (this is what it wants, not the names). Aug 14 00:16:00 2002 (8455) All recipients refused: (111, 'Connection refused') Looks like you need to restart postfix, or whatever your MTA is. Try to telnet to whatever port you're trying to get it to go to? usually 110, not 111. If you get connection refused, then you'll know where that problem lies. In fact, I'd bet that's the entirety of your second problem. TJW: Head tech, Dreamless Realms Mud: http://dreamless.wolfstream.net Snippets http://dreamless.wolfstream.net/ Telnet dreamless.wolfstream.net:9275 The OLC Pages http://olc.wolfstream.net -- Mailman-Users mailing list [EMAIL PROTECTED] 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/ -- Mailman-Users mailing list [EMAIL PROTECTED] 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/
RE: [Mailman-Users] --with-mail-gid using postfix
Okay, I finally got an error message with the --with-mail-gid=nobody: [EMAIL PROTECTED]: Command died with status 2: /var/lib/mailman/mail/wrapper post testing1. Command output: Failure to exec script. WANTED gid 99, GOT gid 12. (Reconfigure to take 12?) so I recompiled with --with-mail-gid=12 (mail) and now I'm back to getting a repeating error in logs/smtp logs/smtp-failure and logs/post. I'm stuck. I've been working on this all day and I'm out of patience. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Thomas Spellman Sent: Wednesday, August 14, 2002 2:30 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [Mailman-Users] --with-mail-gid using postfix I downloaded the RPM version, which didn't run because of the --with-cgi-gid problem. I downloaded the SRPM and made sure the .spec file had the correct configure options. this time the username and groupname were already set as mail and the mail-gid=nobody. I made an rpm and installed, but then got the exact same errors as before. [RES: mail@earth mailman]$tail logs/smtp Aug 14 02:06:01 2002 (14664) All recipients refused: (111, 'Connection refused') Aug 14 02:06:01 2002 (14664) smtp for 1 recips, completed in 0.036 seconds Aug 14 02:07:01 2002 (14686) All recipients refused: (111, 'Connection refused') Aug 14 02:07:01 2002 (14686) smtp for 1 recips, completed in 0.021 seconds Aug 14 02:07:54 2002 (14704) All recipients refused: (111, 'Connection refused') Aug 14 02:07:54 2002 (14704) smtp for 1 recips, completed in 0.017 seconds Aug 14 02:08:02 2002 (14707) All recipients refused: (111, 'Connection refused') Aug 14 02:08:02 2002 (14707) smtp for 1 recips, completed in 0.037 seconds Aug 14 02:08:02 2002 (14707) All recipients refused: (111, 'Connection refused') Aug 14 02:08:02 2002 (14707) smtp for 1 recips, completed in 0.022 seconds -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tom Whiting Sent: Wednesday, August 14, 2002 12:59 AM To: Thomas Spellman; [EMAIL PROTECTED] Subject: Re: [Mailman-Users] --with-mail-gid using postfix --with-mail-gid=nobody --with-cgi-gid=apache --with-mail-gid=mail --with-cgi-gid=apache mail-gid=nobody is the only one that doesn't give the wanted 953 / got 99 error, but none of the mailman aliases work. I put some other test aliases in the same file as my mailman aliases and postfix uses them just fine. Try with the ID'S (this is what it wants, not the names). Aug 14 00:16:00 2002 (8455) All recipients refused: (111, 'Connection refused') Looks like you need to restart postfix, or whatever your MTA is. Try to telnet to whatever port you're trying to get it to go to? usually 110, not 111. If you get connection refused, then you'll know where that problem lies. In fact, I'd bet that's the entirety of your second problem. TJW: Head tech, Dreamless Realms Mud: http://dreamless.wolfstream.net Snippets http://dreamless.wolfstream.net/ Telnet dreamless.wolfstream.net:9275 The OLC Pages http://olc.wolfstream.net -- Mailman-Users mailing list [EMAIL PROTECTED] 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/ -- Mailman-Users mailing list [EMAIL PROTECTED] 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/ -- Mailman-Users mailing list [EMAIL PROTECTED] 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/