> Auth:  succeeded for user '[EMAIL PROTECTED]'
> Data: 'MAIL FROM: <[EMAIL PROTECTED]>'
> ===> MAIL FROM: <[EMAIL PROTECTED]>
> sender: [EMAIL PROTECTED]
>
>[...]
>
> error: uncaptured python exception, closing channel
> <__main__.SMTPChannel connected 192.168.4.26:3250 at 0x8237dcc>
> (exceptions.KeyError:'getpwnam(): name not found'
> [/usr/local/lib/python2.3/asyncore.py|read|69]
> [/usr/local/lib/python2.3/asyncore.py|handle_read_event|387]
> [/usr/local/lib/python2.3/asynchat.py|handle_read|136]
> [/usr/local/tmda/bin/tmda-ofmipd|found_terminator|847]
> [/usr/local/tmda/bin/tmda-ofmipd|process_message|1191]
> [/usr/local/tmda/TMDA/Util.py|gethomedir|102])
>
>Is the 'google' user in /etc/passwd?
>
>TMDA is trying to find the 'google' user's home directory in order to
>find the user's configuration file.  It apparently can't get that
>information.
>
>
>Tim

 

I figured out that problem, sort of.

I needed to specify the home directory script.

 

My biggest problem now is that it depends on which version of python I am using.

If I copy python2.3 to /usr/local/bin/python tmda-ofmipd works fine but TMDA-CGI no longer works.

If I copy python2.2 into /usr/local/bin/python TMDA-CGI works but I get the following error message when I try to send a message…

 

error: uncaptured python exception, closing channel <__main__.SMTPChannel connected 63.170.141.40:4842 at 0x8206a6c> (exceptions.KeyError:getpwnam(): name not found [/usr/local/lib/python2.2/asyncore.py|poll|100] [/usr/local/lib/python2.2/asyncore.py|handle_read_event|397] [/usr/local/lib/python2.2/asynchat.py|handle_read|130] [/usr/local/tmda/bin/tmda-ofmipd|found_terminator|847] [/usr/local/tmda/bin/tmda-ofmipd|process_message|1151] [/usr/local/tmda/TMDA/Util.py|getgid|97])

 

If I specify in tmda-ofmipd the first line the version of python to use it still looks at the libraries for 2.2.

Example … #!/usr/bin/env /usr/local/bin/python2.3

 

Where else may I need to specify the different version of python for just ofmipd to use and not really effect the rest of the programs?

 

Thanks…

Sam

 

 

__________________________________________

 

Reply via email to