[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QMail + Vpopmail + Courier-Iamp + MySQL + OpenBSD 3.0



Hi,

Could some help me save what I have left of hairs please! I am loosing it. I
can't figure out where my stupid mistake is and it's been a few days so far.
Google, and Marc list doesn't help me so far. I found very helpful German
sites and even if I can't read it, the instruction for the making of it
still show in English, so it was helpful anyhow, but as for this combination
configuration under OpenBSD, I am at a lots.

I have OpenBSD 3.0 and install

QMail (working well)
Courier-Imap with pop3, pop3-ssl, imap, imap-sll ( all working well)
Vpopmail with MySQL support. (working well, as when I create new user or
virtual domain, it does show up in MySQL database)

But, I can't plug in the "vchkpw" part of Vpopmail to get it to work in
QMail.

Here is my pop3d.rc for courier-imap for example with only the part I try to
change.

Before I try to put vchkpw in:
snip:
                /usr/local/libexec/couriertcpd -address=$ADDRESS \
                        -stderrlogger=/usr/local/libexec/logger \
                        -stderrloggername=pop3d \
                        -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
                        -pid=$PIDFILE $TCPDOPTS \
                        $PORT ${exec_prefix}/sbin/pop3login $LIBAUTHMODULES
\
                                ${exec_prefix}/bin/pop3d Maildir"
After:
snip..
               /usr/local/libexec/couriertcpd -address=$ADDRESS \
                        -stderrlogger=/usr/local/libexec/logger \
                        -stderrloggername=pop3d \
                        -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
                        -pid=$PIDFILE $TCPDOPTS \
                        $PORT ${exec_prefix}/sbin/pop3login $LIBAUTHMODULES
\
                        test.com /home/vpopmail/bin/vchkpw \
                                ${exec_prefix}/bin/pop3d Maildir"


When I try to authenticate locally, I get this. (:>

mail# telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK Hello there.
user newuser%test.com
+OK Password required.
pass test
vchkpw: what the hell are you doing running vchkpw on the command line!!
It's only for talking with qmail-popup and qmail-pop3d.
Connection closed by foreign host

Please, is someone can help, or even better yet, a URL to a place where
there is good information on this setup would be great. I have all the piece
working, except this one details and I can't figure it out!

What am I doing wrong, any bone for me! (:>

Thanks

Daniel