I just updated my system, it is a FreeBSD 4.8-stable(Thursday) plus full ports with python 2.2.2, after the upgrade mailman started refusing to deliver any messages, it started with a 2.0.13b4 install that's been good for months and I also tried a clean install of 2.1.1(also reinstalled python 2.2.2 a few times after reading the archives), it a hard failure that happens with all messages. Right now I got the list working using the sendmail method but would like to stop that. Frankly I think it a problem with python 2.2.2 and FreeBSD 4.8-stable, the "latest and greatest", I am not sure of what to do next(not on any python lists). Maybe this might be a heads up of things to come. Any one have an idea what's up, is this a know bug/patch(python/mailman/FreeBSD) or any ideas of a workaround/fix. Happy to supply any information or run any tests, looking for some help please.
MJM
File "/home/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop self._onefile(msg, msgdata) File "/home/mailman/Mailman/Queue/Runner.py", line 155, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/home/mailman/Mailman/Queue/OutgoingRunner.py", line 61, in _dispose self._func(mlist, msg, msgdata) File "/home/mailman/Mailman/Handlers/SMTPDirect.py", line 150, in process conn.quit() File "/home/mailman/Mailman/Handlers/SMTPDirect.py", line 80, in quit self.__conn.quit() File "/usr/local/lib/python2.2/smtplib.py", line 702, in quit self.docmd("quit") File "/usr/local/lib/python2.2/smtplib.py", line 357, in docmd self.putcmd(cmd,args) File "/usr/local/lib/python2.2/smtplib.py", line 313, in putcmd self.send(str) File "/usr/local/lib/python2.2/smtplib.py", line 305, in send raise SMTPServerDisconnected('please run connect() first') SMTPServerDisconnected: please run connect() first
Apr 12 03:26:19 2003 (46119) SHUNTING: 1050132199.892874+1248b43fe8a0fd5c91e64db7d3aeed2735c6cbf2
ThankYou very much, Your efforts and dedication are appreciated.
I pulled from CVS about 10pm(mailman branch, I updated after seeing the 2.1.2 announcement but did not see anything), the code is not throwing an exception, nothing in logs/error, on the other hand "No Joy", logs/smtp-failure showing an error for every mail recipients.
tail logs/smtp-failure:
Apr 20 22:51:13 2003 (50845) delivery to mjmaxwell@xxx.com failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to CarolN8@xxx.com failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to al.shell@xxx.net failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to logicunltd@xxx.com failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to Dayz@xxx.com failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to anima13@xxx.net failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to sk8ersr@xxx.net failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to GeorgeS@xxx.tv failed with code 554: <GeorgeS@xxx.tv>: Relay access denied Apr 20 22:51:13 2003 (50845) delivery to wchurchman@xxx.com failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to captrhardt@xxx.com failed with code -1: ignore
MJM
----- Original Message ----- From: "Barry Warsaw" <barry@python.org> To: "Michael Meltzer" <mjm@michaelmeltzer.com> Cc: <Mailman-Developers@python.org> Sent: Saturday, April 19, 2003 6:57 PM Subject: [ham] Re: [Mailman-Developers] SMTPServerDisconnected bug
On Sat, 2003-04-12 at 22:11, Michael Meltzer wrote:
SMTPServerDisconnected: please run connect() first
I've worked on the logic in SMTPDirect.py for Mailman 2.1.2. I think I've fixed this.
-Barry
On Sun, 2003-04-20 at 23:34, Michael Meltzer wrote:
ThankYou very much, Your efforts and dedication are appreciated.
I just wish we could fix the problem!
I pulled from CVS about 10pm(mailman branch, I updated after seeing the 2.1.2 announcement but did not see anything), the code is not throwing an exception, nothing in logs/error, on the other hand "No Joy", logs/smtp-failure showing an error for every mail recipients.
tail logs/smtp-failure:
Apr 20 22:51:13 2003 (50845) delivery to mjmaxwell@xxx.com failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to CarolN8@xxx.com failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to al.shell@xxx.net failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to logicunltd@xxx.com failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to Dayz@xxx.com failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to anima13@xxx.net failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to sk8ersr@xxx.net failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to GeorgeS@xxx.tv failed with code 554: <GeorgeS@xxx.tv>: Relay access denied Apr 20 22:51:13 2003 (50845) delivery to wchurchman@xxx.com failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to captrhardt@xxx.com failed with code -1: ignore
Please look in logs/smtp and try to correlate these errors with entries in that file. You should see something like "All recipients refused: " followed by a reason. The -1 code means that one of the following exceptions occurred during the send: socket.error, SMTPException, IOError. The reason in the file should give us our clue.
You might also try correlating these entries with any that might be in your MTA log file.
-Barry
Looks like I am wearing the pointy hat, The MTA log had the answer, I upgraded postfix, the new version did not permit localhost to relay by default, I had to add it by hand. kicking myself for not spotting it before.
If will permit an unworthy individual , "Thank You for time and attention, this product would not be what it is without the effort you provide, I appreciate it and conmen you on the selfless sharing of your time."
MJM
----- Original Message ----- From: "Barry Warsaw" <barry@python.org> To: "Michael Meltzer" <mjm@michaelmeltzer.com> Cc: <Mailman-Developers@python.org> Sent: Monday, April 21, 2003 10:15 PM Subject: Re: [ham] Re: [Mailman-Developers] SMTPServerDisconnected bug
On Sun, 2003-04-20 at 23:34, Michael Meltzer wrote:
ThankYou very much, Your efforts and dedication are appreciated.
I just wish we could fix the problem!
I pulled from CVS about 10pm(mailman branch, I updated after seeing the 2.1.2 announcement but did not see anything), the code is not throwing an exception, nothing in logs/error, on the other hand "No Joy", logs/smtp-failure showing an error for every mail recipients.
tail logs/smtp-failure:
Apr 20 22:51:13 2003 (50845) delivery to mjmaxwell@xxx.com failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to CarolN8@xxx.com failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to al.shell@xxx.net failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to logicunltd@xxx.com failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to Dayz@xxx.com failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to anima13@xxx.net failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to sk8ersr@xxx.net failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to GeorgeS@xxx.tv failed with code 554: <GeorgeS@xxx.tv>: Relay access denied Apr 20 22:51:13 2003 (50845) delivery to wchurchman@xxx.com failed with code -1: ignore Apr 20 22:51:13 2003 (50845) delivery to captrhardt@xxx.com failed with code -1: ignore
Please look in logs/smtp and try to correlate these errors with entries in that file. You should see something like "All recipients refused: " followed by a reason. The -1 code means that one of the following exceptions occurred during the send: socket.error, SMTPException, IOError. The reason in the file should give us our clue.
You might also try correlating these entries with any that might be in your MTA log file.
-Barry
On Tue, 2003-04-22 at 01:00, Michael Meltzer wrote:
Looks like I am wearing the pointy hat, The MTA log had the answer, I upgraded postfix, the new version did not permit localhost to relay by default, I had to add it by hand. kicking myself for not spotting it before.
No problem, glad it's working now! Please let me know how the new SMTPDirect.py module works for you.
If will permit an unworthy individual , "Thank You for time and attention, this product would not be what it is without the effort you provide, I appreciate it and conmen you on the selfless sharing of your time."
No problem, -Barry
It has been running for the last 18 hours+-, about 20 posts leading to 3000 messages, plus an other 12 +- administration messages, so far so good, everything looks clean and the user are happy, good job.
MJM ----- Original Message ----- From: "Barry Warsaw" <barry@python.org> To: "Michael Meltzer" <mjm@michaelmeltzer.com> Cc: <Mailman-Developers@python.org> Sent: Tuesday, April 22, 2003 8:30 AM Subject: Re: [ham] Re: [Mailman-Developers] SMTPServerDisconnected bug
On Tue, 2003-04-22 at 01:00, Michael Meltzer wrote:
Looks like I am wearing the pointy hat, The MTA log had the answer, I upgraded postfix, the new version did not permit localhost to relay by default, I had to add it by hand. kicking myself for not spotting it before.
No problem, glad it's working now! Please let me know how the new SMTPDirect.py module works for you.
If will permit an unworthy individual , "Thank You for time and attention, this product would not be what it is without the effort you provide, I appreciate it and conmen you on the selfless sharing of your time."
No problem, -Barry
participants (2)
-
Barry Warsaw
-
Michael Meltzer