[vchkpw] tmda-ofmpid and vpopmail

2004-04-01 Thread Rob Yale
Hi,

I posted this question to the TMDA list, but didn't get any response.  So given that many vpopmail users are also TMDA users, I'm also posting this message here:

I've been trying to get tmda-ofmipd working, and I've been using the tmda-ofmipd + VPopMail or VMailMgr howto.

My etc/init.d/ofmipd file contains the following:

#!/bin/bash
su -l vpopmail -c '/home/vpopmail/tmda-1.0.2/bin/tmda-ofmipd -d -S /home/vpopmail/tmda-1.0.2/contrib/vpopmail-vdir.sh'

I added the -d option so that I could get some debug output.

Here is the output I got when I set my MUA (OSX Mail) SMTP info to:
port 8025
username [EMAIL PROTECTED]
password mypassword

[EMAIL PROTECTED] init.d]# Incoming connection from ('192.168.1.1', 50409)
Incoming connection to ('192.168.1.101', 8025)
Peer: ('192.168.1.1', 50409)
Data: 'EHLO [192.168.1.100]'
Data: 'AUTH PLAIN AHJvYkB5YWxlbXVzaWMuY2EAdm9nPWplYWc='
error: uncaptured python exception, closing channel <__main__.SMTPChannel connected 192.168.1.1:50409 at 0x81cef24> (exceptions.IndexError:list index out of range [/usr/lib/python2.2/asyncore.py|poll|99] [/usr/lib/python2.2/asyncore.py|handle_read_event|396] [/usr/lib/python2.2/asynchat.py|handle_read|130] [/home/vpopmail/tmda-1.0.2/bin/tmda-ofmipd|found_terminator|818] [/home/vpopmail/tmda-1.0.2/bin/tmda-ofmipd|smtp_AUTH|984] [/home/vpopmail/tmda-1.0.2/bin/tmda-ofmipd|auth_challenge|783] [/home/vpopmail/tmda-1.0.2/bin/tmda-ofmipd|auth_verify|755] [/home/vpopmail/tmda-1.0.2/bin/tmda-ofmipd|verify_plain|690] [/home/vpopmail/tmda-1.0.2/bin/tmda-ofmipd|authfile2dict|552])

Thanks in advance,
Rob Yale

[vchkpw] Can ALL domains be virtual

2004-03-30 Thread Rob Yale
Ok,

Since I'm having no success getting vchkpw to authorize non-virtual 
users, could I simply make all my domains virtual?  I'd prefer to 
figure out why vchkpw won't quthorize correctly, but is this a viable 
solution?

Thanks,

Rob Yale
Yale Music
Composition and Production


Re: [vchkpw] vchkpw won't authorize non-virtual users

2004-03-30 Thread Rob Yale
Hi,

I first compiled with -enable-roaming-users=y, but then re-compiled 
with no options.  None of the docs I consulted referred to the 
-enable-passwd option (is that a double hyphen in the compile 
options?).

Rob

On Mar 30, 2004, at 2:16 AM, Gary wrote:

From: "Rob Yale"
Hi,

I just finished installing and configuring vpopmail as per 
instructions
in Dave Sill's "The Qmail Handbook".  When I attempt to test
authorization of a non-virtual user, it fails.  I telnet'ed to 0.0.0.0
on port 110, specified "user rob" and then "pass 12345".  I then get
"-ERR authorization failed".  Here is my /service/qmail-pop3d/run 
file:

#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -R -H -l 0 0 110
/var/qmail/bin/qmail-popup \
 pop.yalemusic.ca /home/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir 2>&1
I've been searching for a way to debug this, but haven't found
anything.  Can anyone suggest something that might be a good place to
look?
What is your vpopmail build config options?  ./configure --?

http://www.inter7.com/vpopmail/install.txtLook #12

Gary



Rob Yale
Yale Music
Composition and Production


[vchkpw] vchkpw won't authorize non-virtual users

2004-03-29 Thread Rob Yale
Hi,

I just finished installing and configuring vpopmail as per instructions 
in Dave Sill's "The Qmail Handbook".  When I attempt to test 
authorization of a non-virtual user, it fails.  I telnet'ed to 0.0.0.0 
on port 110, specified "user rob" and then "pass 12345".  I then get 
"-ERR authorization failed".  Here is my /service/qmail-pop3d/run file:

#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 
/var/qmail/bin/qmail-popup \
pop.yalemusic.ca /home/vpopmail/bin/vchkpw 
/var/qmail/bin/qmail-pop3d Maildir 2>&1

I've been searching for a way to debug this, but haven't found 
anything.  Can anyone suggest something that might be a good place to 
look?

Thanks,

Rob Yale
Yale Music
Composition and Production