Verifique a compila��o do vpopmail para procurar no passwd (isso para
usuarios ja existentes)
e para usuarios novos (crie um dominio e um user e teste)
o script de start do pop �:
#!/bin/bash
. /etc/rc.d/init.d/functions
PATH=$PATH:/usr/local/bin:/var/qmail/bin:/home/vpopmail/bin
name=qmail-pop3d
chkpwd=checkpassword
#chkpwd=vchkpw
pid=/var/run/$name.pid
chk=$(ps -Afw|grep "0 110"|grep -v "grep"|awk '{print $2}')
if [ -f "/etc/resolv.conf" ] ; then
domain=$(grep "search" /etc/resolv.conf|awk '{print $2}')
else
printf "File /etc/resolv.conf not found, aborting...\n"
exit 1
fi
case "$1" in
start)
if [ -z "$chk" ] ; then
if [ -f "$pid" ] ; then
printf "$name dead, but pid file exists (pid
'cat $pid').\n"
fi
if [ -z "$domain" ] ; then
printf "Unresolved domain, aborting...\n"
exit 1
fi
printf "Starting %s services: " "$name"
tcpserver -c 500 -H -R 0 110 qmail-popup $domain
$chkpwd $name Maildir 2>/dev/null &
sleep 1
ps -Afw|grep "0 110"|grep -v "grep"|awk '{print $2}'
>$pid
touch /var/lock/subsys/$name
echo
else
printf "$name (pid "$chk") alread running...\n"
exit 1
fi
;;
stop)
if [ -z "$chk" ] ; then
printf "$name not running.\n"
exit 1
else
printf "Stopping %s services: " "$name"
kill -9 $chk
rm -f /var/lock/subsys/$name
rm -f $pid
echo
fi
;;
restart|reload)
$0 stop
$0 start
;;
status)
if [ -z "$chk" ] ; then
if [ -f "$pid" ] ; then
printf "$name dead, but pid file exists (pid
'cat $pid')./n"
else
printf "$name not running.\n"
exit 1
fi
else
printf "$name (pid $chk) is running...\n"
exit 1
fi
;;
*)
printf "Usage: %s {start|stop|status|restart]\n" "$name"
exit 1
esac
exit 0
----- Original Message -----
From: "Westter Jos� da Silva" <[EMAIL PROTECTED]>
To: "'linux-br'" <[EMAIL PROTECTED]>
Sent: Tuesday, October 01, 2002 3:04 PM
Subject: (linux-br) problemas com o Vpopmail
Galera,
Estou utilizando o qmail + checkpasswd, gostaria de mudar para Vpopmail,
pelas facilidades de administra��o de dominios virtuais, mas n�o estou
conseguindo de maneira nenhuma...
O que eu fiz foi:
nos scripts de supervise - qmail-pop3d alterei o checkpasswd por
~vpopmail/bin/vchkpw , mas n�o funciona...
Quando dou um telnet na porta 110 ele n�o consegue autenticar os usu�rios do
dominio virtual criados e nem os locais... Tem alguma id�ia do que seja.
Algu�m j� configurou o Vpopmail + Qmail... Teve sucesso... pode me passar
algumas dicas ou material.
Atenciosamente,
Westter
Westter Jos� da Silva Santos
Suporte T�cnico
Divis�o de Microinform�tica
COMDATA
Assinantes em 02/10/2002: 2260
Mensagens recebidas desde 07/01/1999: 185388
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista:
mailto:[EMAIL PROTECTED]