Re: [Mailman-Users] SMTPDirect issues (Name or service not known)

2005-06-12 Thread John W. Baxter
On 6/11/05 9:39 PM, "Mark Sapiro" <[EMAIL PROTECTED]> wrote: > I don't understand why SMTPDirect.pyc is not recreated. It should be > created when OutgoingRunner.py is initialized. It does The typical--of Python generally--reason is that the process which does the import doesn't have permissions

Re: [Mailman-Users] SMTPDirect issues (Name or service not known) (SOLVED)

2005-06-12 Thread sonne
Hello! > I didn't notice the '2' return code in your original post. I believed > you when you said "mails are correctly delivered to mailman by exim:". > The return code of '2' is a group mismatch error. Does exim give more > information in the returned 'delivery failure' notice? See > http://www.

Re: [Mailman-Users] SMTPDirect issues (Name or service not known)

2005-06-11 Thread Mark Sapiro
Meike Aulbach wrote: > >On Sat, Jun 11, 2005 at 07:20:11AM -0700, Mark Sapiro wrote: >> Are you still getting the smtp-failure message you originally reported, >> namely one like >> >> Jun 09 22:00:35 2005 (32666) delivery to xxx at .net failed with >> code -1: (-2, 'Name or service no

Re: [Mailman-Users] SMTPDirect issues (Name or service not known)

2005-06-11 Thread Meike Aulbach
Hello! On Sat, Jun 11, 2005 at 07:20:11AM -0700, Mark Sapiro wrote: > Are you still getting the smtp-failure message you originally reported, > namely one like > > Jun 09 22:00:35 2005 (32666) delivery to xxx at .net failed with > code -1: (-2, 'Name or service not known') No, the er

Re: [Mailman-Users] SMTPDirect issues (Name or service not known)

2005-06-11 Thread Mark Sapiro
Meike Aulbach wrote: > >On Fri, Jun 10, 2005 at 11:35:39AM -0700, Mark Sapiro wrote: >> def __connect(self): >> self.__conn = smtplib.SMTP() >> syslog('smtp-failure', 'host = %s, port = %s', >>mm_cfg.SMTPHOST, mm_cfg.SMTPPORT) >> x = self.__conn.connect(m

Re: [Mailman-Users] SMTPDirect issues (Name or service not known)

2005-06-11 Thread Meike Aulbach
Hello, I'm starting to believe something is very broken in my system. On Fri, Jun 10, 2005 at 11:35:39AM -0700, Mark Sapiro wrote: > def __connect(self): > self.__conn = smtplib.SMTP() > syslog('smtp-failure', 'host = %s, port = %s', >mm_cfg.SMTPHOST, mm_cfg.SM

Re: [Mailman-Users] SMTPDirect issues (Name or service not known)

2005-06-10 Thread Mark Sapiro
Meike Aulbach wrote: > >So mailman is probably really connecting to 'localhost' and 0 as I >hardcoded that in SMTPDirect.py (see my last mail). Yes. >When I do a manual connect as user 'list' it still works. I went through >the complete procedure: > >:~# su - list >No directory, logging in

Re: [Mailman-Users] SMTPDirect issues (Name or service not known)

2005-06-10 Thread Meike Aulbach
Hello! Thanks for the reply :) On Fri, Jun 10, 2005 at 09:36:46AM -0700, Mark Sapiro wrote: > See the post at > http://mail.python.org/pipermail/mailman-users/2005-June/045071.html > The similar issue there was due to /etc/hosts not being readable by > other than root. Should be ok, readable by

Re: [Mailman-Users] SMTPDirect issues (Name or service not known)

2005-06-10 Thread Mark Sapiro
Meike Aulbach wrote: > >Now these are the default values, but I tried a lot of other values >on them, e.g. 'mx-name', 'mx-IP', '127.0.0.1' for SMTPHOST, 25 for >SMTPPORT). After every change to the values in mm_cfg.py I did a >restart of mailman. (/etc/init.d/mailman restart on Debian, or is >there

[Mailman-Users] SMTPDirect issues (Name or service not known)

2005-06-10 Thread Meike Aulbach
Hello all, I'm currently in the process of setting up a mailinglist with mailman. The installation process worked fine, mails are correctly delivered to mailman by exim: mainlog.1:2005-06-09 22:00:38 1DgTCg-LI-Im ** [EMAIL PROTECTED] F=<[EMAIL PROTECTED]> R=mailman_router T=mailman_tr

Re: [Mailman-Users] SMTPDirect

2004-04-08 Thread John Poltorak
On Thu, Apr 08, 2004 at 01:34:44PM +0100, Richard Barrett wrote: > Personally, I tend to hack in a few calls to syslog to the code that > output information that may enlighten me as to what is going on, e.g. > > syslog('error', 'my diagnosic info, value was: %s', > somevariableoranother)

Re: [Mailman-Users] SMTPDirect

2004-04-08 Thread John Poltorak
On Thu, Apr 08, 2004 at 01:34:44PM +0100, Richard Barrett wrote: > On 8 Apr 2004, at 11:56, John Poltorak wrote: > > > > > Is there any documentation of how SMTPDirect is supposed to work? > > I am not being sarcastic when I suggest reading the code in > $prefix/Mailman/Handlers/SMTPDirect.py >

Re: [Mailman-Users] SMTPDirect

2004-04-08 Thread Richard Barrett
On 8 Apr 2004, at 11:56, John Poltorak wrote: Is there any documentation of how SMTPDirect is supposed to work? I am not being sarcastic when I suggest reading the code in $prefix/Mailman/Handlers/SMTPDirect.py SMTPDirect depends on the standard Python module smtplib and, bearing in mind your e

[Mailman-Users] SMTPDirect

2004-04-08 Thread John Poltorak
Is there any documentation of how SMTPDirect is supposed to work? And can anyone suggest how I trace what is happening when it is invoked? -- John -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mai

Re: [Mailman-Users] SMTPDirect?

2002-09-06 Thread Richard Barrett
At 23:43 25/07/2001 -0500, Alex Lau wrote: >Is this protocol able to send external email? >Thanks >Alex Yes. Setting Mailman's DELIVERY_MODULE configuration parameter to 'SMTPDirect ' tells Mailman to use SMTP to despatch outgoing mail to a host identified by the SMTPHOST configuration paramete