Jesse Guardiani <[EMAIL PROTECTED]> writes: > I get the following error when I try to authenticate with Microsoft IE, > tmda-tofmipd (most recent), and vpopmail 5.2.1:
It's not an authentication problem -- you were successfully authenticated. See explanation below. > ----------------------------------------------------------- > [17:13]jesse@lego:[/var/log/tmda-ofmipd]# python /usr/local/tmda/bin/tmda-ofmipd >tofmipd -R imap -d Here you run tmda-ofmipd in global mode (as root). That's the root (pardon the pun) of the problem. Also, it looks like a -u switch might have gotten lost when copied and pasted? If not, I don't understand the 'tofmipd' in the command line. [...] > Auth: succeeded for user '[EMAIL PROTECTED]' Here you were successfully authenticated. Note that the authenticated user is '[EMAIL PROTECTED]'. [...] > error: uncaptured python exception, closing channel <__main__.SMTPChannel > connected 206.30.215.5:2484 at 0x821088c> (exceptions.KeyError:getpwnam(): > name not found [/usr/local/lib/python2.2/asyncore.py|poll|95] > [/usr/local/lib/python2.2/asyncore.py|handle_read_event|392] > [/usr/local/lib/python2.2/asynchat.py|handle_read|130] > [/usr/local/tmda/bin/tmda-ofmipd|found_terminator|713] > [/usr/local/tmda/bin/tmda-ofmipd|process_message|981] > [./TMDA/Util.py|getgid|86]) What dies here is a call to getgid. When you run as root, tmda-ofmipd tries to get the group id of the authenticated user. Since there is almost certainly no real user on the system with the username '[EMAIL PROTECTED]', that request fails. The workaround is to run tmda-ofmipd as the vpopmail user and not as root. In other words, use su or sudo to run tmda-ofmipd as vpopmail (or whatever that user is called on your system). Specifying the -u switch isn't enough. > I tried it with Pegasus Mail (CRAM-MD5 AUTH), and it didn't even > authenticate. Well, let's solve one problem at a time :) Tim _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
