I search with google for the string "exceptions.KeyError:getpwnam(): name not found"
and I find that because I use vpopmail, I must add a "-S" parameter to the call of tmda-ofmipd.
Thus my script is now:
#!/bin/sh /qmail/tmda-0.87/bin/tmda-ofmipd \ -v /var/qmail/control/virtualdomains \ -d \ -u tofmipd \ -p pops1.core.ucl.ac.be:8025 \ -R pop3://pops1.core.ucl.ac.be:110 \ -A "/users/vpopmail/bin/vchkpw /usr/bin/true" \ -S "/qmail/tmda-0.87/contrib/vpopmail-vdir.sh"
Note: the user "test" has installed TMDA with the cgi-interface and the directory ~.tmda is correct.
And now the log:
./tmda-ofmipd-CORE
auth method: pop3://pops1.core.ucl.ac.be:110/
tmda-ofmipd started at Sat Nov 1 13:02:24 CET 2003
Listening on pops1.core.ucl.ac.be:8025
[minouche:/qmail/tmda-0.87/bin] root# Incoming connection from ('80.200.224.155', 54893)
Incoming connection to ('130.104.59.5', 8025)
Peer: ('80.200.224.155', 54893)
Data: 'EHLO [192.168.1.100]'
Data: 'AUTH PLAIN AHRlc3QAbWFuaGF0YW4='
trying pop3 authentication for [EMAIL PROTECTED]:110
Auth: succeeded for user 'test'
Data: 'MAIL FROM:<[EMAIL PROTECTED]>'
===> MAIL FROM:<[EMAIL PROTECTED]>
sender: [EMAIL PROTECTED]
Data: 'RCPT TO:<[EMAIL PROTECTED]>'
===> RCPT TO:<[EMAIL PROTECTED]>
recips: ['[EMAIL PROTECTED]']
Data: 'RCPT TO:<[EMAIL PROTECTED]>'
===> RCPT TO:<[EMAIL PROTECTED]>
recips: ['[EMAIL PROTECTED]', '[EMAIL PROTECTED]']
Data: 'DATA'
Data: 'Mime-Version: 1.0 (Apple Message framework v606)\r\n
Content-Transfer-Encoding: 7bit\r\nMessage-Id: <[EMAIL PROTECTED]>\r\n
Content-Type: text/plain; charset=US-ASCII; format=flowed\r\n
To: Guy LOUIS <[EMAIL PROTECTED]>,\r\n Guy LOUIS <[EMAIL PROTECTED]>\r\n
From: Guy LOUIS TEST <[EMAIL PROTECTED]>\r\n
Subject: testdeCSE\r\n
Date: Sat, 1 Nov 2003 12:47:41 +0100\r\n
X-Mailer: Apple Mail (2.606)\r\n\r\ntestdeCSE\r\n'
error: uncaptured python exception, closing channel
<__main__.SMTPChannel connected 80.200.224.155:54893 at 0x236320>
(exceptions.ValueError:unpack list of wrong size
[/BinaryCache/python/python-3.root~377/usr/lib/python2.2/asyncore.py|poll|94]
[/BinaryCache/python/python-3.root~377/usr/lib/python2.2/asyncore.py|handle_read_event|391]
[/BinaryCache/python/python-3.root~377/usr/lib/python2.2/asynchat.py|handle_read|130]
[/qmail/tmda-0.87/bin/tmda-ofmipd|found_terminator|847] [/qmail/tmda-0.87/bin/tmda-ofmipd|process_message|1145] [./TMDA/Util.py|getvdomainprepend|137])
Can you help me?
Guy
Qmail + Vpopmail working fine.To: Guy LOUIS <[EMAIL PROTECTED]>\r\n
Installed TMDA & TMDA-cgi. All is normal for sending and confirmation and whitelisting.
Now, I try to use TMDA-OFMIPD and each time I have the same error message.
From my Mail-client, I changed the SMTP port to 8025.
I have created the group and user "tofmipd".
Here is the shell "tmda-ofmipd-CORE" to lauch tmda-ofmipid:
#!/bin/sh
/qmail/tmda-0.87/bin/tmda-ofmipd \
-v /var/qmail/control/virtualdomains \
-d \
-u tofmipd \
-p pops1.core.ucl.ac.be:8025 \
-R pop3://pops1.core.ucl.ac.be:110 \
-A "/users/vpopmail/bin/vchkpw /usr/bin/true"
Note: minouche.core.ucl.ac.be and pops1.core.ucl.ac.be are the same DNS entry.
Here is the console log of tmda-ofmipd:
./tmda-ofmipd-CORE
auth method: pop3://pops1.core.ucl.ac.be:110/
tmda-ofmipd started at Sat Nov 1 11:12:21 CET 2003
Listening on pops1.core.ucl.ac.be:8025
Incoming connection from ('80.200.224.155', 54635)
Incoming connection to ('130.104.59.5', 8025)
Peer: ('80.200.224.155', 54635)
Data: 'EHLO [192.168.1.100]'
Data: 'AUTH PLAIN AGxvdWlzAG1hbmhhdGFu'
trying pop3 authentication for [EMAIL PROTECTED]:110
Auth: succeeded for user 'louis'
Data: 'MAIL FROM:<[EMAIL PROTECTED]>'
===> MAIL FROM:<[EMAIL PROTECTED]>
sender: [EMAIL PROTECTED]
Data: 'RCPT TO:<[EMAIL PROTECTED]>'
===> RCPT TO:<[EMAIL PROTECTED]>
recips: ['[EMAIL PROTECTED]']
Data: 'DATA'
Data: 'Mime-Version: 1.0 (Apple Message framework v606)\r\n
Content-Transfer-Encoding: 7bit\r\n
Message-Id: <[EMAIL PROTECTED]>\r\nContent-Type: text/plain; charset=US-ASCII; format=flowed\r\n
From: Guy LOUIS <[EMAIL PROTECTED]>\r\n
Subject: TEST\r\n
Date: Sat, 1 Nov 2003 11:28:39 +0100\r\n
X-Mailer: Apple Mail (2.606)\r\n\r\
TEST\r\n'
error: uncaptured python exception, closing channel
<__main__.SMTPChannel connected 80.200.224.155:54635 at 0x240700>
(exceptions.KeyError:getpwnam(): name not found
[/BinaryCache/python/python-3.root~377/usr/lib/python2.2/asyncore.py|poll|94]
[/BinaryCache/python/python-3.root~377/usr/lib/python2.2/asyncore.py|handle_read_event|391]
[/BinaryCache/python/python-3.root~377/usr/lib/python2.2/asynchat.py|handle_read|130]
[/qmail/tmda-0.87/bin/tmda-ofmipd|found_terminator|847] [/qmail/tmda-0.87/bin/tmda-ofmipd|process_message|1191] [./TMDA/Util.py|gethomedir|101])
-- ---------------------------------------------------------------------- Guy LOUIS ---------------------------------------------------------------------- Professionnel: Center for Operation Research and Econometrics Universit� Catholique de Louvain Voie du Roman Pays, 34 1348 Louvain-la-Neuve T�l: 32-10-472637 Fax: 32-10-474301 S�ma: 32-45-9830991 GSM: 32-477-925615 mailto:[EMAIL PROTECTED] http://www.core.ucl.ac.be ---------------------------------------------------------------------- Priv�: 40, Rue de M�rivaux 1490 Court-St-Etienne T�l: 32-10-612822 S�ma: 32-45-9830991 GSM: 32-477-925615 mailto:[EMAIL PROTECTED] http://www.hippocrate.be ---------------------------------------------------------------------- T h i n k d i f f e r e n t - u s e a M a c i n t o s h ----------------------------------------------------------------------
_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
