|
|
|
| Ver tema anterior :: Ver tema siguiente |
| Autor |
Mensaje |
linuxero BOFH

Registrado: 09 Ene 2004 Mensajes: 2868 Ubicación: Cyberespacio
|
Publicado: Jue Feb 26, 2004 2:00 am Asunto: Guía Instalación de Sendmail con SMTP-AUTH y |
|
|
Esta guía simplemente explica cómo instalar sendmail con autenticación SMTP_AUTH y TLS en pocos minutos y no pretende explicar el funcionamiento de las mismas. Consultar www.sendmail.org para más referencias.
La guía original fué escrita por Falko Timme y está disponible en:
http://www.falkotimme.com/howtos/sendmail_smtp_auth_tls/index.php
Para usuarios de Debian, aquí hay una guía rápida usando apt-get: http://people.brad-x.com/~diamondc/postfix-tls-smtpauth.html
Obtenier los códigos fuente
| Código: | cd /tmp
wget http://www.openssl.org/source/openssl-0.9.7c.tar.gz
wget --passive-ftp ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.17.tar.gz
wget --passive-ftp ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.12.11.tar.gz
|
Instalar OpenSSL
| Código: | tar xvfz openssl-0.9.7c.tar.gz
cd openssl-0.9.7c
./config
make
make install
ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
ln -s /usr/local/lib/libsasl2.so.2 /lib
|
Instalar Cyrus-sasl2
| Código: | cd /tmp
tar xvfz cyrus-sasl-2.1.17.tar.gz
cd cyrus-sasl-2.1.17
./configure --enable-anon --enable-plain --enable-login --disable-krb4 --with-saslauthd=/var/run/saslauthd --with-pam --with-openssl=/usr/local/ssl --with-plugindir=/usr/local/lib/sasl2 --enable-cram --enable-digest --enable-otp (todo en una línea)
Si /usr/lib/sasl2 existe:
mv /usr/lib/sasl2 /usr/lib/sasl2_orig
make
make install
echo "pwcheck_method: saslauthd" > /usr/local/lib/sasl2/Sendmail.conf
echo "mech_list: login plain" >> /usr/local/lib/sasl2/Sendmail.conf
mkdir -p /var/run/saslauthd |
Crear los certificados para TLS
| Código: | mkdir -p /etc/mail/certs
cd /etc/mail/certs
openssl req -new -x509 -keyout cakey.pem -out cacert.pem -days 365
<- Enter your password for smtpd.key.
<- Enter your Country Name (e.g., "DE").
<- Enter your State or Province Name.
<- Enter your City.
<- Enter your Organization Name (e.g., the name of your company).
<- Enter your Organizational Unit Name (e.g. "IT Department").
<- Enter the Fully Qualified Domain Name of the system (e.g. "server1.example.com").
<- Enter your Email Address.
openssl req -nodes -new -x509 -keyout sendmail.pem -out sendmail.pem -days 365
<- Again, enter your password for smtpd.key.
<- Enter your Country Name (e.g., "DE").
<- Enter your State or Province Name.
<- Enter your City.
<- Enter your Organization Name (e.g., the name of your company).
<- Enter your Organizational Unit Name (e.g. "IT Department").
<- Enter the Fully Qualified Domain Name of the system (e.g. "server1.example.com").
<- Enter your Email Address.
openssl x509 -noout -text -in sendmail.pem
chmod 600 ./sendmail.pem |
Instalar Sendmail
| Código: | cd /tmp
tar xvfz sendmail.8.12.11.tar.gz
cd sendmail-8.12.11/devtools/Site/
|
Crear el archivo site.config.m4 en devtools/Site/ con el siguiente contenido:
| Código: | # SASL2 (smtp authentication)
APPENDDEF(`confENVDEF', `-DSASL=2')
APPENDDEF(`conf_sendmail_LIBS', `-lsasl2')
#
# STARTTLS (smtp + tls/ssl)
APPENDDEF(`conf_sendmail_ENVDEF', `-DSTARTTLS')
APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_SMTP_SSL')
APPENDDEF(`conf_sendmail_LIBS', `-lssl -lcrypto -L/usr/local/ssl/lib')
|
| Código: | mkdir -p /usr/man
mkdir -p /usr/man/man1
mkdir -p /usr/man/man8
cp -pfr /usr/local/lib/sasl2 /usr/lib/sasl2
echo /usr/lib/sasl2 >> /etc/ld.so.conf
ldconfig
ln -s /usr/local/ssl/include/openssl /usr/include/openssl |
Finalmente compilar Sendmail:
| Código: | cd /tmp/sendmail-8.12.11/
useradd smmsp
groupadd smmsp
sh Build -c
sh Build install |
Crear el archivo sendmail.mc con el siguiente contenido:
| Código: | OSTYPE(linux)dnl
dnl ### do SMTPAUTH
define(`confAUTH_MECHANISMS', `LOGIN PLAIN DIGEST-MD5 CRAM-MD5')dnl
TRUST_AUTH_MECH(`LOGIN PLAIN DIGEST-MD5 CRAM-MD5')dnl
dnl ### do STARTTLS
define(`confCACERT_PATH', `/etc/mail/certs')dnl
define(`confCACERT', `/etc/mail/certs/cacert.pem')dnl
define(`confSERVER_CERT', `/etc/mail/certs/sendmail.pem')dnl
define(`confSERVER_KEY', `/etc/mail/certs/sendmail.pem')dnl
define(`confCLIENT_CERT', `/etc/mail/certs/sendmail.pem')dnl
define(`confCLIENT_KEY', `/etc/mail/certs/sendmail.pem')dnl
DAEMON_OPTIONS(`Family=inet, Port=465, Name=MTA-SSL, M=s')dnl
dnl ###
define(`confDEF_CHAR_SET', `iso-8859-1')dnl
define(`confMAX_MESSAGE_SIZE', `15000000')dnl Denial of Service Attacks
define(`confMAX_DAEMON_CHILDREN', `30')dnl Denial of Service Attacks
define(`confCONNECTION_RATE_THROTTLE', `2')dnl Denial of Service Attacks
define(`confMAXRCPTSPERMESSAGE', `50')dnl Denial of service Attacks
define(`confSINGLE_LINE_FROM_HEADER', `True')dnl
define(`confSMTP_LOGIN_MSG', `$j')dnl
define(`confDONT_PROBE_INTERFACES', `True')dnl
define(`confTO_INITIAL', `6m')dnl
define(`confTO_CONNECT', `20s')dnl
define(`confTO_HELO', `5m')dnl
define(`confTO_HOSTSTATUS', `2m')dnl
define(`confTO_DATAINIT', `6m')dnl
define(`confTO_DATABLOCK', `35m')dnl
define(`confTO_DATAFINAL', `35m')dnl
define(`confDIAL_DELAY', `20s')dnl
define(`confNO_RCPT_ACTION', `add-apparently-to')dnl
define(`confALIAS_WAIT', `0')dnl
define(`confMAX_HOP', `35')dnl
define(`confQUEUE_LA', `5')dnl
define(`confREFUSE_LA', `12')dnl
define(`confSEPARATE_PROC', `False')dnl
define(`confCON_EXPENSIVE', `true')dnl
define(`confWORK_RECIPIENT_FACTOR', `1000')dnl
define(`confWORK_TIME_FACTOR', `3000')dnl
define(`confQUEUE_SORT_ORDER', `Time')dnl
define(`confPRIVACY_FLAGS', `authwarnings,goaway,restrictmailq,restrictqrun,needmailhelo')dnl
FEATURE(`delay_checks')dnl
FEATURE(`generics_entire_domain')dnl
FEATURE(`local_procmail')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`nouucp',`reject')dnl
FEATURE(`redirect')dnl
FEATURE(`relay_entire_domain')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`virtuser_entire_domain')dnl
FEATURE(dnsbl,`blackholes.mail-abuse.org',
` Mail from $&{client_addr} rejected; see http://mail-abuse.org/cgi-bin/lookup?$& {client_addr}')dnl
FEATURE(dnsbl,`dialups.mail-abuse.org',
` Mail from dial-up rejected; see http://mail-abuse.org/dul/enduser.htm')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl
FEATURE(access_db)dnl
FEATURE(lookupdotdomain)dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(`no_default_msa')dnl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl |
Generar /etc/mail/sendmail.cf, escribiendo en la consola los siguientes comandos:
| Código: | sh Build sendmail.cf
cp sendmail.cf /etc/mail/sendmail.cf |
Crear archivos de configuración:
| Código: | cd /etc/mail/
touch /etc/mail/local-host-names
touch /etc/mail/virtusertable
/usr/sbin/makemap hash virtusertable < virtusertable
mkdir -p /var/spool/mqueue
chmod 700 /var/spool/mqueue
chown root:root /var/spool/mqueue
chown root:root /etc/mail/sendmail.cf
chmod 444 /etc/mail/sendmail.cf
chown root:root /etc/mail/submit.cf
chmod 444 /etc/mail/submit.cf
touch /etc/mail/aliases
newaliases
touch /etc/mail/access
/usr/sbin/makemap hash access < access |
Crear un script de inicio para sendmail (/etc/init.d/sendmail):
| Código: | #! /bin/sh
case "$1" in
start)
echo "Initializing SMTP port. (sendmail)"
/usr/sbin/sendmail -bd -q1h
;;
stop)
echo "Shutting down SMTP port:"
killall /usr/sbin/sendmail
;;
restart|reload)
$0 stop && $0 start
;;
*)
echo "Usage: $0 {start|stop|restart|reload}"
exit 1
esac
exit 0 |
| Código: | | chmod 755 /etc/init.d/sendmail |
Iniciar sendmail automáticamente al re-iniciar:
| Código: | ln -s /etc/init.d/sendmail /etc/rc2.d/S20sendmail
ln -s /etc/init.d/sendmail /etc/rc3.d/S20sendmail
ln -s /etc/init.d/sendmail /etc/rc4.d/S20sendmail
ln -s /etc/init.d/sendmail /etc/rc5.d/S20sendmail
ln -s /etc/init.d/sendmail /etc/rc0.d/K20sendmail
ln -s /etc/init.d/sendmail /etc/rc1.d/K20sendmail
ln -s /etc/init.d/sendmail /etc/rc6.d/K20sendmail |
Configurar Saslauthd
Crear /etc/init.d/saslauthd con el siguiente contenido:
| Código: | #!/bin/sh -e
NAME=saslauthd
DAEMON="/usr/sbin/${NAME}"
DESC="SASL Authentication Daemon"
DEFAULTS=/etc/default/saslauthd
test -f "${DAEMON}" || exit 0
# Source defaults file; edit that file to configure this script.
if [ -e "${DEFAULTS}" ]; then
. "${DEFAULTS}"
fi
# If we're not to start the daemon, simply exit
if [ "${START}" != "yes" ]; then
exit 0
fi
# If we have no mechanisms defined
if [ "x${MECHANISMS}" = "x" ]; then
echo "You need to configure ${DEFAULTS} with mechanisms to be used"
exit 0
fi
# Add our mechanimsms with the necessary flag
for i in ${MECHANISMS}; do
PARAMS="${PARAMS} -a ${i}"
done
# Consider our options
case "${1}" in
start)
echo -n "Starting ${DESC}: "
ln -fs /var/spool/postfix/var/run/${NAME} /var/run/${NAME}
${DAEMON} ${PARAMS}
echo "${NAME}."
;;
stop)
echo -n "Stopping ${DESC}: "
PROCS=`ps aux | grep -iw '/usr/sbin/saslauthd' | grep -v 'grep' |awk '{print $2}' | tr '\n' ' '`
if [ "x${PROCS}" != "x" ]; then
kill -15 ${PROCS} &> /dev/null
fi
echo "${NAME}."
;;
restart|force-reload)
$0 stop
sleep 1
$0 start
echo "${NAME}."
;;
*)
echo "Usage: /etc/init.d/${NAME} {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0 |
Asignar permisos con:
| Código: | | chmod 755 /etc/init.d/saslauthd |
Iniciar saslauthd automáticamente la próxima vez que se reinicie:
| Código: |
ln -s /etc/init.d/saslauthd /etc/rc2.d/S20saslauthd
ln -s /etc/init.d/saslauthd /etc/rc3.d/S20saslauthd
ln -s /etc/init.d/saslauthd /etc/rc4.d/S20saslauthd
ln -s /etc/init.d/saslauthd /etc/rc5.d/S20saslauthd
ln -s /etc/init.d/saslauthd /etc/rc0.d/K20saslauthd
ln -s /etc/init.d/saslauthd /etc/rc1.d/K20saslauthd
ln -s /etc/init.d/saslauthd /etc/rc6.d/K20saslauthd |
Crear el archivo /etc/default/saslauthd con el siguiente contenido:
| Código: | # This needs to be uncommented before saslauthd will be run automatically
START=yes
# You must specify the authentication mechanisms you wish to use.
# This defaults to "pam" for PAM support, but may also include
# "shadow" or "sasldb"
MECHANISMS=shadow |
Crear un vínculo simbólico con:
| Código: | | ln -s /usr/local/sbin/saslauthd /usr/sbin/saslauthd |
Finalemente, iniciar saslauthd y sendmail:
| Código: | /etc/init.d/saslauthd start
/etc/init.d/sendmail start |
Testar la configuración:
| Código: | | /usr/sbin/sendmail -d0.1 -bv root |
(deberían verse SASLv2 y STARTTLS entre los resultados)
Para verificar que SMTP-AUTH y TLS funcionan correctamente, ejecutar el comando:
telnet localhost 25
una vez conectado, escribir:
EHLO localhost
Si aparecen 250-STARTTLS y 250-AUTH es porque todo funciona bien. _________________ Antes de comprar hardware, verifica que el mismo soporte linux. Si no soporta linux, no lo compres.
Guindos es un sistema operativo que cualquier idiota puede utilizar. Si no eres un idiota, no necesitas Guindos.
Ultima edición por linuxero el Lun Abr 11, 2005 7:43 am, editado 6 veces |
|
| Volver arriba |
|
 |
G3r4r Forista
Registrado: 26 Nov 2003 Mensajes: 38
|
Publicado: Vie Feb 27, 2004 3:11 pm Asunto: |
|
|
Haber.... creo que empece con los problemitas...no puedo instalar el openssl y no se porque??? Este es el mensaje de error que me apraece haber si me pueden seguir ayudando por favor...
[root@caduceo openssl-0.9.7c]# make
making all in crypto...
make[1]: Cambiando a directorio `/tmp/openssl-0.9.7c/crypto'
( echo "#ifndef MK1MF_BUILD"; \
echo ' /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */'; \
echo ' #define CFLAGS "gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM"'; \
echo ' #define PLATFORM "linux-elf"'; \
echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c -o cryptlib.o cryptlib.c
make[1]: gcc: No se encontró el programa
make[1]: *** [cryptlib.o] Error 127
make[1]: Saliendo directorio `/tmp/openssl-0.9.7c/crypto'
make: *** [sub_all] Error 1
[root@caduceo openssl-0.9.7c]# |
|
| Volver arriba |
|
 |
G3r4r Forista
Registrado: 26 Nov 2003 Mensajes: 38
|
Publicado: Vie Feb 27, 2004 3:12 pm Asunto: |
|
|
Haber.... creo que empece con los problemitas...no puedo instalar el openssl y no se porque??? Este es el mensaje de error que me apraece haber si me pueden seguir ayudando por favor...
[root@caduceo openssl-0.9.7c]# make
making all in crypto...
make[1]: Cambiando a directorio `/tmp/openssl-0.9.7c/crypto'
( echo "#ifndef MK1MF_BUILD"; \
echo ' /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */'; \
echo ' #define CFLAGS "gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM"'; \
echo ' #define PLATFORM "linux-elf"'; \
echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c -o cryptlib.o cryptlib.c
make[1]: gcc: No se encontró el programa
make[1]: *** [cryptlib.o] Error 127
make[1]: Saliendo directorio `/tmp/openssl-0.9.7c/crypto'
make: *** [sub_all] Error 1
[root@caduceo openssl-0.9.7c]# |
|
| Volver arriba |
|
 |
friguare BOFH

Registrado: 05 Nov 2003 Mensajes: 4517 Ubicación: Allá Lejos...
|
Publicado: Vie Feb 27, 2004 3:24 pm Asunto: gcc |
|
|
Parece que no tienes instalado el gcc. Es asi? _________________ ... y ellas se juntan. |
|
| Volver arriba |
|
 |
G3r4r Forista
Registrado: 26 Nov 2003 Mensajes: 38
|
Publicado: Vie Feb 27, 2004 4:18 pm Asunto: |
|
|
Pues parece ser asi... pero... como lo instalo???
Perdon por preguntas tan novatas... pero... estoy en proceso de aprendizaje...
gracias |
|
| Volver arriba |
|
 |
abregd Forista
Registrado: 10 Dic 2003 Mensajes: 8 Ubicación: Huejutla de Reyes
|
Publicado: Vie Feb 27, 2004 9:11 pm Asunto: |
|
|
Cuando pongo esta instruccion:
[root@correo root]# /usr/sbin/sendmail -d0.1 -bv root
obtengo dentro de la salida las siguientes lineas en k estyo mal:
/etc/mail/sendmail.cf: line 1: unknown configuration line "sh Build sendmail.cf"
/etc/mail/sendmail.cf: line 2: unknown configuration line "cp sendmail.cf /etc/mail/sendmail.cf"
Estoy mal en algo el archivo /etc/mail/sendmail.cf contiene:
sh Build sendmail.cf
cp sendmail.cf /etc/mail/sendmail.cf
[root@correo root]# /usr/sbin/sendmail -d0.1 -bv root
Version 8.12.11
Compiled with: DNSMAP LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND========================================================
No local mailer defined
QueueDirectory (Q) option must be set _________________ xBrizza Corporation |
|
| Volver arriba |
|
 |
linuxero BOFH

Registrado: 09 Ene 2004 Mensajes: 2868 Ubicación: Cyberespacio
|
Publicado: Sab Feb 28, 2004 12:10 am Asunto: |
|
|
No tienes que poner eso adentro de sendmail.cf, sino escribir esos comandos en la consola para que genere el sendmail.cf.
He aclarado esto en las instrucciones para que no le vuelva a pasar a otro.  _________________ Antes de comprar hardware, verifica que el mismo soporte linux. Si no soporta linux, no lo compres.
Guindos es un sistema operativo que cualquier idiota puede utilizar. Si no eres un idiota, no necesitas Guindos. |
|
| Volver arriba |
|
 |
friguare BOFH

Registrado: 05 Nov 2003 Mensajes: 4517 Ubicación: Allá Lejos...
|
|
| Volver arriba |
|
 |
linuxero BOFH

Registrado: 09 Ene 2004 Mensajes: 2868 Ubicación: Cyberespacio
|
Publicado: Dom Feb 29, 2004 7:16 pm Asunto: |
|
|
La mayoría de las distribuciones incluyen en gcc en los discos de instalación. Te aconsejo que uses los paquetes provistos por tu instalación para evitar problemas de dependencias, etc.
Si usas RH o derivados, busca el gcc en el directorio RPMS y lo instalas con rpm -i gcc-version.rpm.
Si usas debian o derivados usa apt-get install gcc
Si no lo en cuentras, sigue el consejo de friguare.  _________________ Antes de comprar hardware, verifica que el mismo soporte linux. Si no soporta linux, no lo compres.
Guindos es un sistema operativo que cualquier idiota puede utilizar. Si no eres un idiota, no necesitas Guindos. |
|
| Volver arriba |
|
 |
G3r4r Forista
Registrado: 26 Nov 2003 Mensajes: 38
|
Publicado: Mar Mar 09, 2004 4:54 pm Asunto: |
|
|
Unas cuantas dudas mas acerca de la autentificacion de sendmail:
Utilice la herramienta de up2date del redhat 9 y bueno baje todas las actualizaciones que habia, ya estan instaladas, al checar las versiones aparece lo sig:
root@home root]# rpm -qa | grep sendmail
sendmail-cf-8.12.8-9.90
sendmail-8.12.8-9.90
[root@home root]# rpm -qa | grep openssl
openssl-0.9.7a-20
openssl-devel-0.9.7a-20
[root@home root]# rpm -qa | grep cyrus
cyrus-sasl-md5-2.1.10-4
cyrus-sasl-devel-2.1.10-4
cyrus-sasl-2.1.10-4
cyrus-sasl-plain-2.1.10-4
Al checar la compilacion del sendmail aparece lo siguiente:
[root@home root]# sendmail -d0.1 -bv
Version 8.12.8
Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASL SCANF STARTTLS TCPWRAPPERS
USERDB USE_LDAP_INIT
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = home
(canonical domain name) $j = home.domain.linux.mx
(subdomain name) $m = domain.linux.mx
(node name) $k = home.domain.linux.mx
========================================================
Recipient names must be specified
You have new mail in /var/spool/mail/root
Ahora, esto como lo hice a traves del up2date y no fue paso a paso como se describe anteriormente úcomo tengo que hacer la configuracion?
gracias por la ayuda... |
|
| Volver arriba |
|
 |
linuxero BOFH

Registrado: 09 Ene 2004 Mensajes: 2868 Ubicación: Cyberespacio
|
Publicado: Mar Mar 09, 2004 7:02 pm Asunto: |
|
|
En ese caso ya esta funcionando. Haz la prueba de ehlo localhost , pero tendría que estar funcionando. _________________ Antes de comprar hardware, verifica que el mismo soporte linux. Si no soporta linux, no lo compres.
Guindos es un sistema operativo que cualquier idiota puede utilizar. Si no eres un idiota, no necesitas Guindos. |
|
| Volver arriba |
|
 |
G3r4r Forista
Registrado: 26 Nov 2003 Mensajes: 38
|
Publicado: Mar Mar 09, 2004 7:27 pm Asunto: |
|
|
Mira esto es lo que sale:
[root@home root]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 home.domain.linux.mx ESMTP Sendmail 8.12.8/8.12.8; Tue, 9 Mar 2004 13:20:20
-0600
ehlo localhost
250-home.domain.linux.mx Hello domain.linux.mx [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
Asi que al parecer aun no, verdad???
Gracias |
|
| Volver arriba |
|
 |
linuxero BOFH

Registrado: 09 Ene 2004 Mensajes: 2868 Ubicación: Cyberespacio
|
Publicado: Jue Mar 11, 2004 12:06 am Asunto: |
|
|
Pues no, tienes el saslauthd corriendo ?
| Código: | | /etc/init.d/saslauthd start |
Y luego reinicia sendmail y haz la prueba de nuevo _________________ Antes de comprar hardware, verifica que el mismo soporte linux. Si no soporta linux, no lo compres.
Guindos es un sistema operativo que cualquier idiota puede utilizar. Si no eres un idiota, no necesitas Guindos. |
|
| Volver arriba |
|
 |
G3r4r Forista
Registrado: 26 Nov 2003 Mensajes: 38
|
Publicado: Jue Mar 11, 2004 2:58 pm Asunto: |
|
|
Pues al parecer tampoco, ya intente como me decias pero nada... esto es lo que aparece:
[root@home root]# /etc/init.d/saslauthd start
Iniciando saslauthd: [ OK ]
[root@home root]# service sendmail restart
Apagando sendmail: [ OK ]
Desactivación de sm-client: [ OK ]
Iniciando sendmail: [ OK ]
Inicio de sm-client: [ OK ]
[root@home root]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 home.domain.linux.mx ESMTP Sendmail 8.12.8/8.12.8; Thu, 11 Mar 2004 08:49:01 -0600
ehlo localhost
250-home.domain.linux.mx Hello domain.linux.mx [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
quit
221 2.0.0 home.domain.linux.mx closing connection
Connection closed by foreign host.
Como vez??? que sera??
Gracias por la ayuda, espero no ser tan deseperante. |
|
| Volver arriba |
|
 |
linuxero BOFH

Registrado: 09 Ene 2004 Mensajes: 2868 Ubicación: Cyberespacio
|
Publicado: Jue Mar 11, 2004 6:01 pm Asunto: |
|
|
Lee la parte "Crear los certificados para TLS" y luego la generación del sendmail.cf. Sin duda hay algo que no está hecho. Yo te aconsejaría instalar los fuentes y seguir la guía paso a paso.  _________________ Antes de comprar hardware, verifica que el mismo soporte linux. Si no soporta linux, no lo compres.
Guindos es un sistema operativo que cualquier idiota puede utilizar. Si no eres un idiota, no necesitas Guindos. |
|
| Volver arriba |
|
 |
|
|
Puede publicar nuevos temas en este foro No puede responder a temas en este foro No puede editar sus mensajes en este foro No puede borrar sus mensajes en este foro No puede votar en encuestas en este foro
|
La marca registrada Linux (R) se usa siguiendo la sublicensia obtenida del "Linux Mark Institute", el LICENCIATARIO exclusivo de Linus Torvalds, propietario de la marca en EEUU y otros países
The registered trademark Linux (R) is used pursuant to a sublicense from the Linux Mark Institute, the exclusive LICENSEE of Linus Torvalds, owner of the mark in the U.S. and other countries
Powered by phpBB © 2001, 2002 phpBB Group
Contactos -
Doraemon Games -
Horse Games -
Golf Games -
Dog Games -
Bird Games -
SpongeBob Games -
Pet Games
|