[EMAIL PROTECTED] wrote:

> I've got a new server with 
> - Slackware 10
> It's all setup so that mail is delivered in the Maildir/new directory, I
can
> see the mails I send to the server BUT I can not login with pop3 or IMAP.
I
> found the following A in the FAQ:
> 
> 21. Why can't pop authenticate on my slackware distribution.
> Some distributions of slackware (current distro as of July/2000)
> do not come with a functional crypt routine. To fix the problem
> you must install the real crypt libraries and recompile
> 
> My question: Where do I get this Real Crypt?

Hi,

I have more than a few Slackware machines setup the same way and I have 
no problem at all logging in with pop or IMAP.  I tend to think your 
problem is more permission related.

Can you show us your run scripts for pop and /or IMAP ?

Regards,

Rick

Ow Right! That must be it! I never told pop3d and IMAP something about using
vpopmail

Could you help me?

Get ready for some code:
--- --- --- --->In the /etc/rc.d/rc.local:

# Start the pop3 en imap service
/etc/rc.d/rc.pop3d start
/etc/rc.d/rc.imapd start

--- --- --- ---> end of /etc/rc.d/rc.local

--- --- --- --->In the /etc/rc.d/rc.pop3d
#! /bin/sh
# $Id: pop3d.rc.in,v 1.12 2004/04/18 15:54:38 mrsam Exp $
#
# Copyright 1998 - 2002 Double Precision, Inc.
# See COPYING for distribution information.


prefix=/usr
exec_prefix=/usr
bindir=${exec_prefix}/bin
libexecdir=/usr/libexec

if test ! -f /etc/pop3d
then
        echo "/etc/pop3d does not exist, forgot make install-configure?"
        exit 1
fi

if test ! -f /etc/pop3d-ssl
then
        echo "/etc/pop3d-ssl does not exist, forgot make install-configure?"
        exit 1
fi

. /etc/pop3d-ssl
. /etc/pop3d

case $1 in
start)
        LIBAUTHMODULES=""
        for f in `echo $AUTHMODULES`
        do
                LIBAUTHMODULES="$LIBAUTHMODULES /usr/libexec/authlib/$f"
        done

        if test -x ${libexecdir}/authlib/authdaemond
        then
                /usr/bin/env - DEBUG_LOGIN="$DEBUG_LOGIN"
${libexecdir}/authlib/authdaemond start
        fi

        /usr/bin/env - /bin/sh -c " set -a ;
                prefix=/usr ;
                exec_prefix=/usr ;
                bindir=${exec_prefix}/bin ;
                libexecdir=/usr/libexec ;
                . /etc/pop3d ; \
                                . /etc/pop3d-ssl ; \
                TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \
                export TLS_PROTOCOL ;
                /usr/libexec/couriertcpd -address=$ADDRESS \
                        -stderrlogger=${exec_prefix}/sbin/courierlogger \
                        -stderrloggername=pop3d \
                        -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
                        -pid=$PIDFILE $TCPDOPTS \
                        $PORT ${exec_prefix}/sbin/pop3login $LIBAUTHMODULES
\
                                ${exec_prefix}/bin/pop3d ${MAILDIRPATH}"
        ;;
stop)
        /usr/libexec/couriertcpd -pid=$PIDFILE -stop
        if test -x ${libexecdir}/authlib/authdaemond
        then
                ${libexecdir}/authlib/authdaemond stop
        fi
        ;;
esac
exit 0
--- --- --- ---> end of /etc/rc.d/rc.pop3d

--- --- --- --->In the /etc/rc.d/rc.imapd
#! /bin/sh
# $Id: imapd.rc.in,v 1.26 2004/04/18 15:54:38 mrsam Exp $
#
# Copyright 1998 - 2002 Double Precision, Inc.
# See COPYING for distribution information.


prefix=/usr
exec_prefix=/usr
bindir=${exec_prefix}/bin
libexecdir=/usr/libexec

if test ! -f /etc/imapd
then
        echo "/etc/imapd does not exist, forgot make install-configure?"
        exit 1
fi

if test ! -f /etc/imapd-ssl
then
        echo "/etc/imapd-ssl does not exist, forgot make install-configure?"
        exit 1
fi

TLS_CACHEFILE=""
. /etc/imapd-ssl
. /etc/imapd

case $1 in
start)
        LIBAUTHMODULES=""
        for f in `echo $AUTHMODULES`
        do
                LIBAUTHMODULES="$LIBAUTHMODULES /usr/libexec/authlib/$f"
        done

        if test -x ${libexecdir}/authlib/authdaemond
        then
                /usr/bin/env - DEBUG_LOGIN="$DEBUG_LOGIN"
${libexecdir}/authlib/authdaemond start
        fi

        if test "$TLS_CACHEFILE" != ""
        then
                rm -f $TLS_CACHEFILE
        fi

        ulimit -v $IMAP_ULIMITD
        /usr/bin/env - /bin/sh -c " set -a ;
                        prefix=/usr ;
                        exec_prefix=/usr ;
                        bindir=${exec_prefix}/bin ;
                        libexecdir=/usr/libexec ;
                                . /etc/imapd ; \
                                . /etc/imapd-ssl ; \
                IMAP_STARTTLS=$IMAPDSTARTTLS ; export IMAP_STARTTLS ; \
                TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \
                /usr/libexec/couriertcpd -address=$ADDRESS \
                        -stderrlogger=${exec_prefix}/sbin/courierlogger \
                        -stderrloggername=imapd \
                        -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
                        -pid=$PIDFILE $TCPDOPTS \
                        $PORT ${exec_prefix}/sbin/imaplogin $LIBAUTHMODULES
\
                                ${exec_prefix}/bin/imapd ${MAILDIRPATH}"
        ;;
stop)
        /usr/libexec/couriertcpd -pid=$PIDFILE -stop
        if test -x ${libexecdir}/authlib/authdaemond
        then
                ${libexecdir}/authlib/authdaemond stop
        fi
        ;;
esac
exit 0

--- --- --- ---> end of etc/rc.d/rc.imapd

Reply via email to