...
[pop3s] accept = 995 connect = 110 ... Saludos. On Jul 13, 2006, at 11:02 AM, Estrella wrote:
Hola!Instalé qmail-1.03 con el patch qmail-ldap-1.03-20060201.patch y ucspi-tcp-0.88.Quiero utilizar pop3-ssl y me da el siguiente error en el log: @4000000044b3cc2817c0d55c tcpserver: illegal option -- s@4000000044b3cc2817c1525c tcpserver: usage: tcpserver [ -1UXpPhHrRoOdDqQv ] [ -c limit ] [ -x rules.cdb ] [ -B banner ] [ -g gid ] [ -u uid ] [ -b backlog ] [ -l localname ] [ -t timeout ] host port programy el scripts que hace correr pop3d-ssl es el siguiente: #!/bin/sh exec 2>&1 # # POP3 service # QMAIL="/misProgramas/programas/qmail" ME="`head -1 $QMAIL/control/me`" if [ -e $QMAIL/control/defaultdelivery ]; thenALIASEMPTY=`head -1 $QMAIL/control/defaultdelivery 2> /dev/ null`else ALIASEMPTY=`head -1 $QMAIL/control/aliasempty 2> /dev/null` fi ALIASEMPTY=${ALIASEMPTY:="./Maildir/"} PATH="$QMAIL/bin:$PATH" # source the environemt in ./env eval `env - PATH=$PATH envdir ./env awk '\ BEGIN { for (i in ENVIRON) \ if (i != "PATH") { \ printf "export %s=\"%s\"\\n", i, ENVIRON[i] \ } \ }'` # enforce some sane defaults TLSCERT=${TLSCERT:="$QMAIL/control/cert.pem"} PBSTOOL=${PBSTOOL:="$QMAIL/bin/pbsadd"} if [ X${NOPBS+"true"} = X"true" ]; then unset PBSTOOL fi exec \ tcpserver -v -HRl $ME -x$QMAIL/control/qmail-pop3d.cdb \ ${CONCURRENCY:+"-c$CONCURRENCY"} ${BACKLOG:+"-b$BACKLOG"} \ -s ${TLSCERT:+"-n$TLSCERT"} 0 pop3s \ $QMAIL/bin/qmail-popup $ME \ $QMAIL/bin/auth_pop ${PBSTOOL:+"-d$PBSTOOL"}\ $QMAIL/bin/qmail-pop3d "$ALIASEMPTY"que es el que genera el patch de qmail-ldap. Entiendo que es porque la opción -s no es aceptada por tcpserver. Mi consulta es si alguien sabe que opción es la que debe ir en su lugar o si necesito algún patch extra que no instalé.Para compilar qmail el Makefile que utilicé es el siguiente: # Perhaps you have different ldap libraries, change them here LDAPLIBS=-L/usr/local/lib -lldap -llber # and change the location of the include files here LDAPINCLUDES=-I/usr/local/include# on Slowaris you need -lresolv and probably a LD_RUN_PATH added like this: #LDAPLIBS=-L/opt/OpenLDAP/lib -lldap -llber -lresolv -R/opt/ OpenLDAP/lib# for example on my Linux box I use: #LDAPLIBS=-L/opt/OpenLDAP/lib -lldap -llber # if you need a special include-directory for ldap headers enable this #LDAPINCLUDES=-I/opt/OpenLDAP/include # ZLIB needed for -DDATA_COMPRESS and -DQMQP_COMPRESS #ZLIB=-lz# or you installed zlib in a different path you can use something like this#ZLIB=-L/opt/zlib/lib -lz #ZINCLUDES=-I/opt/zlib/include# TLS (SMTP encryption) in qmail-smtpd and qmail-remote, see TLS.readme# You need OpenSSL for this # use -DTLS_REMOTE to enable tls support in qmail-remote # use -DTLS_SMTPD to enable tls support in qmail-smtpd# use -DTLSDEBUG to enable additional tls debug information in qmail-remoteTLS=-DTLS_REMOTE -DTLS_SMTPD # Path to OpenSSL includes TLSINCLUDES=-I/usr/include/openssl # Path to OpenSSL libraries TLSLIBS=-L/usr/local/lib -lssl -lcrypto # Path to OpenSSL binary OPENSSLBIN=/usr/bin/openssl OPENSSLBIN=openssl # to make the Netscape download progress bar work with qmail-pop3d # uncomment the next line (allready done) MNW=-DMAKE_NETSCAPE_WORK # to enable the auto-maildir-make feature uncomment the next line MDIRMAKE=-DAUTOMAILDIRMAKE # to enable the auto-homedir-make feature uncomment the next line HDIRMAKE=-DAUTOHOMEDIRMAKE # on most systems we need this to make auth_pop and auth_imap SHADOWLIBS=-lcrypt# OpenBSD and other Systems do not have libcrypt, so comment the line out# if you get linking problems.# To use shadow passwords under some Linux OS, uncomment the next two lines.#SHADOWLIBS=-lcrypt -lshadow #SHADOWOPTS=-DPW_SHADOW# To use shadow passwords under Solaris, uncomment the SHADOWOPTS line.# to enable the possibility to log and debug imap and pop uncoment the # next line DEBUG=-DDEBUG # WARNING: you need a NONE DEBUG auth_* to run with inetd # for profiling ... #INCTAI=../libtai-0.60 #LIBTAI=../libtai-0.60 # Just for me, make from time to time a backup BACKUPPATH=/backup/qmail-backup/qmail-ldap.`date "+%Y%m%d-%H%M"`.tar # STOP editing HERE !!! -- Saludos, Estrella
PGP.sig
Description: This is a digitally signed message part